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

Disassembly:
sub esp, 0x1a4
push esi
mov esi, dword [esp + 0x1ac]
cmp dword [esi + 0x58], 2
jge 0x414d91
mov eax, 0xffffff7d
pop esi
add esp, 0x1a4
ret
cmp dword [esi + 4], 0
jne 0x414da4
mov eax, 0xffffff76
pop esi
add esp, 0x1a4
ret
push ebx
mov ebx, dword [esp + 0x1b8]
test ebx, ebx
push edi
jl 0x415080
mov edi, dword [esp + 0x1b8]
jg 0x414dc6
test edi, edi
jb 0x415080
cmp ebx, dword [esi + 0x14]
jg 0x415080
jl 0x414dda
cmp edi, dword [esi + 0x10]
ja 0x415080
or eax, 0xffffffff
push ebp
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x5c]
push eax
lea ebp, [esi + 0x78]
push ebp
call fcn.0042d380
lea ecx, [esi + 0x1e0]
push ecx
call fcn.004186f0
push ebx
push edi
mov eax, esi
call fcn.00413970
add esp, 0x14
test eax, eax
je 0x414e38
or eax, 0xffffffff
lea edx, [esp + 0x4c]
push edx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
call fcn.0042c940
add esp, 4
call fcn.004146f0
pop ebp
pop edi
pop ebx
mov eax, 0xffffff77
pop esi
add esp, 0x1a4
ret
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x5c]
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.0042c8d0
lea edx, [esp + 0x54]
push edx
call fcn.0042d330
add esp, 0xc
mov edi, 3
cmp dword [esi + 0x58], edi
jl 0x414f0c
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.0042d4f0
add esp, 8
test eax, eax
jle 0x414f0c
mov edx, dword [esi + 0x60]
mov eax, dword [esi + 0x48]
shl edx, 5
add eax, edx
cmp dword [eax + 0x1c], 0
je 0x414f01
lea ecx, [esp + 0x2c]
push ecx
push eax
call fcn.00417c60
mov ebx, eax
add esp, 8
test ebx, ebx
jge 0x414ebd
push 0
push ebp
call fcn.0042d4f0
add esp, 8
xor ebx, ebx
jmp 0x414ee3
cmp dword [esp + 0x18], 0
je 0x414ed1
push 0
push ebp
call fcn.0042d4f0
add esp, 8
jmp 0x414ee3
mov eax, dword [esp + 0x10]
test eax, eax
je 0x414ee3
lea edx, [ebx + eax]
sar edx, 2
add dword [esp + 0x14], edx
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov eax, edi
and eax, ecx
cmp eax, 0xffffffff
jne 0x414ffc
mov dword [esp + 0x10], ebx
jmp 0x414e61
push 0
push ebp
call fcn.0042d4f0
add esp, 8
cmp dword [esp + 0x10], 0
jne 0x415055
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
push ecx
call fcn.004139d0
add esp, 0xc
test edx, edx
jl 0x415045
jg 0x414f3a
test eax, eax
jb 0x415045
cmp dword [esi + 0x58], edi
jl 0x414f79
lea edx, [esp + 0x1c]
push edx
call fcn.0042c8a0
add esp, 4
cmp dword [esi + 0x5c], eax
je 0x414f74
lea eax, [esp + 0x1c]
push eax
call fcn.0042c7f0
add esp, 4
test eax, eax
je 0x414f74
call fcn.004146f0
lea ecx, [esp + 0x4c]
push ecx
call fcn.0042c940
add esp, 4
cmp dword [esi + 0x58], edi
jge 0x414fcc
lea edx, [esp + 0x1c]
push edx
call fcn.0042c8a0
mov edx, dword [esi + 0x34]
mov edi, eax
add esp, 4
xor eax, eax
test edx, edx
jle 0x414fa2
mov ecx, dword [esi + 0x40]
cmp dword [ecx], edi
je 0x414fa2
add eax, 1
add ecx, 4
cmp eax, edx
jl 0x414f94
cmp eax, edx
je 0x414e61
push edi
push ebp
mov dword [esi + 0x60], eax
mov dword [esi + 0x5c], edi
call fcn.0042d380
lea eax, [esp + 0x54]
push edi
push eax
call fcn.0042d380
add esp, 0x10
mov dword [esi + 0x58], 3
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.0042d020
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x58]
push eax
call fcn.0042d020
lea ecx, [esp + 0x2c]
push ecx
call fcn.0042c800
add esp, 0x14
mov dword [esp + 0x18], eax
jmp 0x414e61
mov ebx, dword [esi + 0x60]
mov edx, dword [esi + 0x44]
mov eax, ebx
shl eax, 4
sub edi, dword [eax + edx]
sbb ecx, dword [eax + edx + 4]
test ecx, ecx
jg 0x41501c
jl 0x415018
test edi, edi
jae 0x41501c
xor edi, edi
xor ecx, ecx
test ebx, ebx
jle 0x415034
lea eax, [edx + 8]
mov edx, dword [eax]
add edi, edx
mov edx, dword [eax + 4]
adc ecx, edx
add eax, 0x10
sub ebx, 1
jne 0x415023
mov eax, dword [esp + 0x14]
cdq
sub edi, eax
sbb ecx, edx
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], ecx
jmp 0x41505e
push 0xffffffffffffffff
push esi
call fcn.00414c80
add esp, 8
mov dword [esi + 0x54], edx
jmp 0x41505b
or eax, 0xffffffff
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], eax
lea eax, [esp + 0x4c]
push eax
call fcn.0042c940
fldz
add esp, 4
fst qword [esi + 0x68]
pop ebp
fstp qword [esi + 0x70]
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0x1a4
ret
pop edi
pop ebx
mov eax, 0xffffff7d
pop esi
add esp, 0x1a4
ret