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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
lea edx, [ebx + 0x40]
mov ecx, dword [esi + 4]
mov dword [ebp - 4], edx
cmp ecx, dword [esi + 8]
jb 0x473886
cmp dword [edx], 7
jne 0x473d0f
mov eax, dword [edx]
cmp eax, 8
ja case.default.0x47388d
jmp dword [eax*4 + 0x473d18]
mov eax, dword [esi]
movzx edi, byte [ecx + eax]
lea eax, [ecx + 1]
mov dword [esi + 4], eax
test edi, edi
je 0x473d03
cmp edi, 0xe0
jae 0x4738c7
cmp edi, 1
je 0x4738c7
cmp byte [ebx + 0x50], 0
je 0x473901
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret
mov word [ebx + 0x50], 0x100
cmp dword [ebx + 0x3c], 0
jne 0x4738e5
mov eax, dword [esi + 0xc]
add eax, dword [esi + 0x10]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x10]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x24], 0
cmp edi, 0x80
jb 0x47399e
mov eax, edi
mov dword [edx], 1
and eax, 0x1f
shl eax, 0x10
mov dword [ebx + 0x48], eax
cmp edi, 0xc0
jb 0x473936
mov byte [ebx + 0x51], 0
mov dword [ebx + 0x44], 5
jmp case.default.0x47388d
cmp byte [ebx + 0x51], 0
jne 0x4738bb
mov dword [ebx + 0x44], 6
cmp edi, 0xa0
jb case.default.0x47388d
mov dword [ebx + 0x64], 0
lea edi, [ebx + 0x78]
mov dword [ebx + 0x54], 0
mov ecx, 0x1b9b
mov dword [ebx + 0x58], 0
mov eax, 0x4000400
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
rep stosd dword es:[edi], eax
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0
mov dword [ebx + 8], 5
jmp case.default.0x47388d
cmp edi, 2
ja 0x4738bb
mov dword [edx], 3
mov dword [ebx + 0x44], 8
jmp case.default.0x47388d
mov eax, dword [esi]
movzx eax, byte [ecx + eax]
shl eax, 8
add dword [ebx + 0x48], eax
inc dword [esi + 4]
mov dword [edx], 2
jmp case.default.0x47388d
mov eax, dword [esi]
movzx eax, byte [ecx + eax]
inc eax
add dword [ebx + 0x48], eax
inc dword [esi + 4]
mov dword [edx], 3
jmp case.default.0x47388d
mov eax, dword [esi]
movzx eax, byte [ecx + eax]
shl eax, 8
mov dword [ebx + 0x4c], eax
inc dword [esi + 4]
mov dword [edx], 4
jmp case.default.0x47388d
mov eax, dword [esi]
movzx eax, byte [ecx + eax]
inc eax
add dword [ebx + 0x4c], eax
inc dword [esi + 4]
mov eax, dword [ebx + 0x44]
mov dword [edx], eax
jmp case.default.0x47388d
mov eax, dword [esi]
mov dl, byte [ecx + eax]
lea eax, [ecx + 1]
mov byte [ebp + 0xf], dl
mov dword [esi + 4], eax
cmp dl, 0xe0
ja 0x4738bb
xor edi, edi
cmp dl, 0x2d
jb 0x473a5f
movzx ecx, dl
mov eax, 0x6c16c16d
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
mov dl, byte [ebp + 0xf]
shr ecx, 5
movzx eax, cl
add dl, 0xd3
inc edi
sub eax, 1
jne 0x473a53
mov byte [ebp + 0xf], dl
mov ecx, edi
mov dword [ebx + 0x70], 0
mov eax, 1
xor edi, edi
shl eax, cl
dec eax
mov dword [ebx + 0x74], eax
cmp dl, 9
jb 0x473a9c
movzx ecx, dl
mov eax, 0x38e38e39
mul ecx
shr edx, 1
movzx eax, dl
mov dl, byte [ebp + 0xf]
nop dword [eax]
add dl, 0xf7
inc edi
sub eax, 1
jne 0x473a90
mov dword [ebx + 0x70], edi
movzx eax, dl
mov dword [ebx + 0x6c], eax
add eax, edi
cmp eax, 4
ja 0x4738bb
mov edx, dword [ebp - 4]
mov ecx, edi
mov eax, 1
mov dword [ebx + 0x64], 0
shl eax, cl
lea edi, [ebx + 0x78]
dec eax
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x70], eax
mov ecx, 0x1b9b
mov dword [ebx + 0x58], 0
mov eax, 0x4000400
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
rep stosd dword es:[edi], eax
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0
mov dword [ebx + 8], 5
mov dword [edx], 6
cmp dword [ebx + 0x4c], 5
jb 0x4738bb
cmp dword [ebx + 8], 0
jbe 0x473b46
nop dword [eax]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x473d0f
mov eax, dword [esi]
movzx ecx, byte [ecx + eax]
mov eax, dword [ebx + 4]
shl eax, 8
add ecx, eax
mov dword [ebx + 4], ecx
inc dword [esi + 4]
sub dword [ebx + 8], 1
jne 0x473b20
add dword [ebx + 0x4c], 0xfffffffb
mov dword [edx], 7
mov edi, dword [esi + 0x14]
sub edi, dword [esi + 0x10]
cmp edi, dword [ebx + 0x48]
mov edx, dword [ebx + 0x2c]
mov ecx, edx
cmovae edi, dword [ebx + 0x48]
mov eax, dword [ebx + 0x20]
sub ecx, eax
add eax, edi
cmp ecx, edi
push esi
cmova edx, eax
push ebx
mov dword [ebx + 0x28], edx
call fcn.004726d0
add esp, 8
test al, al
je 0x4738bb
mov eax, dword [ebx + 0x20]
mov edi, eax
mov ecx, dword [ebx + 0x1c]
sub edi, ecx
cmp dword [ebx + 0x3c], 0
je 0x473bb5
cmp eax, dword [ebx + 0x2c]
jne 0x473b9f
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x18]
add eax, ecx
push edi
push eax
mov eax, dword [esi + 0xc]
add eax, dword [esi + 0x10]
push eax
call fcn.00493080
add esp, 0xc
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x1c], eax
add dword [esi + 0x10], edi
sub dword [ebx + 0x48], edi
jne 0x473c03
cmp dword [ebx + 0x4c], 0
ja 0x4738bb
cmp dword [ebx + 0x68], 0
ja 0x4738bb
cmp dword [ebx + 4], 0
jne 0x4738bb
mov edx, dword [ebp - 4]
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0
mov dword [ebx + 8], 5
mov dword [edx], 0
jmp case.default.0x47388d
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x14]
je 0x473d0f
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x473c26
mov eax, dword [ebx + 0x6ee4]
cmp eax, dword [ebx + 0x4c]
jb 0x473d0f
mov edx, dword [ebp - 4]
jmp case.default.0x47388d
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x473cf8
mov edi, eax
mov dword [ebp + 0xc], edi
nop
mov edx, dword [esi + 8]
cmp ecx, edx
jae 0x473d0f
mov eax, dword [esi + 0x10]
mov dword [ebp - 8], eax
mov eax, edi
mov edi, dword [esi + 0x14]
cmp dword [esi + 0x10], edi
jae 0x473cf1
sub edi, dword [ebp - 8]
sub edx, ecx
mov eax, dword [ebx + 0x2c]
cmp edx, edi
mov ecx, dword [ebp + 0xc]
cmovae edx, edi
sub eax, dword [ebx + 0x20]
cmp edx, eax
mov edi, ecx
cmovbe eax, edx
cmp eax, ecx
cmovbe edi, eax
sub ecx, edi
mov dword [ebx + 0x4c], ecx
mov eax, dword [esi + 4]
add eax, dword [esi]
push edi
push eax
mov eax, dword [ebx + 0x20]
add eax, dword [ebx + 0x18]
push eax
call fcn.00493080
mov ecx, dword [ebx + 0x20]
add esp, 0xc
add ecx, edi
mov dword [ebx + 0x20], ecx
cmp dword [ebx + 0x24], ecx
jae 0x473ca9
mov dword [ebx + 0x24], ecx
cmp dword [ebx + 0x3c], 0
je 0x473cd2
xor edx, edx
mov eax, ecx
cmp ecx, dword [ebx + 0x2c]
push edi
cmove eax, edx
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 4]
add eax, dword [esi]
push eax
mov eax, dword [esi + 0xc]
add eax, dword [esi + 0x10]
push eax
call fcn.00493080
add esp, 0xc
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x1c], eax
add dword [esi + 4], edi
add dword [esi + 0x10], edi
mov eax, dword [ebx + 0x4c]
mov edi, eax
mov ecx, dword [esi + 4]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x473c40
mov edx, dword [ebp - 4]
test eax, eax
jne 0x473d0f
mov dword [edx], 0
jmp case.default.0x47388d
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret