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

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
or ebx, 0xffffffff
mov dword [0x6630f0], ebp
mov dword [0x6630f4], ebp
mov dword [0x6630f8], ebp
mov dword [0x6630fc], ebp
mov eax, dword [esi + 4]
push edi
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x8c]
fld dword [edx + 0xa8]
fadd dword [esi + 0x174]
mov dword [esi + 0x18c], ebx
fstp dword [esi + 0x174]
cmp byte [eax + 0x48], 2
jbe 0x412c7c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
mov ecx, esi
call fcn.00419190
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x1e0]
and eax, 0xff
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x412df4
push eax
mov ecx, esi
call fcn.00419790
mov edi, eax
cmp edi, ebp
jne 0x412ce2
mov eax, dword [esi + 0x30]
mov dword [esi + 0x34], ebx
cmp eax, 0x258
jne 0x412df4
mov ecx, esi
call fcn.00416d20
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x54]
mov eax, dword [esi + 0x13c]
mov dword [esi + 0x134], eax
jmp 0x412df4
mov ecx, dword [esi + 4]
cmp byte [ecx + 0x48], 2
jne 0x412dae
cmp byte [edi + 0x48], 2
jbe 0x412dae
cmp byte [edi + 0x4e], 0x50
je 0x412dae
mov eax, dword [esi + 0x30]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x2c]
cmp eax, 1
jne 0x412dae
mov eax, dword [esi + 0x30]
mov byte [esi + 0x168], 0
cmp eax, 0x258
jne 0x412d9e
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0xd8]
cmp eax, 5
jne 0x412d90
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ebp
push 1
mov eax, dword [ecx]
mov dword [esp + 0x18], edx
call dword [eax + 0x128]
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0x3c]
push ecx
mov ecx, dword [esi + 0x44]
fstp dword [esp]
push ecx
push edx
mov edx, dword [esp + 0x24]
push eax
mov ecx, esi
call dword [edx + 0x8c]
test eax, eax
jne 0x412d80
mov ecx, esi
call fcn.00416d20
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x54]
xor ebp, ebp
jmp 0x412dae
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x2c], ebx
xor ebp, ebp
jmp 0x412dae
mov edx, dword [esi + 0x28]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x50], edx
mov dword [esi + 0x2c], ebx
jmp 0x412dae
mov ecx, esi
call fcn.00416d20
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x54]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0xc]
call fcn.004ab260
cmp eax, 1
jne 0x412df4
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x412df4
cmp eax, 0x64
jge 0x412df4
cmp dword [esi + 0x28], 0x262
jne 0x412df4
mov ecx, dword [esi + 4]
push edi
call fcn.0052bc30
fdivr dword [0x61c998]
call fcn.005faa4c
cmp eax, 0x63
jle 0x412df1
mov eax, 0x63
mov dword [esi + 0x2c], eax
cmp dword [esi + 0xa0], ebp
jne 0x412e1c
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
call dword [edx + 0x104]
test al, al
je 0x412e1c
mov ecx, dword [esi + 4]
push ebp
mov eax, dword [ecx]
call dword [eax + 0x108]
jmp 0x412fdf
mov eax, dword [esi + 0xa0]
mov dword [esp + 0x10], ebp
cmp eax, ebp
jle 0x412fdf
mov ebx, 1
mov eax, dword [esi + 0xa8]
lea ecx, [eax - 1]
cmp ebp, ecx
jle 0x412eab
cmp ebx, eax
jl 0x412e4b
lea ebp, [eax + 0x20]
cmp ebp, ebx
jg 0x412e4d
mov ebp, ebx
lea edx, [ebp*4]
push edx
call fcn.005faa3d
mov edi, eax
add esp, 4
test edi, edi
je 0x412ea7
mov ecx, dword [esi + 0xa8]
xor eax, eax
test ecx, ecx
jle 0x412e8c
cmp eax, ebp
jge 0x412e8c
mov ecx, dword [esi + 0x9c]
inc eax
mov edx, dword [ecx + eax*4 - 4]
mov dword [edi + eax*4 - 4], edx
mov ecx, dword [esi + 0xa8]
cmp eax, ecx
jl 0x412e6f
mov eax, dword [esi + 0x9c]
push eax
call fcn.005faa32
add esp, 4
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa8], ebp
mov ebp, dword [esp + 0x10]
mov ecx, dword [esi + 0x9c]
mov edx, dword [ecx + ebp*4]
mov ecx, esi
push edx
call fcn.00419790
mov edi, eax
test edi, edi
je 0x412f02
mov ecx, edi
call fcn.0052c570
test eax, eax
je 0x412f02
cmp byte [edi + 0x48], 2
ja 0x412f02
mov ecx, edi
call fcn.0052c570
mov ecx, eax
call fcn.00412bf0
mov ecx, dword [esi + 4]
cmp eax, dword [ecx + 4]
jne 0x412f02
mov eax, dword [esi + 0xa0]
inc ebp
inc ebx
cmp ebp, eax
mov dword [esp + 0x10], ebp
jl 0x412e33
jmp 0x412fdf
mov ecx, dword [esi + 0xa8]
lea edx, [ecx - 1]
cmp ebp, edx
jle 0x412f79
lea eax, [ebp + 1]
cmp eax, ecx
jl 0x412f1d
lea ebp, [ecx + 0x20]
cmp ebp, eax
jg 0x412f1f
mov ebp, eax
lea eax, [ebp*4]
push eax
call fcn.005faa3d
mov edi, eax
add esp, 4
test edi, edi
je 0x412f79
mov ecx, dword [esi + 0xa8]
xor eax, eax
test ecx, ecx
jle 0x412f5e
cmp eax, ebp
jge 0x412f5e
mov ecx, dword [esi + 0x9c]
inc eax
mov edx, dword [ecx + eax*4 - 4]
mov dword [edi + eax*4 - 4], edx
mov ecx, dword [esi + 0xa8]
cmp eax, ecx
jl 0x412f41
mov eax, dword [esi + 0x9c]
push eax
call fcn.005faa32
add esp, 4
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa8], ebp
mov ecx, dword [esi + 0x9c]
mov edx, dword [esp + 0x10]
xor eax, eax
mov edi, dword [ecx + edx*4]
mov ecx, dword [esi + 0xa8]
test ecx, ecx
jle 0x412fa4
mov edx, dword [esi + 0x9c]
cmp dword [edx], edi
je 0x412fa4
inc eax
add edx, 4
cmp eax, ecx
jl 0x412f98
cmp eax, ecx
jge 0x412fdf
dec ecx
cmp eax, ecx
jge 0x412fc6
mov ecx, dword [esi + 0x9c]
inc eax
mov edx, dword [ecx + eax*4]
mov dword [ecx + eax*4 - 4], edx
mov ecx, dword [esi + 0xa8]
dec ecx
cmp eax, ecx
jl 0x412fad
mov eax, dword [esi + 0xa0]
dec eax
mov dword [esi + 0xa0], eax
jns 0x412fdf
mov dword [esi + 0xa0], 0
mov eax, dword [esi + 4]
or edi, 0xffffffff
mov edx, dword [eax + 0x38]
mov dword [esi + 0x14c], edx
mov ecx, dword [eax + 0x3c]
mov dword [esi + 0x150], ecx
mov edx, dword [eax + 0x40]
mov dword [esi + 0x154], edx
mov ecx, dword [eax + 0x78]
xor edx, edx
cmp ecx, edi
mov dword [esp + 0x10], edx
je 0x413022
mov eax, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 0x8c]
call fcn.005ec820
mov edx, eax
mov dword [esp + 0x10], edx
cmp dword [esi + 0x28], edi
jne 0x41303c
test edx, edx
je 0x413051
cmp dword [edx + 0x33c], edi
jne 0x41303c
cmp dword [edx + 0xf4], 1
jne 0x413051
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x38]
mov dword [esi + 0x16c], ecx
mov edx, dword [eax + 0x3c]
mov dword [esi + 0x170], edx
mov edi, dword [esp + 0x1c]
mov ebx, dword [esi + 0x134]
mov edx, dword [esi + 0x140]
mov ecx, dword [esi + 0x144]
mov eax, dword [esi + 0x1c]
add ebx, edi
add edx, edi
add ecx, edi
test eax, eax
mov dword [esi + 0x134], ebx
mov dword [esi + 0x140], edx
mov dword [esi + 0x144], ecx
mov ebp, 2
mov dword [esp + 0x1c], 0
jle 0x4130ca
xor ebx, ebx
mov ecx, dword [esi + 0x24]
mov eax, dword [esi]
add ecx, ebx
push edi
push ecx
mov ecx, esi
call dword [eax + 0xd4]
mov ebp, eax
cmp ebp, 4
je 0x4130fe
cmp ebp, 3
je 0x4130ca
cmp ebp, 0xd
je 0x4130ca
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x1c]
inc eax
add ebx, 0x18
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x413095
push edi
mov ecx, esi
call fcn.00419700
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne case.0x4130ef.601
mov eax, dword [esi + 0x30]
add eax, 0xfffffda8
cmp eax, 0x14
ja case.0x4130ef.601
xor edx, edx
mov dl, byte [eax + 0x4132b0]
jmp dword [edx*4 + 0x4132a8]
or edi, 0xffffffff
mov dword [esi + 0x30], edi
jmp 0x413115
push edi
mov ecx, esi
call fcn.00419700
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
or edi, 0xffffffff
mov eax, dword [esi + 0x28]
cmp eax, edi
je case.0x413132.618
test ebx, ebx
jne case.0x413132.618
add eax, 0xfffffd97
cmp eax, 0x67
ja case.0x413132.618
xor ecx, ecx
mov cl, byte [eax + 0x4132d0]
jmp dword [ecx*4 + 0x4132c8]
mov ecx, esi
call fcn.00416d20
mov dword [esi + 0x28], edi
mov edx, dword [esi + 4]
cmp byte [edx + 0x48], 2
jbe 0x413158
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
cmp dword [esi + 0x30], edi
jne 0x413192
cmp ebp, 0xd
je 0x413192
test ebx, ebx
jne 0x413192
mov eax, dword [esi + 0x10]
xor edi, edi
test eax, eax
jle 0x413192
xor ebp, ebp
mov ecx, dword [esi + 0x18]
mov eax, dword [esi]
add ecx, ebp
push edi
push ecx
mov ecx, esi
call dword [eax + 0xd0]
cmp eax, 1
je 0x413192
mov eax, dword [esi + 0x10]
inc edi
add ebp, 0x24
cmp edi, eax
jl 0x413171
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xdc]
cmp ebx, 1
jne 0x4131ae
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
cmp word [ecx + 0x16], 0x14
je 0x4131ff
mov edx, dword [esi + 0x134]
mov eax, dword [esi + 0x138]
cmp edx, eax
jbe 0x4131ff
mov ecx, dword [esi + 0x30]
or eax, 0xffffffff
cmp ecx, eax
jne 0x4131ff
cmp dword [esi + 0x34], eax
je 0x4131dd
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0x9c]
test eax, eax
jne 0x4131ff
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4131f3
push 0
mov ecx, edi
call fcn.0046ea30
cmp eax, 1
jne 0x413203
mov dword [esi + 0x134], 0
jmp 0x413266
mov edi, dword [esp + 0x10]
cmp dword [esi + 0x30], 0x263
je 0x413250
cmp dword [esi + 0x28], 0x2c7
je 0x413250
test edi, edi
je 0x413225
mov ecx, edi
call fcn.0046eab0
cmp eax, 1
je 0x413250
mov ecx, dword [esi + 0x30]
or eax, 0xffffffff
cmp ecx, eax
jne 0x413234
cmp dword [esi + 0x34], eax
je 0x413272
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0x9c]
test eax, eax
jle 0x413272
mov dword [esi + 0x134], 0
jmp 0x413272
cmp dword [esi + 0x140], 0x7d0
jbe 0x413272
mov dword [esi + 0x140], 0
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0xd8]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
call fcn.004ab260
cmp eax, 1
jne 0x413299
mov ecx, dword [esi + 0x144]
mov eax, dword [esi + 0x148]
cmp ecx, eax
jbe 0x413299
mov ecx, esi
call fcn.00416ee0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4