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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x52fd27
mov eax, dword fs:[0]
push eax
sub esp, 0x128
push ebx
push esi
push edi
mov eax, dword [0x56f28c]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x38], ebx
mov ecx, dword [ebp + 8]
movsx eax, byte [ecx + 8]
cmp eax, 7
ja case.default.0x406298
jmp dword [eax*4 + 0x4066c0]
push 4
push str.null
lea ecx, [ebx + 4]
call fcn.004081c0
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00401cc0
mov ecx, eax
lea edi, [esp + 0x78]
call fcn.00405a30
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 4]
mov dword [esp + 0x14c], 0
call fcn.004080c0
mov ecx, edi
call fcn.00402b90
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00401e60
mov ecx, eax
lea edi, [esp + 0xcc]
call fcn.00405ad0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 4]
mov dword [esp + 0x14c], 1
call fcn.004080c0
mov ecx, edi
call fcn.00402b90
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ecx
call fcn.00402020
sub esp, 8
lea esi, [esp + 0x9c]
fstp qword [esp]
call fcn.00405b50
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 4]
mov dword [esp + 0x14c], 2
call fcn.004080c0
mov ecx, esi
call fcn.00402b90
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ecx]
lea eax, [esp + 0xb0]
push eax
call fcn.00405ce0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 4]
mov dword [esp + 0x14c], 3
call fcn.004080c0
lea ecx, [esp + 0xb0]
call fcn.00402b90
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, ecx
call fcn.00402130
movzx ecx, al
push ecx
lea esi, [esp + 0xec]
call fcn.00405c90
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 4]
mov dword [esp + 0x14c], 4
call fcn.004080c0
mov ecx, esi
call fcn.00402b90
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 1
add ebx, 4
push str.___:Ee
mov ecx, ebx
call fcn.004081c0
mov ecx, dword [ebp + 8]
call fcn.004021a0
mov edi, eax
xor esi, esi
test edi, edi
jle 0x406493
test esi, esi
jle 0x40647b
push 1
push 0x54784c
mov ecx, ebx
call fcn.004081c0
mov ecx, dword [ebp + 8]
push esi
call fcn.004024b0
mov ecx, dword [esp + 0x38]
push eax
call fcn.00406250
inc esi
cmp esi, edi
jl 0x406469
push 1
push 0x547850
mov ecx, ebx
call fcn.004081c0
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [esp + 0x3c]
push edx
call fcn.004028b0
push 1
add ebx, 4
push 0x547854
mov ecx, ebx
mov dword [esp + 0x148], 5
call fcn.004081c0
mov esi, dword [esp + 0x48]
cmp esi, dword [esp + 0x4c]
jbe 0x4064ee
call fcn.004ffd7f
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
lea edi, [esi + 4]
lea esp, [esp]
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x48], esi
jbe 0x40650f
call fcn.004ffd7f
mov eax, dword [esp + 0x54]
test eax, eax
je 0x40651d
cmp eax, dword [esp + 0x3c]
je 0x406522
call fcn.004ffd7f
lea eax, [edi - 4]
cmp eax, esi
je 0x406659
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x40658e
call fcn.004ffd7f
xor eax, eax
lea ecx, [edi - 4]
cmp ecx, dword [eax + 0x10]
jb 0x406549
call fcn.004ffd7f
mov esi, dword [esp + 0x48]
cmp esi, dword [esp + 0x4c]
jbe 0x406558
call fcn.004ffd7f
mov eax, dword [esp + 0x54]
test eax, eax
je 0x406566
cmp eax, dword [esp + 0x3c]
je 0x40656b
call fcn.004ffd7f
lea eax, [edi - 4]
cmp eax, esi
je 0x406580
push 1
push 0x54784c
mov ecx, ebx
call fcn.004081c0
mov esi, 0x10
cmp dword [edi + 0x14], esi
jb 0x406592
mov ecx, dword [edi]
jmp 0x406594
mov eax, dword [eax]
jmp 0x40653c
mov ecx, edi
lea edx, [esp + 0x5c]
push edx
call fcn.00405ce0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [esp + 0x14c], 6
call fcn.004080c0
mov byte [esp + 0x140], 5
cmp dword [esp + 0x74], esi
jb 0x4065d0
mov eax, dword [esp + 0x60]
push eax
call fcn.004ff610
add esp, 4
mov ecx, dword [esp + 0x38]
cmp byte [ecx + 0x20], 0
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
mov edx, 0x547858
jne 0x4065f9
mov edx, 0x54785c
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406600
sub eax, esi
push eax
push edx
mov ecx, ebx
call fcn.004081c0
cmp dword [edi + 0x14], 0x10
jb 0x40661c
mov eax, dword [edi]
jmp 0x40661e
mov eax, edi
mov ecx, dword [ebp + 8]
push eax
call fcn.004027a0
mov ecx, dword [esp + 0x38]
push eax
call fcn.00406250
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x406655
call fcn.004ffd7f
xor eax, eax
lea ecx, [edi - 4]
cmp ecx, dword [eax + 0x10]
jb 0x40664d
call fcn.004ffd7f
add edi, 0x1c
jmp 0x406500
mov eax, dword [eax]
jmp 0x406640
push 1
push 0x547860
mov ecx, ebx
call fcn.004081c0
mov eax, dword [esp + 0x48]
xor esi, esi
cmp eax, esi
je 0x40668f
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x4c]
push edx
call fcn.00404e00
mov eax, dword [esp + 0x4c]
add esp, 4
push eax
call fcn.004ff610
add esp, 4
mov ecx, dword [esp + 0x3c]
push ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
call fcn.004ff610
add esp, 4
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4