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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4b5327
mov eax, dword fs:[0]
push eax
sub esp, 0x128
push ebx
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x38], edi
mov esi, dword [ebp + 8]
movsx eax, byte [esi + 8]
cmp eax, 7
ja case.default.0x4776a8
jmp dword [eax*4 + 0x477aa8]
add edi, 4
push edi
mov edx, str.null
call fcn.00477ad0
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, esi
call fcn.00473b60
mov ecx, eax
lea esi, [esp + 0x78]
call fcn.00476ea0
push 0
push eax
lea esi, [edi + 4]
or eax, 0xffffffff
mov dword [esp + 0x148], 0
call fcn.004792b0
lea ecx, [esp + 0x78]
call fcn.00402400
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, esi
call fcn.00473d10
mov ecx, eax
lea esi, [esp + 0xcc]
call fcn.00476f20
push 0
push eax
lea esi, [edi + 4]
or eax, 0xffffffff
mov dword [esp + 0x148], 1
call fcn.004792b0
lea ecx, [esp + 0xcc]
call fcn.00402400
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 esi
call fcn.00473ed0
sub esp, 8
lea esi, [esp + 0x9c]
fstp qword [esp]
call fcn.00476f90
add esp, 8
push 0
push eax
lea esi, [edi + 4]
or eax, 0xffffffff
mov dword [esp + 0x148], 2
call fcn.004792b0
lea ecx, [esp + 0x94]
call fcn.00402400
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 [esi]
lea eax, [esp + 0xb0]
push eax
call fcn.00477120
add esp, 4
push 0
push eax
lea esi, [edi + 4]
or eax, 0xffffffff
mov dword [esp + 0x148], 3
call fcn.004792b0
lea ecx, [esp + 0xb0]
call fcn.00402400
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, esi
call fcn.00473fe0
movzx ecx, al
push ecx
lea esi, [esp + 0xec]
call fcn.004770d0
add esp, 4
push 0
push eax
lea esi, [edi + 4]
or eax, 0xffffffff
mov dword [esp + 0x148], 4
call fcn.004792b0
lea ecx, [esp + 0xe8]
call fcn.00402400
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 ebx, [edi + 4]
push ebx
mov edx, str.___:Ee
call fcn.00477ad0
mov ecx, esi
call fcn.00474050
mov edi, eax
xor esi, esi
test edi, edi
jle 0x4778b8
test esi, esi
jle 0x4778a0
push 1
push 0x4cc718
mov eax, ebx
call fcn.004793a0
mov ecx, dword [ebp + 8]
push esi
call fcn.00474330
mov ecx, dword [esp + 0x38]
push eax
call fcn.00477660
inc esi
cmp esi, edi
jl 0x47788e
push 1
push 0x4cc71c
mov eax, ebx
call fcn.004793a0
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
mov ecx, esi
call fcn.004746b0
add edi, 4
push edi
mov edx, 0x4cc720
mov dword [esp + 0x144], 5
call fcn.00477ad0
mov esi, dword [esp + 0x50]
cmp esi, dword [esp + 0x54]
jbe 0x477912
call fcn.00490387
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
lea ebx, [esi + 4]
lea ecx, [ecx]
mov esi, dword [esp + 0x54]
cmp dword [esp + 0x50], esi
jbe 0x47792f
call fcn.00490387
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x47793d
cmp eax, dword [esp + 0x44]
je 0x477942
call fcn.00490387
lea eax, [ebx - 4]
cmp eax, esi
je 0x477a79
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4779aa
call fcn.00490387
xor eax, eax
lea ecx, [ebx - 4]
cmp ecx, dword [eax + 0x10]
jb 0x477969
call fcn.00490387
mov esi, dword [esp + 0x50]
cmp esi, dword [esp + 0x54]
jbe 0x477978
call fcn.00490387
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x477986
cmp eax, dword [esp + 0x44]
je 0x47798b
call fcn.00490387
lea eax, [ebx - 4]
cmp eax, esi
je 0x4779a0
push 1
push 0x4cc718
mov eax, edi
call fcn.004793a0
cmp dword [ebx + 0x14], 0x10
jb 0x4779ae
mov ecx, dword [ebx]
jmp 0x4779b0
mov eax, dword [eax]
jmp 0x47795c
mov ecx, ebx
lea edx, [esp + 0x5c]
push edx
call fcn.00477120
add esp, 4
push 0
push eax
or eax, 0xffffffff
mov esi, edi
mov byte [esp + 0x148], 6
call fcn.004792b0
mov byte [esp + 0x140], 5
cmp dword [esp + 0x74], 0x10
jb 0x4779ee
mov eax, dword [esp + 0x60]
push eax
call fcn.00490210
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, 0x4cc724
jne 0x477a17
mov edx, 0x4cc728
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x477a20
sub eax, esi
push eax
push edx
mov eax, edi
call fcn.004793a0
cmp dword [ebx + 0x14], 0x10
jb 0x477a3c
mov eax, dword [ebx]
jmp 0x477a3e
mov eax, ebx
mov ecx, dword [ebp + 8]
push eax
call fcn.004745d0
mov ecx, dword [esp + 0x38]
push eax
call fcn.00477660
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x477a75
call fcn.00490387
xor eax, eax
lea ecx, [ebx - 4]
cmp ecx, dword [eax + 0x10]
jb 0x477a6d
call fcn.00490387
add ebx, 0x1c
jmp 0x477920
mov eax, dword [eax]
jmp 0x477a60
push 1
push 0x4cc72c
mov eax, edi
call fcn.004793a0
lea esi, [esp + 0x44]
call fcn.00475100
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