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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x48f9c0
mov eax, dword fs:[0]
push eax
sub esp, 0x128
push ebx
push esi
push edi
mov eax, dword [0x4b4970]
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.0x47a018
jmp dword [eax*4 + 0x47a408]
push 4
push 0x4a1144
lea ecx, [ebx + 4]
call fcn.0040b940
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.00480a40
mov ecx, eax
lea edi, [esp + 0x78]
call fcn.00478f00
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 4]
mov dword [esp + 0x14c], 0
call fcn.00405c60
mov ecx, edi
call fcn.00403fb0
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.00480880
mov ecx, eax
lea edi, [esp + 0xcc]
call fcn.00478e80
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 4]
mov dword [esp + 0x14c], 1
call fcn.00405c60
mov ecx, edi
call fcn.00403fb0
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.00480770
sub esp, 8
lea esi, [esp + 0x9c]
fstp qword [esp]
call fcn.00478d40
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 4]
mov dword [esp + 0x14c], 2
call fcn.00405c60
mov ecx, esi
call fcn.00403fb0
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.00479600
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 4]
mov dword [esp + 0x14c], 3
call fcn.00405c60
lea ecx, [esp + 0xb0]
call fcn.00403fb0
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.0047fe80
movzx ecx, al
push ecx
lea esi, [esp + 0xec]
call fcn.00478cf0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 4]
mov dword [esp + 0x14c], 4
call fcn.00405c60
mov ecx, esi
call fcn.00403fb0
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.____:_n
mov ecx, ebx
call fcn.0040b940
mov ecx, dword [ebp + 8]
call fcn.00480180
mov edi, eax
xor esi, esi
test edi, edi
jle 0x47a213
test esi, esi
jle 0x47a1fb
push 1
push 0x4a1150
mov ecx, ebx
call fcn.0040b940
mov ecx, dword [ebp + 8]
push esi
call fcn.00480600
mov ecx, dword [esp + 0x38]
push eax
call fcn.00479fd0
inc esi
cmp esi, edi
jl 0x47a1e9
push 1
push 0x4a1154
mov ecx, ebx
call fcn.0040b940
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 + 0x44]
push edx
call fcn.00480ec0
push 1
add ebx, 4
push 0x4a1158
mov ecx, ebx
mov dword [esp + 0x148], 5
call fcn.0040b940
mov esi, dword [esp + 0x50]
cmp esi, dword [esp + 0x54]
jbe 0x47a26e
call fcn.004554e3
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
lea edi, [esi + 4]
lea esp, [esp]
mov esi, dword [esp + 0x54]
cmp dword [esp + 0x50], esi
jbe 0x47a28f
call fcn.004554e3
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x47a29d
cmp eax, dword [esp + 0x44]
je 0x47a2a2
call fcn.004554e3
lea eax, [edi - 4]
cmp eax, esi
je 0x47a3d9
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x47a30e
call fcn.004554e3
xor eax, eax
lea ecx, [edi - 4]
cmp ecx, dword [eax + 0x10]
jb 0x47a2c9
call fcn.004554e3
mov esi, dword [esp + 0x50]
cmp esi, dword [esp + 0x54]
jbe 0x47a2d8
call fcn.004554e3
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x47a2e6
cmp eax, dword [esp + 0x44]
je 0x47a2eb
call fcn.004554e3
lea eax, [edi - 4]
cmp eax, esi
je 0x47a300
push 1
push 0x4a115c
mov ecx, ebx
call fcn.0040b940
mov esi, 0x10
cmp dword [edi + 0x14], esi
jb 0x47a312
mov ecx, dword [edi]
jmp 0x47a314
mov eax, dword [eax]
jmp 0x47a2bc
mov ecx, edi
lea edx, [esp + 0x5c]
push edx
call fcn.00479600
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [esp + 0x14c], 6
call fcn.00405c60
mov byte [esp + 0x140], 5
cmp dword [esp + 0x74], esi
jb 0x47a350
mov eax, dword [esp + 0x60]
push eax
call fcn.00453f5c
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, 0x4a1160
jne 0x47a379
mov edx, 0x4a1164
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47a380
sub eax, esi
push eax
push edx
mov ecx, ebx
call fcn.0040b940
cmp dword [edi + 0x14], 0x10
jb 0x47a39c
mov eax, dword [edi]
jmp 0x47a39e
mov eax, edi
mov ecx, dword [ebp + 8]
push eax
call fcn.00480520
mov ecx, dword [esp + 0x38]
push eax
call fcn.00479fd0
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x47a3d5
call fcn.004554e3
xor eax, eax
lea ecx, [edi - 4]
cmp ecx, dword [eax + 0x10]
jb 0x47a3cd
call fcn.004554e3
add edi, 0x1c
jmp 0x47a280
mov eax, dword [eax]
jmp 0x47a3c0
push 1
push 0x4a1168
mov ecx, ebx
call fcn.0040b940
lea esi, [esp + 0x44]
call fcn.00407b40
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