Function at 0x42df90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c4
mov eax, dword [0x8815d0]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
mov esi, dword [esp + 0x1d0]
push edi
mov dword [esp + 0x30], esi
mov eax, dword [esi + 0x58]
cmp eax, 2
jl 0x42e410
cmp dword [esi + 4], 0
jne 0x42dfe1
pop edi
pop esi
mov eax, 0xffffff76
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.00432bfc
add esp, 0x1c4
ret
mov ebx, dword [esp + 0x1dc]
test ebx, ebx
jl 0x42e410
mov edi, dword [esp + 0x1d8]
jg 0x42e001
test edi, edi
jb 0x42e410
cmp ebx, dword [esi + 0x14]
jg 0x42e410
jl 0x42e015
cmp edi, dword [esi + 0x10]
ja 0x42e410
cmp eax, 3
jl 0x42e044
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x38]
cmp ebx, dword [ecx + eax*8 + 4]
jl 0x42e03b
jg 0x42e02d
cmp edi, dword [ecx + eax*8]
jb 0x42e03b
cmp ebx, dword [ecx + eax*8 + 0xc]
jl 0x42e044
jg 0x42e03b
cmp edi, dword [ecx + eax*8 + 8]
jb 0x42e044
push esi
call fcn.0042bd60
add esp, 4
push ebp
push dword [esi + 0x5c]
lea ebp, [esi + 0x78]
mov dword [esi + 0x50], 0xffffffff
push ebp
mov dword [esi + 0x54], 0xffffffff
call fcn.004ff2a0
lea eax, [esi + 0x1e0]
push eax
call fcn.00419ed0
push ebx
push edi
push esi
call fcn.0042ce40
add esp, 0x18
test eax, eax
je 0x42e0af
push esi
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
call fcn.0042bd60
add esp, 4
mov eax, 0xffffff77
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.00432bfc
add esp, 0x1c4
ret
push dword [esi + 0x5c]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x18], ebx
call fcn.004feae0
lea eax, [esp + 0x70]
push eax
call fcn.004ff210
add esp, 0xc
jmp 0x42e0e4
mov ebx, dword [esp + 0x10]
cmp dword [esi + 0x58], 3
jl 0x42e193
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.004fedb0
add esp, 8
test eax, eax
jle 0x42e193
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x48]
shl ecx, 5
add eax, ecx
cmp dword [eax + 0x1c], 0
je 0x42e188
lea ecx, [esp + 0x48]
push ecx
push eax
call fcn.004ffc60
mov edi, eax
add esp, 8
test edi, edi
jns 0x42e13c
push 0
push ebp
call fcn.004fedb0
add esp, 8
xor edi, edi
jmp 0x42e165
cmp dword [esp + 0x1c], 0
je 0x42e157
cmp dword [esp + 0x14], 0
jne 0x42e157
push 0
push ebp
call fcn.004fedb0
add esp, 8
jmp 0x42e165
test ebx, ebx
je 0x42e165
lea eax, [edi + ebx]
sar eax, 2
add dword [esp + 0x28], eax
mov ebx, dword [esp + 0x58]
mov eax, ebx
mov ebp, dword [esp + 0x5c]
and eax, ebp
cmp eax, 0xffffffff
jne 0x42e2d7
mov ebx, edi
lea ebp, [esi + 0x78]
mov dword [esp + 0x10], ebx
jmp 0x42e0e4
push 0
push ebp
call fcn.004fedb0
add esp, 8
test ebx, ebx
jne 0x42e3e7
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x40]
push eax
push esi
call fcn.0042c460
mov ecx, edx
mov dword [esp + 0x40], eax
add esp, 0x10
mov dword [esp + 0x2c], ecx
test ecx, ecx
jl 0x42e3d4
jg 0x42e1c9
test eax, eax
jb 0x42e3d4
cmp dword [esi + 0x58], 3
jl 0x42e228
lea eax, [esp + 0x38]
push eax
call fcn.004fe730
add esp, 4
cmp dword [esi + 0x5c], eax
je 0x42e21e
lea eax, [esp + 0x38]
push eax
call fcn.004fe600
add esp, 4
test eax, eax
je 0x42e21e
lea eax, [esi + 0x1e0]
push eax
call fcn.004194b0
lea eax, [esi + 0x250]
push eax
call fcn.004193c0
lea eax, [esp + 0x70]
mov dword [esi + 0x58], 2
push eax
call fcn.004fe760
add esp, 0xc
cmp dword [esi + 0x58], 3
jge 0x42e2a7
lea eax, [esp + 0x38]
push eax
call fcn.004fe730
mov ecx, dword [esi + 0x34]
add esp, 4
xor edi, edi
mov ebx, eax
test ecx, ecx
jle 0x42e24f
mov eax, dword [esi + 0x40]
cmp dword [eax], ebx
je 0x42e24f
inc edi
add eax, 4
cmp edi, ecx
jl 0x42e243
cmp edi, ecx
je 0x42e0e0
push ebx
push ebp
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], ebx
call fcn.004ff2a0
lea eax, [esp + 0x70]
push ebx
push eax
call fcn.004ff2a0
mov eax, dword [esi + 0x3c]
add esp, 0x10
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x58], 3
cmp ecx, dword [eax + edi*8 + 4]
jg 0x42e29b
jl 0x42e291
mov ecx, dword [esp + 0x30]
cmp ecx, dword [eax + edi*8]
ja 0x42e29b
mov dword [esp + 0x14], 1
jmp 0x42e2a3
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push eax
push ebp
call fcn.004fedf0
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.004fedf0
lea eax, [esp + 0x48]
push eax
call fcn.004fe690
add esp, 0x14
mov dword [esp + 0x1c], eax
jmp 0x42e0e4
mov ecx, dword [esi + 0x60]
mov eax, ecx
mov edi, dword [esi + 0x44]
shl eax, 4
mov dword [esp + 0x2c], ecx
sub ebx, dword [eax + edi]
sbb ebp, dword [eax + edi + 4]
mov dword [esp + 0x1c], ebp
test ebp, ebp
jg 0x42e310
jl 0x42e2fb
test ebx, ebx
jae 0x42e310
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x1c], ebp
xorps xmm0, xmm0
xor edx, edx
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x20], xmm0
cmp ecx, 2
jl 0x42e375
mov esi, dword [esp + 0x18]
lea edx, [ecx - 2]
mov ebp, dword [esp + 0x14]
lea eax, [edi + 0x18]
mov edi, dword [esp + 0x24]
shr edx, 1
inc edx
lea ecx, [edx + edx]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x20]
add ebp, dword [eax - 0x10]
adc esi, dword [eax - 0xc]
add ecx, dword [eax]
adc edi, dword [eax + 4]
lea eax, [eax + 0x20]
sub edx, 1
jne 0x42e346
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x34]
cmp edx, dword [esp + 0x2c]
jl 0x42e391
jmp 0x42e39f
mov eax, dword [esp + 0x18]
test ecx, ecx
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jle 0x42e39f
mov eax, dword [esi + 0x44]
shl edx, 4
add ebx, dword [edx + eax + 8]
adc ebp, dword [edx + eax + 0xc]
mov eax, dword [esp + 0x28]
cdq
sub ecx, eax
sbb edi, edx
add ecx, dword [esp + 0x14]
adc edi, dword [esp + 0x10]
add ecx, ebx
mov dword [esi + 0x50], ecx
adc edi, ebp
mov dword [esi + 0x54], edi
test edi, edi
jg 0x42e3f5
jl 0x42e3c4
test ecx, ecx
jae 0x42e3f5
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
jmp 0x42e3f5
push 0xffffffffffffffff
push esi
call fcn.0042df10
add esp, 8
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
jmp 0x42e3f5
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
lea eax, [esp + 0x68]
push eax
call fcn.004fe760
xorps xmm0, xmm0
add esp, 4
movups xmmword [esi + 0x68], xmm0
xor eax, eax
jmp 0x42e096
mov ecx, dword [esp + 0x1cc]
mov eax, 0xffffff7d
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00432bfc
add esp, 0x1c4
ret