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

Disassembly:
push 0xffffffffffffffff
push 0x44de3c
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46568c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x78], 0
call fcn.0040ee20
lea ecx, [esi + 4]
call fcn.00412b60
push 0
sub esp, 0xc
lea eax, [esp + 0x90]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0040e220
mov ecx, dword [esi + 0x18]
call fcn.0040f010
mov eax, dword [esi + 0x18]
add eax, 8
cmp dword [eax + 8], 0
jle 0x41251a
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040e220
sub esp, 0xc
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x88], 1
call fcn.0040e220
call fcn.00411970
add esp, 0xc
test al, al
je 0x4124e2
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push str.___1
call fcn.0040e2e0
lea ecx, [esp + 0x28]
call fcn.0040e180
mov edi, eax
cmp edi, 1
lea ecx, [esp + 0x18]
jl 0x4124e6
call fcn.0040e020
sub eax, edi
push eax
add edi, 1
push edi
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x24]
call fcn.0040e5f0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 2
call fcn.0040e2b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 1
call fcn.0040e030
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x453128
call fcn.0040e2e0
lea ecx, [esp + 0x28]
call fcn.0040e180
mov edi, eax
cmp edi, 1
jl 0x4124e2
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x20], esp
lea ecx, [edi - 1]
push ecx
push 0
push edx
lea ecx, [esp + 0x30]
call fcn.0040e5f0
mov ecx, esi
call fcn.004118d0
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov ecx, esi
call fcn.00411940
call fcn.004017d0
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
push ecx
call fcn.00401550
add esp, 8
mov ecx, esi
call fcn.00411b00
lea ecx, [esp + 0x18]
call fcn.0040e020
sub eax, edi
push eax
add edi, 1
push edi
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x24]
call fcn.0040e5f0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 3
call fcn.0040e2b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 1
call fcn.0040e030
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x45312c
call fcn.0040e2e0
lea ecx, [esp + 0x28]
call fcn.0040e180
mov edi, eax
cmp edi, 1
lea ecx, [esp + 0x18]
jl 0x4124e6
call fcn.0040e020
sub eax, edi
push eax
add edi, 2
push edi
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x24]
call fcn.0040e5f0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 4
call fcn.0040e2b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 1
call fcn.0040e030
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x453130
call fcn.0040e2e0
lea ecx, [esp + 0x28]
call fcn.0040e180
mov edi, eax
cmp edi, 1
jl 0x4124e2
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x20], esp
lea ecx, [edi - 1]
push ecx
push 0
push edx
lea ecx, [esp + 0x30]
call fcn.0040e5f0
call fcn.004153d0
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esi + 0x34], eax
call fcn.0040e020
sub eax, edi
push eax
add edi, 1
push edi
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x24]
call fcn.0040e5f0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 5
call fcn.0040e2b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 1
call fcn.0040e030
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x453134
call fcn.0040e2e0
lea ecx, [esp + 0x28]
call fcn.0040e180
mov edi, eax
cmp edi, 1
lea ecx, [esp + 0x18]
jl 0x4124e6
call fcn.0040e020
mov ecx, 0xfffffffd
sub ecx, edi
add eax, ecx
push eax
add edi, 2
push edi
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x24]
call fcn.0040e5f0
push 0x453138
mov ecx, eax
mov byte [esp + 0x7c], 6
call fcn.0040e060
lea ecx, [esp + 0x3c]
mov bl, al
mov byte [esp + 0x78], 1
call fcn.0040e030
test bl, bl
setne al
lea ecx, [esp + 0x48]
mov byte [esi], al
call fcn.0040fe20
push 0x4530b5
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 7
call fcn.0040e2e0
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx + 0x1c]
mov edi, 1
sub edx, edi
xor bl, bl
cmp edx, edi
mov byte [esp + 0x78], 8
jle 0x4124c6
mov ebp, 0xc
lea ecx, [ecx]
test bl, bl
je 0x4123c9
push 0x45313c
lea ecx, [esp + 0x34]
call fcn.0040e2e0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 9
call fcn.0040e6f0
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 8
call fcn.0040e030
mov ecx, dword [esi + 0x18]
push edi
add ecx, 8
call fcn.0040aa70
push eax
lea ecx, [esp + 0x28]
call fcn.0040e6f0
mov eax, dword [esi + 0x18]
add eax, 8
test ebp, ebp
jl 0x41251a
cmp edi, dword [eax + 8]
jge 0x41251a
mov eax, dword [eax + 4]
sub esp, 0xc
add eax, ebp
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0040e220
call fcn.0040fb90
add esp, 0xc
test al, al
je 0x412418
mov ecx, dword [esi + 0x18]
push edi
add ecx, 8
call fcn.0040aa70
push eax
lea ecx, [esp + 0x28]
call fcn.0040e2b0
mov bl, 1
mov eax, dword [esi + 0x18]
add eax, 8
cmp edi, dword [eax + 8]
jge 0x41251a
mov eax, dword [eax + 4]
sub esp, 0xc
add eax, ebp
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0040e220
call fcn.0040fc80
add esp, 0xc
test al, al
je 0x4124af
push 0x453140
lea ecx, [esp + 0x40]
call fcn.0040e2e0
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 0xa
call fcn.0040e6f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 8
call fcn.0040e030
sub esp, 0xc
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0040e220
lea ecx, [esp + 0x54]
call fcn.00410370
sub esp, 0x28
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00410660
lea ecx, [esi + 4]
call fcn.00412bb0
xor bl, bl
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx + 0x1c]
add edi, 1
sub edx, 1
add ebp, 0xc
cmp edi, edx
jl 0x412380
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 7
call fcn.0040e030
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 1
call fcn.0040fec0
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 0
call fcn.0040e030
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], 0xffffffff
call fcn.0040e030
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0xc
call fcn.00422419
int3