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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x890
test eax, eax
push ebx
push ebp
push esi
push edi
jne 0x4b7683
pop edi
pop esi
pop ebp
mov ax, 0x10
pop ebx
add esp, 0x890
ret 0x14
mov ecx, dword [0x4aa9e8]
mov eax, dword [eax + 0x54]
push ecx
push eax
call fcn.004b5b20
mov edx, eax
add esp, 8
test edx, edx
mov dword [esp + 0x10], edx
jne 0x4b76b1
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
add esp, 0x890
ret 0x14
mov ax, word [edx + 0x44]
test ax, ax
je 0x4b7ada
cmp ax, 0xffff
je 0x4b7ada
mov ebp, dword [esp + 0x8ac]
cmp bp, word [edx + 0x1a4]
ja 0x4b7ac9
cmp bp, 7
ja 0x4b76f3
pop edi
pop esi
pop ebp
mov ax, 4
pop ebx
add esp, 0x890
ret 0x14
mov ebx, dword [esp + 0x8b4]
cmp bl, 7
je 0x4b7715
cmp bl, 3
jbe 0x4b7715
pop edi
pop esi
pop ebp
mov ax, 6
pop ebx
add esp, 0x890
ret 0x14
xor eax, eax
mov ecx, 0x64
mov dword [esp + 0x50], eax
lea edi, [esp + 0x260]
mov dword [esp + 0x54], eax
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x3f0]
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0xd0]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ecx
mov ecx, 0xc
lea edi, [esp + 0x5c]
mov dword [esp + 0x34], eax
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0x20], ecx
stosw word es:[edi], ax
mov dword [esp + 0x24], ecx
xor eax, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], ecx
movsx eax, word [edx + 0x5a]
mov cx, word [edx + eax*2 + 0x46]
lea edx, [esp + 0x44]
push ecx
push 0x4a72bc
push edx
call esi
mov edi, dword [esp + 0x1c]
xor eax, eax
lea ecx, [esp + 0x38]
mov ax, word [edi + 0x44]
push eax
push 0x4a72bc
push ecx
call esi
mov edx, dword [esp + 0x8c0]
lea eax, [esp + 0x74]
and edx, 0xffff
push edx
push 0x4a72bc
push eax
call esi
and ebp, 0xffff
lea ecx, [esp + 0x44]
push ebp
push 0x4a72bc
push ecx
call esi
mov edx, dword [esp + 0x8e0]
lea eax, [esp + 0x44]
and edx, 0xffff
push edx
push 0x4a72bc
push eax
call esi
and ebx, 0xff
lea ecx, [esp + 0x74]
push ebx
push 0x4a72bc
push ecx
call esi
add esp, 0x48
lea edx, [esp + 0x90]
push 0x40
push edx
mov eax, dword [esp + 0x8ac]
push eax
call fcn.004b44d0
test ax, ax
jne 0x4b7ade
lea ecx, [esp + 0x38]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x64]
push eax
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x54]
push edx
push eax
push 6
push 0x4a72b4
call fcn.004be3f0
mov edx, eax
add esp, 0x20
test edx, edx
jne 0x4b7897
push edi
push 0x4a
call fcn.004b4b50
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x890
ret 0x14
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x3f0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, ebx
mov ebx, dword [sym.imp.MSVCRT.dll_free]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
lea ecx, [esp + 0x54]
lea edx, [esp + 0x3f4]
push ecx
push edx
push 0x4a7378
push 3
push 0x4a71b0
call fcn.004be3f0
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x4b7909
mov eax, dword [esp + 0x10]
push eax
push 0x4a
call fcn.004b4b50
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x890
ret 0x14
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebp, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
lea ecx, [esp + 0xd4]
push ecx
call fcn.004be4d0
mov edx, eax
add esp, 8
test edx, edx
jne 0x4b7964
mov edx, dword [esp + 0x10]
push edx
push 0x4a
call fcn.004b4b50
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x890
ret 0x14
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebp, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x264]
push ecx
lea edx, [esp + 0xd8]
push ebp
push edx
call fcn.004bb7a0
add esp, 0x10
test ax, ax
je 0x4b79c6
push ebp
push eax
call fcn.004b4a80
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x890
ret 0x14
lea eax, [esp + 0x260]
push eax
call fcn.004be1c0
mov esi, eax
add esp, 4
test esi, esi
jne 0x4b79f4
push ebp
push 0x42
call fcn.004b4b50
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x890
ret 0x14
lea ecx, [esp + 0x260]
lea edx, [esp + 0x710]
push ecx
lea eax, [esp + 0x584]
push edx
push eax
push esi
push 3
push 0x4a71b0
call fcn.004be020
push esi
mov edi, eax
call ebx
add esp, 0x1c
test di, di
je 0x4b7a3e
push ebp
push 0x42
call fcn.004b4b50
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x890
ret 0x14
mov esi, 0x4a72ac
lea eax, [esp + 0x580]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4b7a72
test cl, cl
je 0x4b7a6e
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4b7a72
add eax, 2
add esi, 2
test cl, cl
jne 0x4b7a4a
xor eax, eax
jmp 0x4b7a77
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4b7aa0
lea eax, [esp + 0x710]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
push ebp
push eax
call fcn.004b4b50
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x890
ret 0x14
lea esi, [ebp + 0x68]
push esi
call dword [sym.imp.MSVCRT.dll_time]
mov edi, dword [esi]
push ebp
add edi, 0x78
push 0
mov dword [esi], edi
call fcn.004b4b50
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x890
ret 0x14
pop edi
pop esi
pop ebp
mov ax, 5
pop ebx
add esp, 0x890
ret 0x14
mov ax, 0x47
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x890
ret 0x14