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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x4c
mov eax, dword [ecx + 0x30]
test eax, eax
jne 0x4ac810
mov eax, dword [ecx + 0x48]
mov dword [esp + 0x18], 0
test eax, eax
je 0x4ac7a0
mov eax, dword [ebx + 0x84]
cmp dword [ebx + 0x1c], eax
mov byte [esp + 0x10], 0
je 0x4ac870
nop
lea esi, [esi]
mov eax, dword [ebx + 0x38]
mov dword [ebx + 0x3c], 0
mov byte [eax], 0
mov edi, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov eax, edi
and eax, esi
cmp eax, 0xffffffff
je 0x4ac853
mov edx, edi
mov byte [esp + 0x14], 0x25
or edx, esi
jne 0x4ac7b0
lea ebp, [esp + 0x20]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov esi, ebp
call fcn.004ada10
mov edx, dword [esi]
add esi, 4
lea eax, [edx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x4ac4a5
mov edx, eax
lea edi, [ebx + 0x38]
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea edx, [esi + 2]
mov ecx, eax
cmove esi, edx
add cl, al
movzx ecx, byte [esp + 0x14]
sbb esi, 3
sub esi, ebp
lea eax, [esi + 1]
mov byte [esp + esi + 0x21], 0
mov byte [esp + esi + 0x20], cl
cmp eax, 3
ja 0x4ac56d
mov edx, dword [ebx + 0x3c]
cmp edx, dword [ebx + 0x40]
je 0x4ac910
mov ecx, dword [ebx + 0x38]
lea eax, [edx + 1]
cmp esi, 2
mov byte [ecx + edx], 0x20
mov byte [ecx + edx + 1], 0
mov dword [ebx + 0x3c], eax
je 0x4ac56d
cmp dword [ebx + 0x40], eax
je 0x4ac900
mov ecx, dword [ebx + 0x38]
lea edx, [eax + 1]
cmp esi, 1
mov byte [ecx + eax], 0x20
mov byte [ecx + eax + 1], 0
mov dword [ebx + 0x3c], edx
je 0x4ac56d
cmp edx, dword [ebx + 0x40]
je 0x4ac930
mov ecx, dword [ebx + 0x38]
lea eax, [edx + 1]
test esi, esi
mov byte [ecx + edx], 0x20
mov byte [ecx + edx + 1], 0
mov dword [ebx + 0x3c], eax
je 0x4ac56d
cmp eax, dword [ebx + 0x40]
je 0x4ac920
mov edx, dword [ebx + 0x38]
lea ecx, [eax + 1]
mov byte [edx + eax], 0x20
mov byte [edx + eax + 1], 0
mov dword [ebx + 0x3c], ecx
mov dword [esp], ebp
mov ecx, edi
call fcn.00471380
sub esp, 4
cmp byte [esp + 0x10], 0
jne 0x4ac7e0
lea ecx, [ebx + 0x98]
mov dword [esp], edi
call fcn.004710b0
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
sub esp, 4
mov esi, eax
or esi, edx
jne 0x4ac973
mov esi, dword [ebx + 0x1c]
test esi, esi
jne 0x4ac940
mov ecx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x3c]
test ecx, ecx
je 0x4ac6f1
cmp dword [ebx + 0xac], eax
jbe 0x4ac6f1
cmp eax, dword [ebx + 0x40]
je 0x4ac9f0
mov edx, dword [ebx + 0x38]
lea ecx, [eax + 1]
lea esi, [ebx + 0x24]
mov dword [esp + 0x14], esi
mov byte [edx + eax], 0x20
mov byte [edx + eax + 1], 0
lea eax, [ebx + 0x50]
mov dword [ebx + 0x3c], ecx
mov ecx, esi
mov dword [esp + 4], eax
mov esi, eax
mov dword [esp], ecx
mov dword [esp + 0x10], eax
call fcn.004741d0
mov dword [esp + 4], 0x20
mov dword [esp], 0xa
mov ecx, esi
call fcn.00471cd0
mov eax, dword [ebx + 0x54]
add eax, dword [ebx + 0x3c]
sub esp, 8
cmp eax, dword [ebx + 0xac]
jbe 0x4ac6dd
mov ebp, dword [ebx + 0x28]
test ebp, ebp
je 0x4ac6d0
mov dword [esp + 0x1c], edi
lea esi, [ebx + 0x5c]
mov edi, ebx
jmp 0x4ac64d
test ebp, ebp
je 0x4ac9e0
mov eax, ebp
mov ecx, 1
shr eax, 3
test eax, eax
cmove eax, ecx
mov ecx, esi
sub ebp, eax
mov eax, dword [esp + 0x14]
mov ebx, ebp
shr ebx, 1
mov dword [esp], eax
call fcn.00472a90
mov ecx, dword [edi + 0x28]
sub esp, 4
mov dword [esp], ebx
sub ecx, ebp
mov dword [esp + 4], ecx
mov ecx, esi
call fcn.00473a60
sub esp, 8
mov ecx, esi
mov dword [esp + 4], 0x7343e4
mov dword [esp], ebx
call fcn.00473510
sub esp, 8
mov eax, dword [esp + 0x10]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.004741d0
mov eax, dword [edi + 0x54]
add eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0xac]
ja 0x4ac645
test ebp, ebp
mov ebx, edi
mov edi, dword [esp + 0x1c]
jne 0x4ac6dd
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebx + 0x50]
mov dword [ebx + 0x54], 0
mov byte [eax], 0
mov eax, dword [esp + 0x10]
mov ecx, edi
mov dword [esp], eax
call fcn.004715b0
mov eax, dword [ebx + 0x3c]
sub esp, 4
cmp eax, dword [ebx + 0x48]
je 0x4ac9b0
mov dword [esp], 0
mov ecx, ebx
call fcn.004ac170
mov eax, dword [ebx + 0xa4]
sub esp, 4
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x38]
mov dword [esp], eax
call sub.msvcrt.dll_fputs
cmp byte [ebx + 0xa8], 0
jne 0x4ac9d0
lea ecx, [ebx + 0x44]
mov dword [esp], edi
call fcn.004710b0
sub esp, 4
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
lea ecx, [ebx + 0x80]
mov dword [ebx + 0x68], eax
mov eax, dword [ebx + 8]
mov dword [ebx + 0x6c], edx
mov edx, dword [ebx + 0xc]
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x74], edx
mov edx, dword [ebx + 0x14]
mov dword [ebx + 0x78], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x7c], edx
mov dword [esp], eax
call fcn.004710b0
lea eax, [ebx + 0x24]
sub esp, 4
lea ecx, [ebx + 0x8c]
mov dword [esp], eax
call fcn.00472a90
mov edx, dword [ebx + 0x30]
sub esp, 4
test edx, edx
je 0x4ac796
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x34], eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov byte [esp + 0x10], 0
jmp 0x4ac460
imul ecx, dword [ebx + 4], 0x64
mov eax, 0x64
mul dword [ebx]
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
add edx, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005d5030
mov esi, eax
mov edi, edx
jmp 0x4ac48f
mov eax, dword [ebx + 0x3c]
cmp dword [ebx + 0x9c], eax
jne 0x4ac585
mov eax, dword [ebx + 0x98]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x38]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4ac585
jmp 0x4ac796
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x4ac7a0
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4ac447
sub edx, dword [ebx + 0x34]
cmp eax, edx
ja 0x4ac796
mov eax, dword [ebx + 0x84]
cmp dword [ebx + 0x1c], eax
mov byte [esp + 0x10], 0
jne 0x4ac460
jmp 0x4ac870
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
mov byte [esp + 0x14], 0x4d
shrd esi, edi, 0x14
shr edi, 0x14
jmp 0x4ac48f
mov eax, dword [ebx + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x80]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4ac460
mov eax, dword [ebx + 0x90]
cmp dword [ebx + 0x28], eax
jne 0x4ac460
mov eax, dword [ebx + 0x24]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x8c]
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x4ac460
mov eax, dword [ebx + 0x78]
mov edx, dword [ebx + 0x7c]
xor eax, dword [ebx + 0x10]
xor edx, dword [ebx + 0x14]
or edx, eax
jne 0x4ac460
mov eax, dword [ebx + 0x70]
mov edx, dword [ebx + 0x74]
xor eax, dword [ebx + 8]
xor edx, dword [ebx + 0xc]
mov byte [esp + 0x10], 1
or edx, eax
jne 0x4ac460
mov eax, dword [ebx + 0x68]
mov edx, dword [ebx + 0x6c]
xor eax, dword [ebx]
xor edx, dword [ebx + 4]
or edx, eax
jne 0x4ac460
jmp 0x4ac796
mov ecx, edi
call fcn.00470a20
mov eax, dword [ebx + 0x3c]
jmp 0x4ac51c
mov ecx, edi
call fcn.00470a20
mov edx, dword [ebx + 0x3c]
jmp 0x4ac4fc
mov ecx, edi
call fcn.00470a20
mov eax, dword [ebx + 0x3c]
jmp 0x4ac55b
mov ecx, edi
call fcn.00470a20
mov edx, dword [ebx + 0x3c]
jmp 0x4ac53c
mov eax, dword [ebx + 0x3c]
cmp dword [ebx + 0x40], eax
je 0x4aca10
mov edx, dword [ebx + 0x38]
lea ecx, [eax + 1]
mov byte [edx + eax], 0x20
mov byte [edx + eax + 1], 0
lea eax, [ebx + 0x18]
mov dword [ebx + 0x3c], ecx
mov ecx, edi
mov dword [esp], eax
call fcn.004715b0
sub esp, 4
jmp 0x4ac5b1
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp], edx
call fcn.004ada10
mov eax, dword [ebx + 0x3c]
cmp dword [ebx + 0x40], eax
je 0x4aca00
mov edx, dword [ebx + 0x38]
lea ecx, [eax + 1]
mov byte [edx + eax], 0x20
mov byte [edx + eax + 1], 0
mov dword [ebx + 0x3c], ecx
mov dword [esp], ebp
mov ecx, edi
call fcn.00471380
sub esp, 4
jmp 0x4ac5a6
mov eax, dword [ebx + 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x44]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4ac6fa
jmp 0x4ac73d
mov ecx, dword [ebx + 0xa4]
call fcn.00474040
jmp 0x4ac72f
mov ebx, edi
mov edi, dword [esp + 0x1c]
jmp 0x4ac6d0
mov ecx, edi
call fcn.00470a20
mov eax, dword [ebx + 0x3c]
jmp 0x4ac5d4
mov ecx, edi
call fcn.00470a20
mov eax, dword [ebx + 0x3c]
jmp 0x4ac98b
mov ecx, edi
call fcn.00470a20
mov eax, dword [ebx + 0x3c]
jmp 0x4ac94c