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

Disassembly:
push 0xffffffffffffffff
push 0x4c7788
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [esp + 0x90]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
push eax
lea ecx, [esp + 0x20]
xor ebx, ebx
push ecx
mov dword [esp + 0x20], ebx
call fcn.0044c240
add esp, 8
mov esi, dword [esp + 0x30]
cmp esi, ebx
mov dword [esp + 0x94], ebx
jne 0x47022c
mov eax, 0x4efac4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4701c2
sub eax, edx
push eax
push 0x4efac4
lea ecx, [esp + 0x24]
call fcn.00401ab0
mov ebp, 0x10
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
call fcn.0046f7f0
test eax, eax
jne 0x4702df
mov esi, dword [esp + 0x9c]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
push ecx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00401a00
cmp dword [esp + 0x34], ebp
jb 0x4703f7
mov edx, dword [esp + 0x20]
push edx
jmp 0x4703ef
push 1
push 0xffffffffffffffff
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0x20
call fcn.00405b60
cmp eax, 0xffffffff
je 0x4701da
lea edx, [eax + 1]
cmp edx, esi
jae 0x4701da
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x34]
cmp ebp, 0x10
mov ecx, edi
jae 0x470262
lea ecx, [esp + 0x20]
mov cl, byte [ecx + edx]
cmp cl, 0x30
jl 0x4701da
cmp cl, 0x39
jg 0x4701da
inc edx
cmp edx, esi
jb 0x470257
push eax
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.00401a00
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 1
call fcn.00401a00
mov eax, dword [esp + 0x50]
mov ebp, 0x10
cmp eax, ebp
mov byte [esp + 0x94], bl
jb 0x4701df
mov edx, dword [esp + 0x3c]
push edx
call fcn.00442830
add esp, 4
jmp 0x4701df
mov edi, 2
lea eax, [esp + 0x70]
push edi
push eax
call fcn.0044c3f0
mov esi, eax
push 0x4e9430
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0xa8], 2
call fcn.00401bb0
push esi
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0xb4], 3
call fcn.00401c60
add esp, 0x20
cmp dword [esp + 0x6c], ebp
jb 0x470337
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00442830
add esp, 4
cmp dword [esp + 0x88], ebp
mov esi, 0xf
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
mov byte [esp + 0x94], 5
jb 0x470366
mov edx, dword [esp + 0x74]
push edx
call fcn.00442830
add esp, 4
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.0046f7f0
test eax, eax
je 0x470414
cmp dword [esp + 0x50], ebp
mov byte [esp + 0x94], bl
jb 0x4703a8
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00442830
add esp, 4
inc edi
cmp edi, 0x270f
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
jl 0x4702e4
mov esi, dword [esp + 0x9c]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x24]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00401a00
cmp dword [esp + 0x34], ebp
jb 0x4703f7
mov eax, dword [esp + 0x20]
push eax
call fcn.00442830
add esp, 4
mov ecx, dword [esp + 0x8c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret 8
mov esi, dword [esp + 0x9c]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x40]
mov edi, 0xf
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00401a00
cmp dword [esp + 0x50], ebp
jb 0x47044b
mov eax, dword [esp + 0x3c]
push eax
call fcn.00442830
add esp, 4
cmp dword [esp + 0x34], ebp
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
jb 0x4703f7
mov ecx, dword [esp + 0x20]
push ecx
jmp 0x4703ef