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

Disassembly:
push 0xffffffffffffffff
push 0x428732
mov eax, dword fs:[0]
push eax
sub esp, 0x370
mov eax, dword [0x42f0f4]
xor eax, esp
mov dword [esp + 0x36c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42f0f4]
xor eax, esp
push eax
lea eax, [esp + 0x384]
mov dword fs:[0], eax
mov eax, dword [esp + 0x398]
mov ecx, dword [esp + 0x39c]
mov edx, dword [esp + 0x3a0]
mov esi, dword [esp + 0x394]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], edx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
xor ebx, ebx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x38c], ebx
jne 0x4124d8
cmp dword [esp + 0x3bc], 0x10
jb 0x4124d1
mov eax, dword [esp + 0x3a8]
push eax
call fcn.0041a65d
add esp, 4
xor al, al
jmp 0x412cc9
cmp eax, ebx
ja 0x4124e1
call fcn.0041a7c5
mov esi, dword [esi + 0xc]
push 0xffffffffffffffff
push ebx
mov ebp, 0xf
push esi
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.00403a60
mov eax, dword [esp + 0x78]
mov edi, 0x10
mov byte [esp + 0x38c], 1
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x8c], edi
jae 0x412530
lea eax, [esp + 0x78]
lea ecx, [esp + 0x18]
push ecx
push 0xf003f
push ebx
push eax
push 0x80000002
call dword [0x429010]
cmp eax, ebx
je 0x41257f
cmp dword [esp + 0x8c], edi
jb 0x412561
mov edx, dword [esp + 0x78]
push edx
call fcn.0041a65d
add esp, 4
cmp dword [esp + 0x3bc], edi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
jmp 0x4124bf
push ebx
mov esi, 0xf
push 0x4292e8
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.00403d50
push ebx
push 0x4292e8
lea ecx, [esp + 0xb4]
mov byte [esp + 0x394], 2
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
call fcn.00403d50
push ebx
push 0x4292e8
lea ecx, [esp + 0xec]
mov byte [esp + 0x394], 3
mov dword [esp + 0x104], esi
mov dword [esp + 0x100], ebx
mov byte [esp + 0xf0], bl
call fcn.00403d50
push ebx
push 0x4292e8
lea ecx, [esp + 0xd0]
mov byte [esp + 0x394], 4
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
call fcn.00403d50
push ebx
push 0x4292e8
lea ecx, [esp + 0x98]
mov byte [esp + 0x394], 5
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
call fcn.00403d50
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x184]
push edx
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x24]
push ebx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x114]
push edx
push ebx
mov esi, 0x200
push eax
mov byte [esp + 0x3ac], 6
xor ebp, ebp
mov dword [esp + 0x40], 0x80
mov dword [esp + 0x60], ebx
mov dword [esp + 0x3c], esi
call dword [0x42901c]
test eax, eax
jne 0x412a1c
cmp dword [esp + 0x40], 1
jne 0x4129db
lea eax, [esp + 0x100]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4126d3
sub eax, edx
push eax
lea ecx, [esp + 0x104]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00403d50
mov edx, dword [esp + 0x38]
push 0xa
push 0x429940
push edx
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x39c], 7
call fcn.00402da0
test eax, eax
sete byte [esp + 0x17]
mov byte [esp + 0x38c], 6
cmp dword [esp + 0x3c], edi
jb 0x41272e
mov eax, dword [esp + 0x28]
push eax
call fcn.0041a65d
add esp, 4
cmp byte [esp + 0x17], bl
je 0x4127bf
lea eax, [esp + 0x180]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x412742
sub eax, edx
push eax
lea ecx, [esp + 0x184]
push ecx
lea ecx, [esp + 0x60]
call fcn.00403d50
mov eax, dword [esp + 0x6c]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x412771
call fcn.0041a7c5
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x5c]
cmp dword [esp + 0x70], edi
jae 0x41277f
lea ecx, [esp + 0x5c]
cmp byte [esi + ecx], 0x5c
je 0x4129d6
lea esi, [eax - 1]
cmp esi, eax
jbe 0x412795
call fcn.0041a7c5
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], edi
jae 0x4127a3
lea eax, [esp + 0x5c]
cmp byte [esi + eax], 0x2f
je 0x4129d6
push 0x5c
push 1
lea ecx, [esp + 0x60]
call fcn.004039b0
jmp 0x4129d6
mov esi, 0xf
lea eax, [esp + 0x100]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4127e0
sub eax, edx
push eax
lea edx, [esp + 0x104]
push edx
lea ecx, [esp + 0x2c]
call fcn.00403d50
mov eax, dword [esp + 0x38]
push 7
push 0x429b14
push eax
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x39c], 8
call fcn.00402da0
test eax, eax
sete byte [esp + 0x17]
mov byte [esp + 0x38c], 6
cmp dword [esp + 0x3c], edi
jb 0x41283b
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0041a65d
add esp, 4
cmp byte [esp + 0x17], bl
je 0x412873
lea eax, [esp + 0x180]
lea edx, [eax + 1]
jmp 0x412850
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x412850
sub eax, edx
push eax
lea edx, [esp + 0x184]
push edx
lea ecx, [esp + 0x98]
call fcn.00403d50
jmp 0x4129d6
lea eax, [esp + 0x100]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x412890
sub eax, edx
push eax
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x2c]
call fcn.00403d50
mov ecx, dword [esp + 0x38]
push 8
push 0x429b08
push ecx
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x39c], 9
call fcn.00402da0
test eax, eax
sete byte [esp + 0x17]
mov byte [esp + 0x38c], 6
cmp dword [esp + 0x3c], edi
jb 0x4128eb
mov edx, dword [esp + 0x28]
push edx
call fcn.0041a65d
add esp, 4
cmp byte [esp + 0x17], bl
je 0x412923
lea eax, [esp + 0x180]
lea edx, [eax + 1]
jmp 0x412900
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x412900
sub eax, edx
push eax
lea eax, [esp + 0x184]
push eax
lea ecx, [esp + 0xb4]
call fcn.00403d50
jmp 0x4129d6
lea ecx, [esp + 0x100]
push ecx
lea ecx, [esp + 0x28]
call fcn.00404670
push 0x429b00
push eax
mov byte [esp + 0x394], 0xa
call fcn.004032a0
add esp, 8
mov byte [esp + 0x17], al
mov byte [esp + 0x38c], 6
cmp dword [esp + 0x3c], edi
jb 0x412969
mov edx, dword [esp + 0x28]
push edx
call fcn.0041a65d
add esp, 4
cmp byte [esp + 0x17], bl
je 0x412980
lea eax, [esp + 0x180]
push eax
lea ecx, [esp + 0xe8]
jmp 0x4129d1
lea ecx, [esp + 0x100]
push ecx
lea ecx, [esp + 0x28]
call fcn.00404670
push 0x429af8
push eax
mov byte [esp + 0x394], 0xb
call fcn.004032a0
add esp, 8
lea ecx, [esp + 0x24]
mov byte [esp + 0x17], al
mov byte [esp + 0x38c], 6
call fcn.00403510
cmp byte [esp + 0x17], bl
je 0x4129d6
lea edx, [esp + 0x180]
push edx
lea ecx, [esp + 0xcc]
call fcn.004046d0
mov esi, 0x200
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x184]
push ecx
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x24]
push ebx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x114]
push ecx
inc ebp
push ebp
push edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0x80
call dword [0x42901c]
test eax, eax
je 0x4126ae
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], edi
jb 0x412a2d
mov eax, dword [eax + 4]
jmp 0x412a30
add eax, 4
mov esi, dword [0x429024]
inc ecx
push ecx
push eax
mov eax, dword [esp + 0x20]
push 1
push ebx
push 0x429b00
push eax
call esi
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + 0x14]
cmp dword [ecx + 0x18], edi
jb 0x412a59
mov ecx, dword [ecx + 4]
jmp 0x412a5c
add ecx, 4
inc eax
push eax
push ecx
mov ecx, dword [esp + 0x20]
push 1
push ebx
push 0x429af8
push ecx
call esi
mov ebp, dword [esp + 0x44]
mov edx, dword [ebp + 0x14]
push ebx
push 0x4292e8
push edx
push ebx
mov ecx, ebp
call fcn.00402da0
test eax, eax
je 0x412af3
lea eax, [esp + 0x3a4]
push 0x4292e8
push eax
call fcn.004032e0
add esp, 8
test al, al
je 0x412af3
mov ecx, dword [ebp + 0x14]
cmp dword [ebp + 0x18], edi
jb 0x412aae
mov eax, dword [ebp + 4]
jmp 0x412ab1
lea eax, [ebp + 4]
inc ecx
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push 1
push ebx
push 0x429c68
push ecx
call esi
mov eax, dword [esp + 0x3a8]
cmp dword [esp + 0x3bc], edi
jae 0x412ada
lea eax, [esp + 0x3a8]
mov edx, dword [esp + 0x3b8]
inc edx
push edx
push eax
mov eax, dword [esp + 0x20]
push 1
push ebx
push 0x429c5c
push eax
call esi
mov ecx, dword [ebp + 0x14]
push 4
push 0x429c54
push ecx
push ebx
mov ecx, ebp
call fcn.00402da0
neg eax
sbb eax, eax
inc eax
push eax
sub esp, 0x1c
mov edx, esp
lea eax, [esp + 0xcc]
mov dword [esp + 0x64], esp
push eax
push edx
call fcn.0040b930
sub esp, 0x14
mov ecx, esp
lea edx, [esp + 0xcc]
mov dword [esp + 0x84], esp
push edx
push ecx
mov byte [esp + 0x3d0], 0xc
call fcn.0040b930
sub esp, 0x14
mov eax, esp
lea ecx, [esp + 0xb0]
mov dword [esp + 0xac], esp
push ecx
push eax
mov byte [esp + 0x3ec], 0xd
call fcn.0040b930
mov eax, dword [esp + 0xac]
sub esp, 0x14
mov edx, esp
mov dword [esp + 0xc4], esp
push eax
push edx
mov byte [esp + 0x408], 0xe
call fcn.0040b930
add esp, 8
mov byte [esp + 0x400], 6
call fcn.00411060
mov ecx, dword [esp + 0x8c]
add esp, 0x74
push ecx
call dword [0x429028]
cmp dword [esp + 0xa8], edi
jb 0x412bc3
mov edx, dword [esp + 0x94]
push edx
call fcn.0041a65d
add esp, 4
mov esi, 0xf
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
cmp dword [esp + 0xe0], edi
jb 0x412bf6
mov eax, dword [esp + 0xcc]
push eax
call fcn.0041a65d
add esp, 4
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
cmp dword [esp + 0xfc], edi
jb 0x412c24
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.0041a65d
add esp, 4
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
cmp dword [esp + 0xc4], edi
jb 0x412c52
mov edx, dword [esp + 0xb0]
push edx
call fcn.0041a65d
add esp, 4
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], bl
cmp dword [esp + 0x70], edi
jb 0x412c7a
mov eax, dword [esp + 0x5c]
push eax
call fcn.0041a65d
add esp, 4
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x8c], edi
jb 0x412c9c
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0041a65d
add esp, 4
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
cmp dword [esp + 0x3bc], edi
jb 0x412cc7
mov edx, dword [esp + 0x3a8]
push edx
call fcn.0041a65d
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x384]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x36c]
xor ecx, esp
call fcn.0041ac87
add esp, 0x37c
ret