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

Disassembly:
push ebp
mov ebp, eax
push edi
push esi
push ebx
lea esi, [eax + 0x78]
sub esp, 0x6c
mov edi, esi
mov eax, dword [ebp + 0x58]
mov dword [esp + 0x20], edx
lea ebx, [esp + 0x30]
cmp eax, 4
je 0x419c9d
cmp eax, 1
jle 0x419bfc
lea esi, [esp + 0x50]
mov eax, ebp
mov edx, esi
mov dword [esp], 0xffffffff
mov dword [esp + 4], 0xffffffff
call fcn.004192e0
test edx, edx
js 0x419ef8
mov eax, dword [esp + 0x54]
shl eax, 3
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fadd qword [ebp + 0x68]
mov eax, dword [ebp + 0x58]
cmp eax, 4
fstp qword [ebp + 0x68]
je 0x419e30
cmp eax, 2
jg 0x419c76
mov eax, dword [ebp + 4]
test eax, eax
je 0x419c50
lea esi, [esp + 0x50]
mov dword [esp], esi
call fcn.0041d3d0
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x5c], eax
cmp ecx, 0
jle 0x419e03
mov esi, dword [ebp + 0x40]
xor edx, edx
cmp eax, dword [esi]
jne 0x419c3a
jmp 0x419e10
cmp eax, dword [esi + edx*4]
je 0x419e10
inc edx
cmp edx, ecx
jne 0x419c31
mov eax, 0xffffff77
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp + 0x5c]
mov ecx, dword [ebp + 0x4c]
mov edx, dword [ebp + 0x48]
lea esi, [esp + 0x50]
mov dword [esp], eax
mov eax, ebp
mov dword [esp + 4], esi
call fcn.004194a0
test eax, eax
jne 0x419c44
mov eax, dword [ebp + 0x60]
inc eax
mov dword [ebp + 0x60], eax
mov eax, ebp
call fcn.00419b00
test eax, eax
js 0x419c44
lea esi, [esp + 0x50]
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.0041e070
mov eax, dword [ebp + 0x58]
cmp eax, 4
jne 0x419bb2
lea esi, [ebp + 0x250]
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.0041e6a0
cmp eax, 0xffffffff
je 0x419ee0
test eax, eax
jle 0x419ef0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.00421c50
test eax, eax
jne 0x419ca3
mov edi, esi
lea esi, [ebp + 0x1e0]
mov dword [esp + 4], 0
mov dword [esp], esi
call fcn.00420230
mov edx, eax
mov eax, 0xffffff7f
test edx, edx
jne 0x419c44
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0041fa30
fld qword [ebp + 0x70]
mov dword [esp + 4], 0
mov dword [esp], esi
fstp qword [esp + 0x20]
call fcn.00420230
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
fild dword [esp + 0x2c]
fadd qword [esp + 0x20]
mov edi, dword [esp + 0x1c]
shl eax, 3
and edx, edi
inc edx
fstp qword [ebp + 0x70]
mov dword [esp + 0x2c], eax
mov eax, 1
fild dword [esp + 0x2c]
fadd qword [ebp + 0x68]
fstp qword [ebp + 0x68]
je 0x419c44
mov ebx, dword [esp + 0x3c]
test ebx, ebx
jne 0x419c44
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x419e86
mov edi, dword [ebp + 0x60]
test edi, edi
jle 0x419e86
mov eax, edi
mov edx, dword [ebp + 0x44]
shl eax, 4
mov ecx, dword [esp + 0x1c]
add eax, edx
mov edx, dword [esp + 0x18]
sub edx, dword [eax]
sbb ecx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x1c]
mov dword [esp], esi
mov ebx, ecx
mov ecx, dword [esp + 0x18]
sar ebx, 0x1f
mov edx, ebx
mov ebx, dword [esp + 0x1c]
xor edx, 0xffffffff
sar edx, 0x1f
mov eax, edx
and ebx, edx
and ecx, eax
mov dword [esp + 0x14], ecx
call fcn.00420230
mov ecx, dword [esp + 0x14]
mov edx, eax
sar edx, 0x1f
sub ecx, eax
sbb ebx, edx
mov edx, dword [ebp + 0x44]
xor eax, eax
lea esi, [esi]
add ecx, dword [edx + 8]
adc ebx, dword [edx + 0xc]
inc eax
add edx, 0x10
cmp eax, edi
jne 0x419df0
jmp 0x419ec6
je 0x419c3f
xor edx, edx
nop
lea esi, [esi]
mov dword [ebp + 0x60], edx
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.0041e610
mov dword [ebp + 0x58], 3
jmp 0x419c76
mov ecx, dword [ebp + 0x5c]
mov dword [esp], esi
mov dword [esp + 0x18], ecx
call fcn.0041d3d0
cmp dword [esp + 0x18], eax
je 0x419e75
mov eax, dword [esp + 0x20]
test eax, eax
je 0x419ef8
mov eax, ebp
call fcn.00419470
mov eax, dword [ebp + 4]
test eax, eax
jne 0x419e75
mov eax, dword [ebp + 0x48]
mov dword [esp], eax
call fcn.00420bd0
mov eax, dword [ebp + 0x4c]
mov dword [esp], eax
call fcn.00420ab0
mov eax, dword [ebp + 0x58]
cmp eax, 4
je 0x419c85
jmp 0x419bfc
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], 0
mov ebx, ecx
mov ecx, dword [esp + 0x18]
sar ebx, 0x1f
mov dword [esp], esi
mov edx, ebx
mov ebx, dword [esp + 0x1c]
xor edx, 0xffffffff
sar edx, 0x1f
mov eax, edx
and ebx, edx
and ecx, eax
mov dword [esp + 0x14], ecx
call fcn.00420230
mov ecx, dword [esp + 0x14]
mov edx, eax
sar edx, 0x1f
sub ecx, eax
sbb ebx, edx
mov dword [ebp + 0x50], ecx
mov dword [ebp + 0x54], ebx
add esp, 0x6c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x6c
mov eax, 0xfffffffd
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x58]
jmp 0x419bb2
mov eax, 0xfffffffe
jmp 0x419c44