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

Disassembly:
push 0xffffffffffffffff
push 0x448113
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x45e5e0]
xor eax, esp
mov dword [esp + 0x344], eax
push ebp
push esi
push edi
mov eax, dword [0x45e5e0]
xor eax, esp
push eax
lea eax, [esp + 0x358]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x360], 2
push ebp
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x14], ebp
push 0x450da0
mov ecx, ebx
mov word [ebx + 4], bp
call fcn.004044c0
push 0xff
lea eax, [esp + 0x159]
push ebp
push eax
mov dword [esp + 0x20], 1
mov byte [esp + 0x160], 0
call fcn.00430450
push 0xff
lea ecx, [esp + 0x265]
push ebp
push ecx
mov byte [esp + 0x26c], 0
call fcn.00430450
push 0xff
lea edx, [esp + 0x71]
push ebp
push edx
mov byte [esp + 0x78], 0
call fcn.00430450
mov edi, dword [esp + 0x3a0]
mov eax, dword [esp + 0x3bc]
mov ecx, dword [esp + 0x3ac]
add esp, 0x24
shr edi, 1
cmp dword [esp + 0x39c], 0x10
mov dword [esp + 0x10], eax
jae 0x40615c
lea ecx, [esp + 0x388]
push eax
push ecx
lea eax, [esp + 0x5c]
push eax
call fcn.00435060
add esp, 0xc
cmp edi, ebp
jle 0x4061bd
push 2
lea ecx, [ebp + ebp]
lea esi, [esp + 0x3c]
lea edx, [esp + 0x36c]
call fcn.0040af90
mov esi, dword [esp + 0x50]
cmp esi, 0x10
mov ecx, dword [esp + 0x3c]
jae 0x406196
lea ecx, [esp + 0x3c]
call fcn.00405eb0
cmp esi, 0x10
mov byte [esp + ebp + 0x154], al
jb 0x4061b4
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00411d3b
add esp, 4
add ebp, 1
cmp ebp, edi
jl 0x40616f
xor ebp, ebp
mov ecx, dword [esp + 0x10]
push edi
lea edx, [esp + 0x258]
push edx
lea eax, [esp + 0x15c]
push eax
lea edx, [esp + 0x60]
call fcn.00405f40
add esp, 0xc
push ebp
push 0x45258c
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebp
mov byte [esp + 0x44], 0
call fcn.00405760
lea ecx, [esp + 0x254]
push ecx
lea edx, [esp + 0x20]
push 0x4512ec
push edx
mov byte [esp + 0x36c], 3
call fcn.00443ea0
add esp, 0xc
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x36c], 4
call fcn.00405270
mov byte [esp + 0x360], 3
cmp dword [esp + 0x34], 0x10
jb 0x406251
mov eax, dword [esp + 0x20]
push eax
call fcn.00411d3b
add esp, 4
mov ebp, dword [esp + 0x4c]
add ebp, 1
xor ecx, ecx
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00411d36
mov edi, 0x10
add esp, 4
cmp dword [esp + 0x50], edi
mov esi, eax
mov eax, dword [esp + 0x3c]
jae 0x406288
lea eax, [esp + 0x3c]
push ebp
push esi
push eax
call fcn.00443cb0
add esp, 0xc
test eax, eax
je 0x4062d2
push esi
lea eax, [esp + 0x20]
push 0x4512f0
push eax
call fcn.00443fd0
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [esp + 0x36c], 5
call fcn.004043d0
cmp dword [esp + 0x34], 8
jb 0x4062d2
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00411d3b
add esp, 4
test esi, esi
je 0x4062df
push esi
call fcn.00411d3b
add esp, 4
cmp dword [esp + 0x50], edi
jb 0x4062f2
mov edx, dword [esp + 0x3c]
push edx
call fcn.00411d3b
add esp, 4
cmp dword [esp + 0x380], edi
jb 0x40630b
mov eax, dword [esp + 0x36c]
push eax
call fcn.00411d3b
add esp, 4
cmp dword [esp + 0x39c], edi
mov dword [esp + 0x380], 0xf
mov dword [esp + 0x37c], 0
mov byte [esp + 0x36c], 0
jb 0x406342
mov ecx, dword [esp + 0x388]
push ecx
call fcn.00411d3b
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x358]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x344]
xor ecx, esp
call fcn.0042e014
add esp, 0x354
ret