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

Disassembly:
push 0xffffffffffffffff
push 0x468388
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4812a4]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4812a4]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa0]
mov esi, ecx
lea ecx, [esp + 0x40]
push ecx
push eax
mov dword [esp + 0x40], eax
call fcn.004056f0
xor ebx, ebx
mov dword [esp + 0x88], ebx
push eax
call fcn.00405510
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [esp + 0x40]
cmp ecx, ebx
je 0x405cdb
call fcn.00405780
cmp eax, ebx
je 0x405cdb
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, edi
call fcn.00405800
mov ebp, 1
mov dword [esp + 0x88], ebp
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov byte [esp + 0x20], al
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], 0
mov byte [esp + 0x88], 2
mov al, byte [esi]
cmp al, 0x2b
je 0x405d27
cmp al, 0x2d
mov dword [esp + 0x24], ebx
jne 0x405d2b
mov dword [esp + 0x24], ebp
call fcn.00449ba5
mov ecx, dword [eax]
mov ebx, dword [esp + 0xb4]
mov dl, byte [ecx]
push ebx
push 0x65
push esi
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], 0x65
mov byte [esp + 0x2a], 0
call fcn.0044ad70
mov edi, eax
movsx eax, byte [esp + 0x28]
add esp, 0xc
push ebx
push eax
push esi
mov dword [esp + 0x24], edi
call fcn.0044ad70
mov ebp, eax
add esp, 0xc
test ebp, ebp
mov dword [esp + 0x34], ebp
jne 0x405d7c
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x78]
cmp ecx, 0x10
mov edx, dword [esp + 0x64]
mov eax, edx
jae 0x405d8f
lea eax, [esp + 0x64]
cmp byte [eax], 0x7f
je 0x405eeb
cmp ecx, 0x10
mov eax, edx
jae 0x405da3
lea eax, [esp + 0x64]
cmp byte [eax], 0
jle 0x405eeb
push ebx
push esi
lea eax, [esp + 0x4c]
call fcn.004090c0
test edi, edi
jne 0x405dd6
mov eax, dword [esp + 0xb0]
push 0x30
lea edi, [esp + 0x48]
call fcn.004071b0
mov ebp, dword [esp + 0xa8]
jmp 0x405e10
test ebp, ebp
jne 0x405df2
mov eax, dword [esp + 0xa8]
push 0x30
lea edi, [esp + 0x48]
call fcn.004071b0
mov edi, dword [esp + 0x18]
jmp 0x405df9
mov ebp, dword [esp + 0xa8]
mov ecx, dword [esp + 0xb0]
push 0x30
mov eax, edi
push ecx
sub eax, esi
lea edi, [esp + 0x4c]
call fcn.004062d0
mov ebx, dword [esp + 0x34]
test ebx, ebx
push 0x30
lea edi, [esp + 0x48]
jne 0x405e27
mov eax, ebp
call fcn.004071b0
jmp 0x405e52
mov edx, dword [esp + 0xb0]
sub ebx, esi
push edx
lea eax, [ebx + 1]
call fcn.004062d0
push 0x30
push ebp
mov eax, ebx
lea edi, [esp + 0x4c]
call fcn.004062d0
mov dword [esp + 0xac], 0
mov ebx, dword [esp + 0x64]
mov ebp, 0x10
cmp dword [esp + 0x78], ebp
mov dword [esp + 0xa8], 0
jae 0x405e70
lea ebx, [esp + 0x64]
cmp dword [esp + 0x5c], ebp
mov eax, dword [esp + 0x48]
jae 0x405e7e
lea eax, [esp + 0x48]
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.0044a790
mov esi, eax
mov al, byte [ebx]
add esp, 8
cmp al, 0x7f
je 0x405ec5
test al, al
jle 0x405ec5
mov edx, esi
sub edx, dword [esp + 0x24]
movsx eax, al
cmp eax, edx
jae 0x405ec5
sub esi, eax
push 0
push 1
mov eax, esi
lea edi, [esp + 0x4c]
call fcn.004062d0
cmp byte [ebx + 1], 0
jle 0x405ebf
add ebx, 1
mov al, byte [ebx]
cmp al, 0x7f
jne 0x405e94
cmp dword [esp + 0x5c], ebp
mov esi, dword [esp + 0x48]
jae 0x405ed3
lea esi, [esp + 0x48]
mov eax, dword [esp + 0x58]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], eax
mov ebx, eax
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
lea eax, [ecx + edx]
add eax, dword [esp + 0xb0]
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + 0x18]
add eax, ebx
test ecx, ecx
jle 0x405f1c
cmp ecx, eax
jbe 0x405f1c
sub ecx, eax
mov dword [esp + 0x18], ecx
jmp 0x405f24
mov dword [esp + 0x18], 0
mov eax, dword [edx + 0x10]
and eax, 0x1c0
cmp eax, 0x40
je 0x405ffc
cmp eax, 0x100
mov edx, dword [esp + 0x98]
je 0x405f8b
mov ecx, dword [esp + 0x94]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 4], edx
lea edx, [esp + 0x34]
mov dword [eax + 8], ecx
push edx
mov eax, dword [esp + 0x28]
mov bl, byte [esp + 0xb4]
call fcn.00405a10
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
add esp, 0x10
mov dword [esp + 0x18], 0
jmp 0x406011
cmp dword [esp + 0x24], 0
jbe 0x405fd7
mov ecx, dword [esp + 0x94]
push esi
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xac]
mov dword [eax + 4], edx
lea edx, [esp + 0x38]
mov dword [eax + 8], ecx
push edx
mov eax, 1
call fcn.00405860
mov edi, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
add esp, 0x14
add esi, 1
sub ebx, 1
mov dword [esp + 0xb4], ebx
jmp 0x405fe5
mov ecx, dword [esp + 0x9c]
mov edi, dword [esp + 0x94]
sub esp, 0xc
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
lea eax, [esp + 0x34]
push eax
jmp 0x405f63
mov ebp, dword [esp + 0x9c]
mov ebx, dword [esp + 0x98]
mov edi, dword [esp + 0x94]
mov ecx, dword [esp + 0xb4]
movsx edx, byte [esp + 0x1c]
push ecx
push edx
push esi
call fcn.0044ad70
add esp, 0xc
test eax, eax
je 0x4060f9
mov ecx, dword [esp + 0x20]
sub eax, esi
add eax, 1
mov dword [esp + 0x34], eax
push ecx
add eax, 0xffffffff
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebx
lea edx, [esp + 0x3c]
mov dword [eax + 8], ebp
push edx
mov eax, esi
call fcn.00405940
mov edx, dword [eax]
add esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0x34]
push ecx
mov bl, 0x30
call fcn.00405a10
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov edi, dword [eax]
mov ebp, dword [eax + 4]
mov ebx, dword [eax + 8]
mov eax, dword [edx + 4]
add esp, 0x10
call eax
mov cl, al
sub esp, 0xc
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebp
mov dword [eax + 8], ebx
lea edx, [esp + 0x34]
push edx
mov eax, 1
mov bl, cl
call fcn.00405a10
mov edx, dword [eax]
add esp, 4
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xb8]
lea ecx, [esp + 0x34]
push ecx
mov bl, 0x30
call fcn.00405a10
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
mov eax, dword [esp + 0x44]
add esp, 0x10
add esi, eax
sub dword [esp + 0xb4], eax
mov edx, dword [esp + 0xb4]
push edx
push 0x65
push esi
call fcn.0044ad70
add esp, 0xc
test eax, eax
je 0x4061c6
mov ecx, dword [esp + 0x20]
sub eax, esi
add eax, 1
mov dword [esp + 0x3c], eax
push ecx
add eax, 0xffffffff
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebx
lea edx, [esp + 0x3c]
mov dword [eax + 8], ebp
push edx
mov eax, esi
call fcn.00405940
mov edx, dword [eax]
add esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0x34]
push ecx
mov bl, 0x30
call fcn.00405a10
mov edx, dword [esp + 0x48]
add esp, 0x10
test byte [edx + 0x10], 4
mov dword [esp + 0xb0], 0
mov ecx, 0x46ff34
jne 0x406189
mov ecx, 0x46ff38
mov edx, dword [eax]
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x38]
push ecx
mov eax, 1
call fcn.00405860
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
mov eax, dword [esp + 0x50]
add esp, 0x14
add esi, eax
sub dword [esp + 0xb4], eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0xb4]
push edx
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebx
lea ecx, [esp + 0x3c]
mov dword [eax + 8], ebp
push ecx
mov eax, esi
call fcn.00405940
mov edx, dword [eax]
add esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0x34]
push ecx
mov bl, 0x30
call fcn.00405a10
mov esi, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x48]
mov bl, byte [esp + 0xb4]
add esp, 4
mov dword [ecx + 0x18], 0
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], esi
mov esi, dword [esp + 0x9c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x24]
push esi
call fcn.00405a10
add esp, 0x10
mov byte [esp + 0x88], 1
mov edi, 0x10
cmp dword [esp + 0x5c], edi
jb 0x40626f
mov edx, dword [esp + 0x48]
push edx
call fcn.00449824
add esp, 4
xor ebx, ebx
mov ebp, 0xf
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x78], edi
jb 0x4062a0
mov eax, dword [esp + 0x64]
push eax
call fcn.00449824
add esp, 4
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
mov eax, esi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00449829
add esp, 0x78
ret