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

Disassembly:
push 0xffffffffffffffff
push 0x422a01
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4316ac]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [esp + 0x1c]
call fcn.0041fed2
xor edi, edi
mov dword [esp + 0xe8], edi
call fcn.0041fe12
mov esi, dword [eax + 4]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0041fecc
test eax, eax
jne 0x4112d0
push edi
push edi
push edi
mov ecx, esi
call fcn.0041fe96
lea ecx, [esp + 0x9c]
push ecx
mov ecx, esi
mov dword [esp + 0xa0], 0x42
call fcn.0041fec6
mov ecx, ebx
cmp eax, edi
je 0x411338
lea edx, [esp + 0x9c]
push edx
call fcn.00410340
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0041fecc
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.00410190
lea ecx, [esp + 0x1c]
call fcn.0041fec0
mov eax, dword [esp + 0xf4]
lea eax, [eax + eax*4]
cdq
idiv dword [ebx + 0x6d0]
push 0xbc
mov dword [esp + 0x50], edi
mov dword [esp + 0x48], edi
mov esi, eax
inc esi
mov dword [esp + 0x64], esi
call fcn.0041f950
add esp, 4
mov dword [esp + 0x50], eax
mov byte [esp + 0xe8], 1
cmp eax, edi
je 0x41134e
push ebx
push 0x103000
push edi
mov ecx, eax
call fcn.0041feba
mov edi, eax
mov dword [esp + 0x38], edi
jmp 0x411352
push 0x10
push 0x427118
push 0x4270d0
call fcn.0041fbde
jmp 0x411a73
mov dword [esp + 0x38], edi
mov edx, dword [edi + 0x74]
mov eax, dword [ebx + 0x6b0]
mov dword [edx + 8], eax
mov ecx, dword [edi + 0x74]
mov edx, dword [ebx + 0x6ac]
mov dword [ecx + 0xc], edx
mov eax, dword [edi + 0x74]
mov ecx, 1
mov word [eax + 0x18], cx
mov edx, dword [edi + 0x74]
mov word [edx + 0x1a], si
mov eax, dword [edi + 0x74]
mov word [eax + 0x1c], cx
mov edx, dword [edi + 0x74]
mov word [edx + 0x1e], si
mov eax, dword [edi]
mov edx, dword [eax + 0x154]
mov ecx, edi
mov byte [esp + 0xe8], 0
call edx
cmp eax, 1
jne 0x411a68
mov eax, dword [edi + 0x74]
push eax
mov ecx, ebx
call fcn.00410340
mov ecx, dword [edi + 0x74]
mov edx, dword [ecx + 0x10]
push edx
lea ecx, [esp + 0x20]
call fcn.0041feb4
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.00410190
mov ecx, dword [ebx + 0x6c0]
push ecx
lea ecx, [esp + 0x20]
call fcn.0041feae
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0x14]
shr eax, 1
and eax, 1
je 0x4113f9
movzx ebp, word [ecx + 0x18]
cmp ebp, 0xffffffff
jne 0x4113fe
mov ebp, 1
test eax, eax
je 0x41140f
movzx eax, word [ecx + 0x1a]
mov dword [esp + 0x3c], eax
cmp eax, 0xffffffff
jne 0x411413
mov dword [esp + 0x3c], esi
mov edx, dword [ebx + 0xa0]
push 2
push 0xffffffffffffffff
push 0x100c
push edx
call dword [0x42426c]
mov ecx, dword [esp + 0x20]
mov esi, eax
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
lea eax, [esp + 0x80]
push eax
push ecx
inc esi
mov dword [esp + 0x88], 0x14
mov dword [esp + 0x8c], 0x4270b8
call dword [0x424024]
cmp eax, 0xffffffff
je 0x411a68
lea ecx, [esp + 0x18]
call dword [0x4247d0]
cmp ebp, dword [esp + 0x3c]
mov byte [esp + 0xe8], 2
mov dword [esp + 0x40], ebp
jg 0x411a23
mov eax, dword [esp + 0x20]
mov edx, dword [ebx + 0x6c8]
mov edi, dword [ebx + 0x6cc]
push eax
mov dword [esp + 0x30], edx
call dword [0x424020]
cmp dword [ebx + 0x6d0], 0
mov dword [esp + 0x48], 0
jle 0x41193c
test esi, esi
je 0x411934
mov ecx, dword [ebx + 0xa0]
push 2
dec esi
push esi
push 0x100c
push ecx
call dword [0x42426c]
inc eax
lea ebp, [ebx + 0x80]
push esi
mov ecx, ebp
mov dword [esp + 0x38], eax
call fcn.00417780
push 0x427080
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], eax
call dword [0x4247cc]
mov edx, dword [esp + 0x1c]
add edx, 0x64
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], edx
call dword [0x424854]
push eax
lea ecx, [esp + 0x1c]
call dword [0x424830]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x34]
push edi
push eax
mov eax, dword [edx]
lea ecx, [esp + 0x2c]
call eax
add edi, dword [ebx + 0x6d4]
push 2
push esi
lea ecx, [esp + 0x80]
push ecx
mov ecx, ebp
mov dword [esp + 0x20], eax
call fcn.0041fdee
mov edx, dword [eax]
push edx
lea eax, [esp + 0x1c]
push 0x427078
push eax
mov byte [esp + 0xf4], 3
call dword [0x4247c0]
add esp, 0xc
lea ecx, [esp + 0x78]
mov byte [esp + 0xe8], 2
call dword [0x424834]
cmp dword [esp + 0x14], 0
je 0x4115dc
mov ecx, dword [esp + 0x1c]
add ecx, 0x64
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x18]
call dword [0x424854]
push eax
lea ecx, [esp + 0x1c]
call dword [0x424830]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x1c]
push edi
push edx
mov edx, dword [eax]
lea ecx, [esp + 0x2c]
call edx
mov dword [esp + 0x14], 1
test eax, eax
jne 0x4115e4
mov dword [esp + 0x14], 0
add edi, dword [ebx + 0x6d4]
push 0xd
push esi
lea eax, [esp + 0x84]
push eax
mov ecx, ebp
call fcn.0041fdee
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x1c]
push 0x427064
push edx
mov byte [esp + 0xf4], 4
call dword [0x4247c0]
add esp, 0xc
lea ecx, [esp + 0x7c]
mov byte [esp + 0xe8], 2
call dword [0x424834]
cmp dword [esp + 0x14], 0
je 0x411672
mov eax, dword [esp + 0x1c]
add eax, 0x64
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], eax
call dword [0x424854]
push eax
lea ecx, [esp + 0x1c]
call dword [0x424830]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx]
push edi
push ecx
lea ecx, [esp + 0x2c]
call eax
mov dword [esp + 0x14], 1
test eax, eax
jne 0x41167a
mov dword [esp + 0x14], 0
add edi, dword [ebx + 0x6d4]
push 1
push esi
lea ecx, [esp + 0x70]
push ecx
mov ecx, ebp
call fcn.0041fdee
mov edx, dword [eax]
push edx
lea eax, [esp + 0x1c]
push 0x427058
push eax
mov byte [esp + 0xf4], 5
call dword [0x4247c0]
add esp, 0xc
lea ecx, [esp + 0x68]
mov byte [esp + 0xe8], 2
call dword [0x424834]
cmp dword [esp + 0x14], 0
je 0x411705
mov ecx, dword [esp + 0x1c]
add ecx, 0x64
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x18]
call dword [0x424854]
push eax
lea ecx, [esp + 0x1c]
call dword [0x424830]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x1c]
push edi
push edx
mov edx, dword [eax]
lea ecx, [esp + 0x2c]
call edx
mov dword [esp + 0x14], 1
test eax, eax
jne 0x41170d
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [ebx + 0x78]
imul eax, eax, 0x282
add edi, dword [ebx + 0x6d4]
cmp byte [eax + ecx + 0x19c], 2
mov ecx, ebp
jne 0x41178c
push 4
push esi
lea edx, [esp + 0x5c]
push edx
call fcn.0041fdee
mov dword [esp + 0x30], eax
push 3
push esi
lea eax, [esp + 0x64]
push eax
mov ecx, ebp
mov byte [esp + 0xf4], 6
call fcn.0041fdee
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x20]
push 0x427034
push ecx
mov byte [esp + 0xf8], 7
call dword [0x4247c0]
add esp, 0x10
lea ecx, [esp + 0x5c]
call dword [0x424834]
lea ecx, [esp + 0x54]
jmp 0x411813
push 5
push esi
lea edx, [esp + 0x78]
push edx
call fcn.0041fdee
mov dword [esp + 0x30], eax
push 4
push esi
lea eax, [esp + 0x74]
push eax
mov ecx, ebp
mov byte [esp + 0xf4], 8
call fcn.0041fdee
mov dword [esp + 0x64], eax
push 3
push esi
lea ecx, [esp + 0x7c]
push ecx
mov ecx, ebp
mov byte [esp + 0xf4], 9
call fcn.0041fdee
mov edx, dword [esp + 0x30]
mov ecx, dword [edx]
mov edx, dword [esp + 0x64]
push ecx
mov ecx, dword [edx]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x24]
push 0x427004
push eax
mov byte [esp + 0xfc], 0xa
call dword [0x4247c0]
add esp, 0x14
lea ecx, [esp + 0x74]
call dword [0x424834]
lea ecx, [esp + 0x6c]
call dword [0x424834]
lea ecx, [esp + 0x70]
mov byte [esp + 0xe8], 2
call dword [0x424834]
cmp dword [esp + 0x14], 0
je 0x411867
mov ecx, dword [esp + 0x1c]
add ecx, 0x64
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x18]
call dword [0x424854]
push eax
lea ecx, [esp + 0x1c]
call dword [0x424830]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x1c]
push edi
push edx
mov edx, dword [eax]
lea ecx, [esp + 0x2c]
call edx
mov dword [esp + 0x14], 1
test eax, eax
jne 0x41186f
mov dword [esp + 0x14], 0
add edi, dword [ebx + 0x6d4]
push 0x11
push esi
lea eax, [esp + 0x60]
push eax
mov ecx, ebp
call fcn.0041fdee
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x1c]
push 0x426ff4
push edx
mov byte [esp + 0xf4], 0xb
call dword [0x4247c0]
add esp, 0xc
lea ecx, [esp + 0x58]
mov byte [esp + 0xe8], 2
call dword [0x424834]
cmp dword [esp + 0x14], 0
je 0x4118f1
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
add esi, 0x64
call dword [0x424854]
push eax
lea ecx, [esp + 0x1c]
call dword [0x424830]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x34]
push edi
push eax
lea ecx, [esp + 0x2c]
call edx
test eax, eax
je 0x4118f1
mov eax, 1
jmp 0x4118f3
xor eax, eax
add edi, dword [ebx + 0x6d4]
mov esi, dword [esp + 0x34]
test eax, eax
je 0x411934
mov eax, dword [ebx + 0x6d4]
mov edx, dword [ebx + 0x6b8]
lea ecx, [eax + eax*2]
sub edx, ecx
lea ecx, [edi + eax*4]
add ecx, eax
cmp ecx, edx
jg 0x41193c
mov eax, dword [esp + 0x48]
add eax, 5
cmp eax, dword [ebx + 0x6d0]
mov dword [esp + 0x48], eax
jl 0x4114d3
jmp 0x41193c
mov dword [esp + 0x44], 1
mov edx, dword [ebx + 0x6c0]
push edx
lea ecx, [esp + 0x20]
call fcn.0041feae
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x40]
push eax
push ecx
lea edx, [esp + 0x20]
push 0x426fe4
push edx
call dword [0x4247c0]
add esp, 0x10
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x1c]
call dword [0x424854]
push eax
lea ecx, [esp + 0x20]
call dword [0x424830]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call dword [0x424028]
mov edx, dword [esp + 0x98]
mov edi, dword [ebx + 0x6b8]
mov ecx, dword [esp + 0x1c]
lea eax, [edx + edx]
sub edi, eax
mov eax, dword [ebx + 0x6b4]
sub eax, dword [esp + 0x94]
add ecx, 0x64
cdq
sub eax, edx
mov ebp, eax
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x18]
sar ebp, 1
call dword [0x424854]
push eax
lea ecx, [esp + 0x1c]
call dword [0x424830]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx]
push edi
push ebp
lea ecx, [esp + 0x2c]
call eax
mov ecx, dword [esp + 0x20]
push ecx
call dword [0x424014]
test eax, eax
jg 0x4119fe
mov dword [esp + 0x4c], 1
cmp dword [esp + 0x44], 0
jne 0x411a18
mov eax, dword [esp + 0x40]
inc eax
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x40], eax
jle 0x4114a3
cmp dword [esp + 0x4c], 0
jne 0x411a30
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
push edx
call dword [0x42402c]
jmp 0x411a3f
mov eax, dword [esp + 0x20]
push eax
call dword [0x424030]
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
push ecx
lea ecx, [esp + 0x20]
call fcn.0041feae
lea ecx, [esp + 0x1c]
call fcn.0041fec0
lea ecx, [esp + 0x18]
mov byte [esp + 0xe8], 0
call dword [0x424834]
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0xe8], 0xffffffff
call fcn.0041fea8
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret 8