Function at 0x4b78b0
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 0x4b7ca5
mov eax, dword [ebp]
test eax, eax
je 0x4b7908
mov ecx, dword [0xb5ad44]
push eax
call dword [ecx]
add esp, 4
mov dword [ebp], 0
mov dword [ebx], 0
push esi
call fcn.004c5cd0
add esp, 4
push eax
push esi
call fcn.004c4100
add esp, 8
mov esi, eax
test eax, eax
je 0x4b796f
lea eax, [esp + 4]
push eax
push 0
push 0
push 2
push 0xa3f018
push esi
call fcn.004c4e00
add esp, 0x18
mov edi, eax
test eax, eax
jne 0x4b7c6e
push dword [esp + 4]
call fcn.004bcda0
add esp, 4
xor edi, edi
test eax, eax
je 0x4b7c50
mov ebx, eax
mov dword [esp + 8], esi
jmp 0x4b799c
mov edi, 0xf
jmp 0x4b7c6e
mov eax, 0x11
nop
cmp eax, 4
jne 0x4b7c5e
push ebx
call fcn.004bce10
add esp, 4
mov ebx, eax
test eax, eax
je 0x4b7c60
push ebx
call fcn.004bce30
add esp, 4
mov ebp, eax
movups xmm0, xmmword [0xa3f072]
movups xmmword [esp + 0x61], xmm0
movups xmm0, xmmword [0xa3f069]
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.004c4b80
add esp, 8
push ebp
call fcn.004c4830
add esp, 4
test eax, eax
je 0x4b7989
push ebp
call fcn.004c4640
add esp, 4
push 0x18
lea eax, [esp + 0x5c]
push eax
push ebp
call fcn.004c4d70
add esp, 0xc
test eax, eax
je 0x4b7c59
push 0x41
lea eax, [esp + 0x78]
push eax
push ebp
call fcn.004c4760
add esp, 0xc
test eax, eax
jne 0x4b7980
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.004c79a0
add esp, 0xc
test eax, eax
je 0x4b7c59
push 1
push 0xa3f082
push ebp
call fcn.004c51a0
add esp, 0xc
test eax, eax
je 0x4b7b2e
mov dword [esp + 0x44], 0x2e3938
mov dword [esp + 0x40], 0x37363534
mov dword [esp + 0x3c], 0x33323130
push 1
push ebp
call fcn.004c4800
add esp, 8
push ebp
call fcn.004c4640
add esp, 4
push 0xb
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.004c4d70
add esp, 0xc
test eax, eax
je 0x4b7979
push 0x10
lea eax, [esp + 0x4c]
push eax
push ebp
call fcn.004c4760
add esp, 0xc
test eax, eax
jne 0x4b7980
lea eax, [esp + 0x48]
push eax
call fcn.004c5d90
add esp, 4
test eax, eax
je 0x4b7b5a
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 0x4b7979
mov ecx, eax
cmp eax, 0x21
jb 0x4b7b25
cmp dword [esp + 0xc], 2
mov eax, 0x11
je 0x4b7980
mov byte [esp + 0x20], cl
jmp 0x4b7bdf
mov al, 0x40
cmp dword [esp + 0xc], 0x17
je 0x4b7bdb
movzx ecx, byte [esp + 0x10]
mov al, 8
test cl, cl
jns 0x4b7bdb
cmp cl, 0xc0
setae al
shl al, 3
or al, 0x10
jmp 0x4b7bdb
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.004c79a0
add esp, 0xc
test eax, eax
je 0x4b7979
movzx eax, byte [esp + 0x2c]
push eax
call fcn.004c6eb0
add esp, 4
mov byte [esp + 2], al
movzx eax, byte [esp + 0x2d]
push eax
call fcn.004c6eb0
add esp, 4
add al, byte [esp + 2]
mov byte [esp + 2], al
movzx eax, byte [esp + 0x2e]
push eax
call fcn.004c6eb0
add esp, 4
mov byte [esp + 3], al
movzx eax, byte [esp + 0x2f]
push eax
call fcn.004c6eb0
add esp, 4
add al, byte [esp + 3]
add al, byte [esp + 2]
mov byte [esp + 0x20], al
push 1
push ebp
call fcn.004c4b80
add esp, 8
push ebp
call fcn.004c4830
add esp, 4
test eax, eax
jne 0x4b7c59
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 [0xb5ad50]
call dword [eax]
add esp, 8
test eax, eax
je 0x4b7cb2
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 0x4b7989
mov ebx, dword [esp + 0xd0]
jmp 0x4b7c6e
mov eax, 0x11
mov edi, eax
mov ebx, dword [esp + 0xd0]
mov ebp, dword [esp + 0xcc]
push esi
call fcn.004c4140
add esp, 4
push dword [esp + 4]
call fcn.004bd030
add esp, 4
test edi, edi
je 0x4b7ca3
mov eax, dword [0xb5ad44]
push dword [ebp]
call dword [eax]
add esp, 4
mov dword [ebp], 0
mov dword [ebx], 0
jmp 0x4b7ca5
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 0x4b7c60