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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xb8
mov esi, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd0]
mov ebp, dword [esp + 0xcc]
mov dword [esp + 4], 0
test ebp, ebp
sete al
test ebx, ebx
sete cl
or cl, al
test esi, esi
sete al
or al, cl
mov edi, 2
jne 0x4b8255
mov eax, dword [ebp]
test eax, eax
je 0x4b7eb8
mov ecx, dword [0xaaa684]
push eax
call dword [ecx]
add esp, 4
mov dword [ebp], 0
mov dword [ebx], 0
push esi
call fcn.004c6280
add esp, 4
push eax
push esi
call fcn.004c46b0
add esp, 8
mov esi, eax
test eax, eax
je 0x4b7f1f
lea eax, [esp + 4]
push eax
push 0
push 0
push 2
push 0x98e958
push esi
call fcn.004c53b0
add esp, 0x18
mov edi, eax
test eax, eax
jne 0x4b821e
push dword [esp + 4]
call fcn.004bd350
add esp, 4
xor edi, edi
test eax, eax
je 0x4b8200
mov ebx, eax
mov dword [esp + 8], esi
jmp 0x4b7f4c
mov edi, 0xf
jmp 0x4b821e
mov eax, 0x11
nop
cmp eax, 4
jne 0x4b820e
push ebx
call fcn.004bd3c0
add esp, 4
mov ebx, eax
test eax, eax
je 0x4b8210
push ebx
call fcn.004bd3e0
add esp, 4
mov ebp, eax
movups xmm0, xmmword [0x98e9b2]
movups xmmword [esp + 0x61], xmm0
movups xmm0, xmmword [0x98e9a9]
movups xmmword [esp + 0x58], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0xa4], xmm0
movups xmmword [esp + 0x94], xmm0
movups xmmword [esp + 0x84], xmm0
movups xmmword [esp + 0x74], xmm0
mov byte [esp + 0xb4], 0
movups xmmword [esp + 0xc], xmm0
xorps xmm0, xmm0
movsd qword [esp + 0x1c], xmm0
push 1
push eax
call fcn.004c5130
add esp, 8
push ebp
call fcn.004c4de0
add esp, 4
test eax, eax
je 0x4b7f39
push ebp
call fcn.004c4bf0
add esp, 4
push 0x18
lea eax, [esp + 0x5c]
push eax
push ebp
call fcn.004c5320
add esp, 0xc
test eax, eax
je 0x4b8209
push 0x41
lea eax, [esp + 0x78]
push eax
push ebp
call fcn.004c4d10
add esp, 0xc
test eax, eax
jne 0x4b7f30
mov dword [esp + 0xc], 0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.004c7f50
add esp, 0xc
test eax, eax
je 0x4b8209
push 1
push 0x98e9c2
push ebp
call fcn.004c5750
add esp, 0xc
test eax, eax
je 0x4b80de
mov dword [esp + 0x44], 0x2e3938
mov dword [esp + 0x40], 0x37363534
mov dword [esp + 0x3c], 0x33323130
push 1
push ebp
call fcn.004c4db0
add esp, 8
push ebp
call fcn.004c4bf0
add esp, 4
push 0xb
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.004c5320
add esp, 0xc
test eax, eax
je 0x4b7f29
push 0x10
lea eax, [esp + 0x4c]
push eax
push ebp
call fcn.004c4d10
add esp, 0xc
test eax, eax
jne 0x4b7f30
lea eax, [esp + 0x48]
push eax
call fcn.004c6340
add esp, 4
test eax, eax
je 0x4b810a
lea eax, [esp + 0x48]
push eax
call sub.api_ms_win_crt_convert_l1_1_0.dll_atoi
add esp, 4
cmp eax, 0x80
ja 0x4b7f29
mov ecx, eax
cmp eax, 0x21
jb 0x4b80d5
cmp dword [esp + 0xc], 2
mov eax, 0x11
je 0x4b7f30
mov byte [esp + 0x20], cl
jmp 0x4b818f
mov al, 0x40
cmp dword [esp + 0xc], 0x17
je 0x4b818b
movzx ecx, byte [esp + 0x10]
mov al, 8
test cl, cl
jns 0x4b818b
cmp cl, 0xc0
setae al
shl al, 3
or al, 0x10
jmp 0x4b818b
lea eax, [esp + 0x2c]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [esp + 0x28], 2
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004c7f50
add esp, 0xc
test eax, eax
je 0x4b7f29
movzx eax, byte [esp + 0x2c]
push eax
call fcn.004c7460
add esp, 4
mov byte [esp + 2], al
movzx eax, byte [esp + 0x2d]
push eax
call fcn.004c7460
add esp, 4
add al, byte [esp + 2]
mov byte [esp + 2], al
movzx eax, byte [esp + 0x2e]
push eax
call fcn.004c7460
add esp, 4
mov byte [esp + 3], al
movzx eax, byte [esp + 0x2f]
push eax
call fcn.004c7460
add esp, 4
add al, byte [esp + 3]
add al, byte [esp + 2]
mov byte [esp + 0x20], al
push 1
push ebp
call fcn.004c5130
add esp, 8
push ebp
call fcn.004c4de0
add esp, 4
test eax, eax
jne 0x4b8209
mov ebp, dword [esp + 0xd0]
mov eax, dword [ebp]
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x18]
push eax
mov esi, dword [esp + 0xd0]
push dword [esi]
mov eax, dword [0xaaa690]
call dword [eax]
add esp, 8
test eax, eax
je 0x4b8262
mov dword [esi], eax
mov ecx, dword [ebp]
lea ecx, [ecx + ecx*2]
movsd xmm0, qword [esp + 0x1c]
movsd qword [eax + ecx*8 + 0x10], xmm0
movups xmm0, xmmword [esp + 0xc]
movups xmmword [eax + ecx*8], xmm0
inc dword [ebp]
mov esi, dword [esp + 8]
jmp 0x4b7f39
mov ebx, dword [esp + 0xd0]
jmp 0x4b821e
mov eax, 0x11
mov edi, eax
mov ebx, dword [esp + 0xd0]
mov ebp, dword [esp + 0xcc]
push esi
call fcn.004c46f0
add esp, 4
push dword [esp + 4]
call fcn.004bd5e0
add esp, 4
test edi, edi
je 0x4b8253
mov eax, dword [0xaaa684]
push dword [ebp]
call dword [eax]
add esp, 4
mov dword [ebp], 0
mov dword [ebx], 0
jmp 0x4b8255
xor edi, edi
mov eax, edi
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, 0xf
mov esi, dword [esp + 8]
jmp 0x4b8210