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

Disassembly:
push 0xffffffffffffffff
push 0x466e50
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4812a4]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4812a4]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, dword [esp + 0x74]
mov edi, ecx
lea ecx, [esp + 0x24]
push ecx
push eax
mov dword [esp + 0x28], eax
call fcn.004056f0
xor ebx, ebx
mov dword [esp + 0x5c], ebx
push eax
call fcn.00405510
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x5c], 0xffffffff
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x40528f
call fcn.00405780
cmp eax, ebx
je 0x40528f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.00405800
mov ecx, 1
mov dword [esp + 0x5c], ecx
mov al, byte [edi]
cmp al, 0x2b
je 0x4052cd
cmp al, 0x2d
je 0x4052cd
cmp al, 0x30
jne 0x4052c7
mov al, byte [edi + 1]
cmp al, 0x78
je 0x4052bd
cmp al, 0x58
jne 0x4052c7
mov dword [esp + 0x18], 2
jmp 0x4052d1
mov dword [esp + 0x18], ebx
jmp 0x4052d1
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x4c]
cmp ecx, 0x10
mov edx, dword [esp + 0x38]
mov eax, edx
jae 0x4052e4
lea eax, [esp + 0x38]
cmp byte [eax], 0x7f
je 0x405379
cmp ecx, 0x10
mov eax, edx
jae 0x4052f8
lea eax, [esp + 0x38]
cmp byte [eax], 0
jle 0x405379
cmp ecx, 0x10
jae 0x405306
lea edx, [esp + 0x38]
mov ebp, dword [esp + 0x7c]
mov eax, edx
mov al, byte [eax]
cmp al, 0x7f
mov dword [esp + 0x14], edx
mov esi, ebp
je 0x405366
test al, al
jle 0x405362
mov ecx, esi
sub ecx, dword [esp + 0x18]
movsx eax, al
cmp eax, ecx
jae 0x405362
sub esi, eax
mov edx, ebp
sub edx, esi
lea eax, [edx + 1]
push eax
lea ebx, [edi + esi]
push ebx
push eax
lea eax, [edi + esi + 1]
push eax
call fcn.0044aa78
mov eax, dword [esp + 0x24]
add esp, 0x10
mov byte [ebx], 0
add ebp, 1
cmp byte [eax + 1], 0
jle 0x40535c
add eax, 1
mov dword [esp + 0x14], eax
mov al, byte [eax]
cmp al, 0x7f
jne 0x405318
mov dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 0x18]
test esi, esi
jle 0x40537f
cmp esi, ebp
jbe 0x40537f
sub esi, ebp
jmp 0x405381
mov ebp, dword [esp + 0x7c]
jmp 0x405366
xor esi, esi
mov eax, dword [eax + 0x10]
and eax, 0x1c0
cmp eax, 0x40
je 0x405448
cmp eax, 0x100
je 0x4053d5
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov bl, byte [esp + 0x78]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], edx
lea edx, [esp + 0x34]
mov dword [eax + 8], ecx
push edx
mov eax, esi
call fcn.00405a10
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov ebx, dword [eax + 8]
add esp, 0x10
mov dword [esp + 0x68], ecx
xor esi, esi
jmp 0x405450
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x18]
push edi
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x80]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x38]
push eax
mov eax, ebx
call fcn.00405860
mov edx, dword [eax]
add esp, 8
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 + 0x34]
sub ebp, ebx
add edi, ebx
mov bl, byte [esp + 0x84]
push ecx
mov eax, esi
mov dword [esp + 0x8c], ebp
call fcn.00405a10
mov edx, dword [eax]
mov ebp, dword [eax + 4]
mov ebx, dword [eax + 8]
add esp, 0x10
mov dword [esp + 0x68], edx
xor esi, esi
jmp 0x405450
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x68]
mov byte [esp + 0x1c], al
mov eax, dword [esp + 0x1c]
push eax
push ecx
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], ebp
mov dword [eax + 8], ebx
lea eax, [esp + 0x3c]
push eax
mov eax, edi
call fcn.00405940
mov edi, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x38]
mov bl, byte [esp + 0x90]
add esp, 0xc
mov dword [ecx + 0x18], 0
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x70]
mov dword [ecx + 8], eax
push edi
mov eax, esi
call fcn.00405a10
add esp, 0x10
mov dword [esp + 0x5c], 0xffffffff
cmp dword [esp + 0x4c], 0x10
jb 0x4054d8
mov edx, dword [esp + 0x38]
push edx
call fcn.00449824
add esp, 4
xor eax, eax
mov dword [esp + 0x48], eax
mov byte [esp + 0x38], al
mov dword [esp + 0x4c], 0xf
mov eax, edi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00449829
add esp, 0x4c
ret