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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x463e59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x440
mov eax, dword [0x47e1c0]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x458], ebx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xfc]
mov ecx, dword [ebp + 0x11c]
mov edx, dword [ebp + 0x104]
mov dword [ebp + 0x100], eax
mov eax, dword [ebp + 0x164]
mov byte [esp + 0x458], 2
cmp eax, ebx
mov dword [ebp + 0x120], ecx
mov dword [ebp + 0x108], edx
jle 0x408da4
mov eax, dword [ebp + 0x160]
or ecx, 0xffffffff
lea edx, [esp + 0x50]
mov edi, dword [eax + ebx*4]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [esp + 0x51]
cmp al, 0x47
jne 0x408c97
cmp byte [esp + 0x50], 0x30
jne 0x408d6f
lea ecx, [esp + 0x5c]
push 4
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.00412740
lea eax, [esp + 0x50]
push eax
call fcn.00424f59
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408c11
mov ecx, dword [ebp + 0x100]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ecx + 0x20]
lea ecx, [esp + 0x18]
push eax
push 0x47d49c
push ecx
call fcn.004340ef
mov edx, dword [esp + 0x24]
push 7
lea eax, [esp + 0x74]
push edx
push eax
call fcn.00424dd0
add esp, 0x1c
mov ecx, dword [ebp + 0x100]
cmp esi, 1
jne 0x408c41
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ecx + 0x28]
lea ecx, [esp + 0x18]
push eax
push 0x47d49c
push ecx
call fcn.004340ef
mov edx, dword [esp + 0x24]
push 7
lea eax, [esp + 0x7b]
push edx
push eax
jmp 0x408c79
mov eax, dword [ecx + 0x18]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [ebp + 0x10c]
mov ecx, dword [eax + edx*8 + 0x3c]
push ecx
mov edx, dword [eax + edx*8 + 0x38]
lea eax, [esp + 0x18]
push edx
push 0x47d49c
push eax
call fcn.004340ef
mov ecx, dword [esp + 0x24]
push 7
lea edx, [esp + 0x82]
push ecx
push edx
call fcn.00424dd0
mov eax, dword [ebp + 0x100]
add esp, 0x1c
add eax, 0x2e0
mov dword [ebp + 0x100], eax
jmp 0x408d6f
cmp al, 0x44
jne 0x408d1f
cmp byte [esp + 0x50], 0x30
jne 0x408d6f
mov eax, dword [ebp + 0x108]
mov ecx, dword [eax + 0x2c]
push ecx
mov edx, dword [eax + 0x28]
lea eax, [esp + 0x18]
push edx
push 0x47d49c
push eax
call fcn.004340ef
mov ecx, dword [esp + 0x24]
push 7
lea edx, [esp + 0x78]
push ecx
push edx
call fcn.00424dd0
mov eax, dword [ebp + 0x108]
mov ecx, dword [eax + 0x34]
push ecx
mov edx, dword [eax + 0x30]
lea eax, [esp + 0x34]
push edx
push 0x47d49c
push eax
call fcn.004340ef
mov ecx, dword [esp + 0x40]
push 7
lea edx, [esp + 0x9b]
push ecx
push edx
call fcn.00424dd0
mov eax, dword [ebp + 0x108]
add esp, 0x38
add eax, 0x80
mov dword [ebp + 0x108], eax
jmp 0x408d6f
cmp al, 0x54
jne 0x408d6f
cmp byte [esp + 0x50], 0x30
jne 0x408d6f
mov eax, dword [ebp + 0x120]
mov ecx, dword [eax + 0x5c]
push ecx
mov edx, dword [eax + 0x58]
lea eax, [esp + 0x18]
push edx
push 0x47d49c
push eax
call fcn.004340ef
mov ecx, dword [esp + 0x24]
push 7
lea edx, [esp + 0x8c]
push ecx
push edx
call fcn.00424dd0
mov eax, dword [ebp + 0x120]
add esp, 0x1c
add eax, 0xa8
mov dword [ebp + 0x120], eax
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 0x160]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [edx + ebx*4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebx
rep movsb byte es:[edi], byte [esi]
cmp ebx, dword [ebp + 0x164]
jl 0x408b7b
call fcn.00450a42
mov eax, dword [eax + 4]
lea ecx, [esp + 0x1c]
add eax, 0xc0
push eax
call fcn.0043a3b4
push 0x5c
lea ecx, [esp + 0x20]
mov byte [esp + 0x45c], 3
call fcn.00433d8c
mov esi, eax
lea ecx, [esp + 0x18]
push esi
push ecx
lea ecx, [esp + 0x24]
call fcn.00433d14
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x45c], 4
call fcn.0043a778
lea ecx, [esp + 0x18]
mov byte [esp + 0x458], 3
call fcn.0043a63f
lea edx, [esp + 0x14]
push str._res
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.0043a8d4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x45c], 5
call fcn.0043a778
lea ecx, [esp + 0x18]
mov byte [esp + 0x458], 3
call fcn.0043a63f
push 0x2e
lea ecx, [esp + 0x20]
call fcn.0043ab06
mov ecx, 0xfffffffc
lea edx, [esp + 0x18]
sub ecx, esi
add eax, ecx
lea ecx, [esp + 0x1c]
push eax
push esi
push edx
call fcn.00433c02
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x45c], 6
call fcn.0043a778
lea ecx, [esp + 0x18]
mov byte [esp + 0x458], 3
call fcn.0043a63f
mov eax, dword [ebp + 0x16c]
lea ecx, [esp + 0x20]
push eax
push 0x47d490
push ecx
call fcn.004340ef
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.00434102
lea edx, [esp + 0x24]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.0043a86e
lea edx, [esp + 0x20]
mov byte [esp + 0x458], 7
push edx
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0043a86e
push str..Dat
lea ecx, [esp + 0x1c]
mov bl, 8
push eax
push ecx
mov byte [esp + 0x464], bl
call fcn.0043a8d4
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x45c], 9
call fcn.0043a778
lea ecx, [esp + 0x18]
mov byte [esp + 0x458], bl
call fcn.0043a63f
lea ecx, [esp + 0x28]
mov byte [esp + 0x458], 7
call fcn.0043a63f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x458], 3
call fcn.0043a63f
mov edx, dword [esp + 0x1c]
push 0x5001
push edx
lea ecx, [esp + 0x38]
call fcn.0043abe8
mov eax, dword [ebp + 0x164]
xor esi, esi
test eax, eax
mov byte [esp + 0x458], 0xa
jle 0x408f70
mov eax, dword [ebp + 0x160]
mov ecx, dword [eax + esi*4]
push ecx
lea ecx, [esp + 0x34]
call fcn.0043ae37
mov eax, dword [ebp + 0x164]
inc esi
cmp esi, eax
jl 0x408f52
lea ecx, [esp + 0x30]
call fcn.0043aff4
lea ecx, [esp + 0x30]
mov byte [esp + 0x458], 3
call fcn.0043ac81
lea ecx, [esp + 0x1c]
mov byte [esp + 0x458], 2
call fcn.0043a63f
lea ecx, [esp + 0x20]
mov byte [esp + 0x458], 1
call fcn.0043a63f
lea ecx, [esp + 0x24]
mov byte [esp + 0x458], 0
call fcn.0043a63f
lea ecx, [esp + 0x14]
mov dword [esp + 0x458], 0xffffffff
call fcn.0043a63f
mov ecx, dword [esp + 0x450]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret