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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x412b72
sub esp, 0x70
mov eax, dword [0x5c264c]
test eax, eax
jne 0x41288d
nop
mov eax, dword [esp + 0x74]
test eax, eax
je 0x412b5a
movzx ecx, byte [eax + 0xf]
and ecx, 0x1f
cmp cl, 0x16
jne 0x412afc
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x412ae4
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0040e630
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4125ea
mov eax, dword [esp + 0x78]
lea ecx, [0x5c2474]
cmp ecx, eax
je 0x4125e6
lea ecx, [0x5a35e0]
jmp 0x412595
mov ecx, dword [ecx + 0xe0]
mov eax, edx
test ecx, ecx
je 0x412acc
mov edx, eax
cmp dword [ecx + 0x38], eax
ja 0x4125a9
cmp dword [ecx + 0x3c], eax
ja 0x4125d6
cmp dword [ecx + 0x40], eax
ja 0x4125e2
cmp dword [ecx + 0x44], eax
seta bl
test bl, bl
jne 0x4125d6
cmp dword [ecx + 0x48], eax
ja 0x4125de
cmp dword [ecx + 0x4c], eax
seta bl
test bl, bl
jne 0x4125d6
cmp dword [ecx + 0x50], eax
ja 0x4125da
cmp dword [ecx + 0x54], eax
seta al
test al, al
je 0x41258d
add esp, 0x70
ret
xor eax, eax
jmp 0x4125d2
xor ebx, ebx
jmp 0x4125c3
xor ebx, ebx
jmp 0x4125b4
add esp, 0x70
ret
mov ecx, dword [esp + 0x78]
mov edx, ecx
cmp ecx, eax
je 0x412884
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x412ab4
movzx ebx, byte [ecx + 0xf]
test bl, 0x80
je 0x412ab4
cmp dword [ecx], 0x10
jae 0x412ab4
nop
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x412852
movzx ebx, byte [ecx + 0xf]
and ebx, 0x1f
cmp bl, 0x13
jne 0x412a56
mov dword [esp + 0x48], ecx
nop
movzx ebx, word [ecx + 0x22]
test bx, 0x8000
jne 0x4129ba
movzx ebx, word [ecx + 0x20]
cmp bx, 1
jne 0x412930
nop
movzx ebp, byte [ecx + 0xc]
xchg ebp, eax
test al, 1
xchg ebp, eax
je 0x412848
mov ebp, 0x34
nop
movzx ebx, bx
test ebx, ebx
jl 0x412929
cmp ebx, 0x100000
ja 0x412929
test ebx, ebx
jbe 0x412922
mov ebx, dword [ebp + ecx]
mov dword [esp + 0x44], ebx
cmp ebx, eax
jne 0x412798
nop
movzx edx, byte [ecx + 0xc]
test dl, 1
je 0x41278e
mov edx, 0x34
movzx ebp, word [ecx + 0x22]
and ebp, 0x7fff
nop
movzx esi, word [ecx + 0x20]
add ebp, esi
movzx ebp, bp
add ecx, edx
test ebp, ebp
jl 0x412891
movzx edx, si
cmp edx, ebp
ja 0x412891
cmp ebp, 0x100000
ja 0x412891
sub ebp, edx
lea esi, [edx - 0x100000]
xchg esi, ebx
neg ebx
xchg esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
shl edx, 2
sar esi, 0x1f
and edx, esi
add ecx, edx
xor edx, edx
xor esi, esi
jmp 0x41272d
mov edi, dword [ecx + edx*4]
mov dword [esp + 0x3c], edi
inc edx
nop
movzx edi, byte [edi + 0xd]
lea esi, [esi + edi - 1]
dec edi
xchg edi, ebx
not ebx
xchg edi, ebx
and esi, edi
mov edi, dword [esp + 0x3c]
add esi, dword [edi]
cmp edx, ebp
jl 0x41270d
mov dword [esp + 0x34], esi
nop
call fcn.004120b0
lea edi, [esp + 0x58]
xor eax, eax
call fcn.0044aaba
lea eax, [0x4468e0]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x34]
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x58]
mov dword [esp], eax
call fcn.00449150
add esp, 0x70
ret
mov edx, 0x24
jmp 0x4126b4
movzx ebp, byte [ebx + 0xf]
and ebp, 0x1f
xchg ebp, eax
cmp al, 0x16
xchg ebp, eax
je 0x4127f4
xchg ebp, eax
cmp al, 0x14
xchg ebp, eax
jne 0x412898
mov ebp, dword [ebx + 0x28]
test ebp, ebp
je 0x4126a1
mov eax, dword [esp + 0x74]
nop
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00407760
movzx eax, byte [esp + 0x14]
test al, al
je 0x4127eb
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
jmp 0x4126a1
mov eax, dword [esp + 0x4c]
jmp 0x412898
mov dword [esp], ebx
call fcn.00443910
mov eax, dword [esp + 4]
test eax, eax
jne 0x41282e
mov eax, 1
test al, al
je 0x412828
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x44]
cmp dword [edx + 0x20], ecx
jne 0x412898
mov ecx, dword [esp + 0x48]
mov ebx, edx
jmp 0x4126a1
mov eax, dword [esp + 0x4c]
jmp 0x412898
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00443910
mov eax, dword [esp + 4]
test eax, eax
setne al
xor eax, 1
jmp 0x412809
mov ebp, 0x24
jmp 0x412671
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [0x4468b0]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
mov dword [esp], eax
call fcn.00449150
add esp, 0x70
ret
mov eax, dword [esp + 0x4c]
jmp 0x41261d
add esp, 0x70
ret
call fcn.004254a0
ud2
mov dword [esp], eax
call fcn.00443880
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x48]
mov dword [esp], edx
call fcn.00443880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], 0
lea edx, [0x4f5b3e]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], edx
lea edx, [0x4f03fe]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
call fcn.0043a120
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004266a0
ud2
call fcn.004253a0
ud2
call fcn.004254a0
ud2
mov dword [esp], eax
call fcn.00443880
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x48]
mov dword [esp], edx
call fcn.00443880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], 0
lea edx, [0x4f5b3e]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], edx
lea edx, [0x4f03fe]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
call fcn.0043a120
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004266a0
ud2
mov dword [esp], eax
call fcn.00443880
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x48]
mov dword [esp], edx
call fcn.00443880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], 0
lea edx, [0x4f5b3e]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], edx
lea edx, [0x4f03fe]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
lea eax, [0x4f124d]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x12
call fcn.0043a180
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004266a0
ud2
mov dword [esp], ecx
call fcn.00443880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], 0
lea edx, [0x4f6a92]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x29
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
lea eax, [0x4f0ae5]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x10
call fcn.0043a0c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004266a0
ud2
lea eax, [0x4f7f6c]
mov dword [esp], eax
mov dword [esp + 4], 0x41
call fcn.004266a0
ud2
lea eax, [0x4f78ba]
mov dword [esp], eax
mov dword [esp + 4], 0x34
call fcn.004266a0
ud2
lea eax, [0x4f0690]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.004266a0
ud2
mov dword [esp], eax
call fcn.00443880
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4f68d2]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x28
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x4f0161]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xd
call fcn.0043a0c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004266a0
ud2
lea eax, [0x4f6ed8]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.004266a0
ud2
call fcn.00449270
jmp fcn.00412500