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

Disassembly:
push ebp
push edi
xor edi, edi
push esi
push ebx
sub esp, 0x9c
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x3c], ecx
mov ebx, dword [esp + 0xc4]
lea esi, [eax + 0x6c]
mov dword [esp], esi
call fcn.0050b140
mov dword [esp], esi
xor esi, esi
mov dword [esp + 0x40], eax
call fcn.0050b1a0
mov ebp, eax
mov eax, dword [esp + 0xcc]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [esp + 0x58], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0xc4], ebx
lea eax, [esp + 0xb8]
lea ecx, [esp + 0xb0]
mov dword [esp], eax
call fcn.00433de0
sub esp, 4
cmp al, 1
je 0x474c80
mov eax, dword [esp + 0x38]
cmp edi, eax
jae 0x474c80
test esi, esi
jne 0x474d00
mov ebx, dword [esp + 0xcc]
add ebx, edi
movsx ecx, byte [ebx]
movzx edx, cl
movzx eax, byte [ebp + edx + 0x11d]
test al, al
jne 0x474b29
mov eax, dword [ebp]
mov eax, dword [eax + 0x20]
cmp eax, 0x436dd0
jne 0x474cb8
test cl, cl
je 0x474b2d
mov byte [ebp + edx + 0x11d], cl
mov eax, ecx
cmp al, 0x25
je 0x474b60
movzx ebx, byte [ebx]
lea ecx, [esp + 0xb0]
call fcn.00433f40
cmp bl, al
je 0x474c50
mov dword [esp + 0x58], 4
mov esi, 4
add edi, 1
jmp 0x474abb
mov eax, dword [esp + 0xcc]
lea edx, [edi + 1]
movzx ebx, byte [eax + edi + 1]
movzx eax, byte [ebp + ebx + 0x11d]
mov ecx, ebx
test al, al
jne 0x474b9f
mov eax, dword [ebp]
mov eax, dword [eax + 0x20]
cmp eax, 0x436dd0
jne 0x474d10
test cl, cl
je 0x474cf8
mov byte [ebp + ebx + 0x11d], cl
mov eax, ecx
mov dword [esp + 0x5c], 0
cmp al, 0x45
je 0x474bb3
cmp al, 0x4f
jne 0x474ce0
mov eax, dword [esp + 0xcc]
add edi, 2
movzx ebx, byte [eax + edi]
movzx eax, byte [ebp + ebx + 0x11d]
mov edx, ebx
test al, al
jne 0x474bf1
mov eax, dword [ebp]
mov eax, dword [eax + 0x20]
cmp eax, 0x436dd0
jne 0x474d48
test dl, dl
je case.0x474bff.4
mov byte [ebp + ebx + 0x11d], dl
mov eax, edx
sub eax, 0x41
cmp al, 0x38
ja case.0x474bff.4
movzx eax, al
jmp dword [eax*4 + 0x5185e0]
lea ecx, [esp + 0xb0]
call fcn.00433f40
movzx ebx, al
movzx ecx, byte [ebp + ebx + 0x11d]
test cl, cl
jne 0x474c44
mov edx, dword [ebp]
mov ecx, eax
mov edx, dword [edx + 0x20]
cmp edx, 0x436dd0
jne 0x47569f
test cl, cl
je case.0x474bff.4
mov byte [ebp + ebx + 0x11d], cl
cmp cl, 9
jne case.0x474bff.4
lea esi, [esi]
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x474d38
add eax, 1
mov dword [ecx + 8], eax
mov dword [esp + 0xb4], 0xffffffff
jmp 0x474b51
mov ebx, dword [esp + 0xc4]
test esi, esi
jne 0x474c93
mov eax, dword [esp + 0x38]
cmp edi, eax
je 0x474c96
or dword [ebx], 4
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret 0x20
mov dword [esp + 0x44], edx
mov dword [esp], ecx
mov ecx, ebp
mov dword [esp + 4], 0
call eax
sub esp, 8
mov ecx, eax
mov edx, dword [esp + 0x44]
jmp 0x474b1c
sub eax, 0x41
mov edi, edx
cmp al, 0x38
jbe 0x474bfc
jmp case.0x474bff.4
mov edi, edx
jmp case.0x474bff.4
mov ebx, dword [esp + 0xc4]
jmp 0x474c93
movsx ecx, bl
mov dword [esp + 0x44], edx
mov dword [esp], ecx
mov ecx, ebp
mov dword [esp + 4], 0
call eax
sub esp, 8
mov ecx, eax
mov edx, dword [esp + 0x44]
jmp 0x474b8e
call fcn.004d7d40
jmp 0x474c69
movsx edx, bl
mov dword [esp + 4], 0
mov ecx, ebp
mov dword [esp], edx
call eax
sub esp, 8
mov edx, eax
jmp 0x474be0
lea eax, [esp + 0x58]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
call fcn.00473bd0
mov esi, dword [esp + 0x58]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
test esi, esi
jne 0x474b51
mov edx, dword [esp + 0x5c]
lea ecx, [edx + 0x64]
lea eax, [edx - 0x76c]
test edx, edx
mov edx, dword [esp + 0xc8]
cmovs eax, ecx
mov dword [edx + 0x14], eax
jmp 0x474b51
lea ebx, [esp + 0x60]
mov ecx, dword [esp + 0x40]
mov dword [esp], ebx
call fcn.0042eff0
sub esp, 4
lea eax, [esp + 0x58]
mov edx, dword [esp + 0xbc]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x18], 0xc
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00474220
sub esp, 0x24
mov esi, dword [esp + 0x58]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
test esi, esi
jne 0x474b51
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0xc8]
mov dword [edx + 0x10], eax
jmp 0x474b51
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
mov esi, dword [eax + 0x30]
mov ebx, dword [eax + 0x34]
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x44]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x44], edx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x18], 7
mov dword [esp + 0x70], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], ebx
call fcn.00474220
sub esp, 0x24
mov esi, dword [esp + 0x58]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
test esi, esi
jne 0x474b51
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0xc8]
mov dword [edx + 0x18], eax
jmp 0x474b51
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
lea esi, [esi]
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0xbc]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
call fcn.00474a60
sub esp, 0x20
mov dword [esp + 0xb0], eax
mov esi, dword [esp + 0x58]
mov dword [esp + 0xb4], edx
jmp 0x474b51
lea ebx, [esp + 0x60]
mov dword [esp + 4], 0x5185cf
mov dword [esp + 8], ebx
mov dword [esp], 0x5185c6
mov ecx, ebp
call fcn.00436c80
sub esp, 0xc
mov dword [esp + 0x1c], ebx
jmp 0x474f70
lea eax, [esp + 0x58]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x18], 0x17
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0x5c]
mov edx, dword [esp + 0xbc]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00473780
sub esp, 0x28
mov esi, dword [esp + 0x58]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
test esi, esi
jne 0x474b51
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0xc8]
mov dword [edx + 8], eax
jmp 0x474b51
lea eax, [esp + 0x58]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 1
jmp 0x475031
lea eax, [esp + 0x58]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x18], 0x3b
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00473780
sub esp, 0x28
mov esi, dword [esp + 0x58]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
test esi, esi
jne 0x474b51
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0xc8]
mov dword [edx + 4], eax
jmp 0x474b51
lea ecx, [esp + 0xb0]
call fcn.00433f40
mov edx, dword [ebp + 0x18]
movzx eax, al
test byte [edx + eax*2], 1
je case.0x474bff.4
lea eax, [esp + 0x58]
lea ebx, [esp + 0x60]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x14], 0x5164a0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x10], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00474220
sub esp, 0x24
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xb8]
lea ecx, [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 0xb4], edx
call fcn.00433de0
sub esp, 4
mov esi, dword [esp + 0x58]
test al, al
jne 0x474b51
mov eax, esi
or eax, dword [esp + 0x60]
jne 0x474b51
lea ecx, [esp + 0xb0]
call fcn.00433f40
cmp byte [ebp + 0x1c], 0
mov dword [esp + 0x44], eax
je 0x4756e1
movzx eax, byte [ebp + 0x4a]
cmp byte [esp + 0x44], al
je 0x47526d
lea ecx, [esp + 0xb0]
call fcn.00433f40
cmp byte [ebp + 0x1c], 0
mov dword [esp + 0x44], eax
je 0x4756f5
movzx eax, byte [ebp + 0x48]
cmp byte [esp + 0x44], al
jne 0x474b51
lea eax, [esp + 0x58]
xor ecx, ecx
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x14], ecx
mov ecx, esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x17
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00473780
sub esp, 0x28
lea ecx, [esp + 0x58]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x18], 0x3b
mov dword [esp + 8], ecx
mov ecx, esi
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
call fcn.00473780
sub esp, 0x28
mov dword [esp + 0xb0], eax
mov esi, dword [esp + 0x58]
mov dword [esp + 0xb4], edx
jmp 0x474b51
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x58]
mov esi, dword [eax + 0x4c]
mov ebx, dword [eax + 0x50]
mov ecx, dword [eax + 0x54]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x44], edx
jmp 0x474ea8
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x1c], eax
jmp 0x474f70
lea ebx, [esp + 0x60]
mov ecx, dword [esp + 0x40]
mov dword [esp], ebx
call fcn.0042f200
jmp 0x474df2
lea ebx, [esp + 0x60]
mov dword [esp + 4], 0x5185d5
mov dword [esp + 8], ebx
mov dword [esp], 0x5185cf
jmp 0x474ff3
lea eax, [esp + 0x58]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x18], 0x3c
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00473780
sub esp, 0x28
mov esi, dword [esp + 0x58]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
test esi, esi
jne 0x474b51
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0xc8]
mov dword [edx], eax
jmp 0x474b51
lea ebx, [esp + 0x60]
mov dword [esp + 4], 0x5185de
mov dword [esp + 8], ebx
mov dword [esp], 0x5185d5
jmp 0x474ff3
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
jmp 0x474f70
lea eax, [esp + 0x58]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x18], 0x1f
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 1
lea eax, [esp + 0x5c]
mov edx, dword [esp + 0xbc]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00473780
sub esp, 0x28
mov esi, dword [esp + 0x58]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
test esi, esi
jne 0x474b51
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0xc8]
mov dword [edx + 0xc], eax
jmp 0x474b51
lea ecx, [esp + 0xb0]
call fcn.00433f40
mov edx, dword [ebp + 0x18]
movzx eax, al
test byte [edx + eax*2], 0x20
je 0x47566f
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4756d7
add eax, 1
mov dword [ecx + 8], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xb4], 0xffffffff
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 9
mov dword [esp + 0x14], 1
jmp 0x4754b1
lea eax, [esp + 0x58]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x18], 0xc
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00473780
sub esp, 0x28
mov esi, dword [esp + 0x58]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
test esi, esi
jne 0x474b51
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0xc8]
sub eax, 1
mov dword [edx + 0x10], eax
jmp 0x474b51
lea ecx, [esp + 0xb0]
call fcn.00433f40
movzx ebx, al
movzx ecx, byte [ebp + ebx + 0x11d]
test cl, cl
jne 0x475661
mov edx, dword [ebp]
mov ecx, eax
mov edx, dword [edx + 0x20]
cmp edx, 0x436dd0
jne 0x4756bb
test cl, cl
je case.0x474bff.4
mov byte [ebp + ebx + 0x11d], cl
cmp cl, 0xa
jne case.0x474bff.4
jmp 0x474c50
lea eax, [esp + 0x58]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x18], 0x1f
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0xa
jmp 0x4754b1
movsx eax, al
mov ecx, ebp
mov dword [esp + 4], 0
mov dword [esp], eax
call edx
sub esp, 8
mov ecx, eax
jmp 0x474c35
movsx eax, al
mov ecx, ebp
mov dword [esp + 4], 0
mov dword [esp], eax
call edx
sub esp, 8
mov ecx, eax
jmp 0x475652
call fcn.004d7d40
jmp 0x475552
mov dword [esp], 0x2d
mov ecx, ebp
call fcn.00436d00
push edx
jmp 0x47523f
mov dword [esp], 0x2b
mov ecx, ebp
call fcn.00436d00
push edx
jmp 0x475263