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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x23cc
call fcn.004ad610
mov eax, dword [0x4f8004]
xor eax, esp
mov dword [esp + 0x23c8], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x6c]
push ebx
push esi
push edi
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.0042a909
xor esi, esi
push esi
push ecx
push 0x4c1e25
push 3
lea ecx, [esp + 0x7c]
call fcn.0042cf74
push esi
push ecx
push str.0123456789abcdefABCDEFxoXO
push esi
lea ecx, [esp + 0x70]
call fcn.0042cf74
push 0x7f
lea eax, [esp + 0x7c]
push eax
push dword [ebp + 0x14]
lea ecx, [esp + 0x1c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0042b794
mov eax, dword [esp + 0x78]
push dword [ebp + 0xc]
mov dword [esp + 0x60], esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
push 0x22
mov edi, eax
pop ebx
mov dword [esp + 0xc], ebx
cmp edi, 1
jl 0x4771ac
mov ecx, dword [esp + 0x78]
lea eax, [edi - 1]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x24]
mov esi, eax
mov ebx, esi
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x18]
jae 0x477642
mov eax, dword [esp + 0x40]
add eax, 0xfffffffd
cmp eax, 0x13
ja case.0x4771ca.6
jmp dword [eax*4 + 0x477680]
push 0
jmp 0x4774ac
push dword [esp + 0x48]
lea ecx, [esp + 0x64]
call fcn.0042d02b
test al, al
je case.0x4771ca.12
cmp dword [esp + 0x48], 0x2e
jne case.0x4771ca.6
mov eax, dword [esp + 0x50]
add eax, 0xffffffd0
cmp eax, 9
ja case.0x4771ca.6
jmp case.0x4771ca.12
mov ecx, dword [esp + 0x48]
call fcn.00476f35
test al, al
jne case.0x4771ca.6
push 0x3e8
lea eax, [esp + 0x1fec]
push eax
lea ecx, [esp + 0x18]
call fcn.00478c40
lea eax, [esp + 0x1fe8]
push 0x4ec918
push eax
call fcn.004978b0
pop ecx
pop ecx
test eax, eax
jne 0x47725a
push dword [esp + 0x2c]
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x1fec]
call fcn.0047700b
pop ecx
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x1fe8]
push eax
lea ecx, [ecx + 4]
call fcn.00479026
test al, al
je 0x47727f
mov dword [esp + 0x40], 1
jmp case.0x4771ca.12
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x1fe8]
push eax
lea ecx, [ecx + 0x414]
call fcn.00479026
mov ecx, dword [esp + 0x40]
test al, al
push 2
pop edx
cmovne ecx, edx
mov dword [esp + 0x40], ecx
jmp case.0x4771ca.12
mov ecx, dword [esp + 0x48]
call fcn.00476f35
test al, al
jne case.0x4771ca.6
jmp case.0x4771ca.12
mov ecx, dword [esp + 0x48]
call fcn.0042b173
cmp eax, 1
je case.0x4771ca.6
push 0x3e8
lea eax, [esp + 0x1fec]
push eax
lea ecx, [esp + 0x18]
call fcn.00478c40
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x1fe9]
push eax
lea ecx, [ecx + 0x824]
call fcn.00479026
mov ecx, dword [esp + 0x40]
test al, al
push 8
pop eax
cmove ecx, eax
jmp 0x4772a2
cmp dword [esp + 0x48], 0x2a
jne 0x477335
cmp dword [esp + 0x50], 0x2f
jne 0x477335
lea ecx, [esp + 0x10]
call fcn.0042b8bb
dec esi
mov eax, esi
neg eax
sbb eax, eax
and eax, 4
push eax
jmp 0x4774de
cmp dword [esp + 0x48], 0x2f
jne 0x477352
cmp dword [esp + 0x50], 0x2a
jne 0x477352
lea ecx, [esp + 0x10]
call fcn.0042b8bb
inc esi
jmp case.0x4771ca.6
cmp dword [esp + 0x48], 0x40
jne case.0x4771ca.6
mov eax, dword [esp + 0x40]
mov dword [esp + 0x5c], eax
push 7
jmp 0x4774ac
cmp byte [esp + 0x3d], 0
jne 0x4773f8
cmp dword [esp + 0x48], 0x40
jne 0x477510
mov eax, dword [esp + 0x40]
push 7
mov dword [esp + 0x60], eax
pop eax
jmp 0x477401
push dword [esp + 0x48]
lea ecx, [esp + 0x70]
call fcn.0042d02b
test al, al
je 0x4773ab
cmp byte [esp + 0x3d], 0
je 0x477510
push 0x3e8
lea eax, [esp + 0x1fec]
push eax
lea ecx, [esp + 0x18]
call fcn.00478c40
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x1fe9]
push eax
lea ecx, [ecx + 0xc34]
call fcn.00479026
mov ecx, dword [esp + 0x40]
test al, al
mov eax, dword [esp + 0x5c]
push 6
pop edx
cmovne ecx, edx
mov dword [esp + 0x40], ecx
cmp eax, 5
jne 0x477407
cmp byte [esp + 0x3d], 0
je 0x477407
mov eax, esi
neg eax
sbb eax, eax
and eax, 4
push eax
jmp 0x4774ac
push eax
lea ecx, [esp + 0x14]
call fcn.0042b91d
cmp dword [esp + 0x5c], 4
jne case.0x4771ca.6
cmp dword [esp + 0x48], 0x2a
jne case.0x4771ca.6
cmp dword [esp + 0x50], 0x2f
jne case.0x4771ca.6
lea ecx, [esp + 0x10]
call fcn.0042b8bb
lea ecx, [esp + 0x10]
call fcn.0042b8bb
sub esi, 1
jmp 0x4772b6
push 0x10
lea ecx, [esp + 0x14]
call fcn.0042b91d
cmp byte [esp + 0x3d], 0
je 0x477462
push 0x13
jmp 0x4774ac
movzx eax, bl
cmp dword [esp + 0x48], eax
je 0x4774dc
cmp dword [esp + 0x48], 0x5c
jne 0x477510
push 0x12
lea ecx, [esp + 0x14]
call fcn.0042b91d
lea ecx, [esp + 0x10]
call fcn.00477070
jmp case.0x4771ca.6
cmp byte [esp + 0x3c], 0
je case.0x4771ca.6
jmp case.0x4771ca.12
push 0x14
lea ecx, [esp + 0x14]
call fcn.0042b91d
cmp byte [esp + 0x3d], 0
je 0x4774b7
push 0x16
lea ecx, [esp + 0x14]
call fcn.0042b91d
jmp case.0x4771ca.6
movzx eax, bl
cmp dword [esp + 0x48], eax
jne 0x477510
cmp ebx, dword [esp + 0x50]
jne 0x4774dc
push 0x15
lea ecx, [esp + 0x14]
call fcn.0042b91d
lea ecx, [esp + 0x10]
call fcn.0042b8bb
jmp case.0x4771ca.6
push 0
lea ecx, [esp + 0x14]
call fcn.0042b947
cmp byte [esp + 0x3d], 0
je 0x477510
cmp dword [esp + 0x40], 0x16
jne 0x4774f9
mov edx, ebx
jmp 0x477503
xor edx, edx
cmp dword [esp + 0x40], 4
cmove edx, esi
mov eax, dword [esp + 0x78]
push edx
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
inc edi
cmp dword [esp + 0x40], 0
jne 0x47762b
cmp dword [esp + 0x48], 0x40
jne 0x477556
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0xc]
call fcn.00476f6f
test al, al
je 0x477550
push 0x14
lea ecx, [esp + 0x14]
call fcn.0042b91d
lea ecx, [esp + 0x10]
call fcn.0042b8bb
mov ebx, dword [esp + 0xc]
jmp 0x47762b
mov ebx, dword [esp + 0xc]
jmp 0x477564
mov edx, dword [esp + 0x48]
cmp edx, 0x30
jl 0x477564
cmp edx, 0x39
jle 0x477577
cmp dword [esp + 0x48], 0x2e
jne 0x47757e
mov eax, dword [esp + 0x50]
add eax, 0xffffffd0
cmp eax, 9
ja 0x47757e
push 0xb
jmp 0x477622
mov ecx, dword [esp + 0x48]
call fcn.0042b173
cmp eax, 1
jne 0x477595
push 8
pop eax
push eax
jmp 0x477622
mov ecx, dword [esp + 0x48]
call fcn.0042b173
test eax, eax
jne 0x4775a6
push 9
jmp 0x477622
cmp dword [esp + 0x48], 0x5f
jne 0x4775b1
push 0xa
jmp 0x477622
cmp dword [esp + 0x48], 0x2f
jne 0x4775d8
cmp dword [esp + 0x50], 0x2a
jne 0x4775d8
push 4
lea ecx, [esp + 0x14]
call fcn.0042b91d
xor esi, esi
lea ecx, [esp + 0x10]
inc esi
call fcn.0042b8bb
jmp 0x47762b
cmp dword [esp + 0x48], 0x25
jne 0x4775e3
push 5
jmp 0x477622
cmp dword [esp + 0x48], 0x27
jne 0x4775f5
push 0x27
pop ebx
mov dword [esp + 0xc], ebx
push 0x10
jmp 0x477622
cmp dword [esp + 0x48], 0x22
jne 0x477600
push 0x22
jmp 0x4775ec
cmp dword [esp + 0x48], 0x23
jne 0x47760b
push 3
jmp 0x477622
mov edx, dword [esp + 0x48]
movsx ecx, dl
call fcn.0042d082
test al, al
jne 0x477620
cmp edx, 0x5c
jne 0x47762b
push 0xc
lea ecx, [esp + 0x14]
call fcn.0042b91d
lea ecx, [esp + 0x10]
call fcn.0042b8bb
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x18]
jb 0x4771ba
lea ecx, [esp + 0x10]
call fcn.0042b897
lea ecx, [esp + 0x78]
call fcn.0042b618
push dword [esp + 0x68]
call fcn.00487120
push dword [esp + 0x78]
call fcn.00487120
pop ecx
pop ecx
mov ecx, dword [esp + 0x23d4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00486c63
mov esp, ebp
pop ebp
ret 0x14