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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov dword [esp + 0x14], edx
mov esi, ecx
mov eax, dword [0x533014]
xor eax, ebp
mov dword [esp + 0x78], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x5f], xmm0
movdqa xmmword [esp + 0x50], xmm0
mov edi, dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x4bf64f
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x3c], ecx
test ecx, ecx
jne 0x4bf65e
xor ecx, ecx
dec ecx
mov dword [esp + 0x18], ecx
jmp 0x4bf657
mov dword [esp + 0x18], 0
mov eax, dword [eax + 0x18]
mov dword [esp + 0x3c], eax
mov ebx, dword [esi + 8]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x2c], eax
movsx eax, byte [edi + 0xfe]
test eax, eax
mov dword [esp + 0x24], esi
js 0x4bf6a1
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
jmp 0x4bf6f7
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x20], ecx
mov cl, byte [esi + 2]
mov dword [esp + 0x1c], ecx
lea ecx, [edi + 0xde]
neg eax
lea esi, [esp + 0x50]
push eax
push ecx
push esi
call fcn.004e5930
add esp, 0xc
mov eax, dword [esp + 0x24]
mov dword [eax + 8], esi
movsx eax, byte [edi + 0xfe]
sub esi, eax
mov eax, dword [esp + 0x24]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x24]
xor eax, eax
mov byte [esi + 2], al
mov byte [edi + 0xfe], al
xor eax, eax
dec eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
lea eax, [edi + 0xde]
mov dword [esp + 0x40], eax
lea eax, [edi + 0x44]
mov dword [esp + 0x44], eax
lea eax, [edi + 0x25]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x14]
cmp dword [eax], 0
mov eax, 0
jg 0x4bf74c
mov ecx, dword [esp + 0x3c]
call dword [section..00cfg]
push dword [esp + 0x14]
push esi
call ecx
add esp, 8
mov eax, dword [esp + 0x14]
cmp dword [eax], 0
jle 0x4bf97d
xor eax, eax
mov dword [esp + 0x48], eax
mov cl, 1
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x30], 0
je 0x4bf7b6
mov dword [esp + 0x28], ecx
mov edi, esi
mov esi, dword [esi + 0x10]
sub esi, dword [esp + 0x2c]
test esi, esi
jle 0x4bf79f
mov edx, esi
shr edx, 1
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x30]
mov ecx, ebx
push dword [esp + 0x34]
push eax
mov dword [esp + 0x18], eax
call fcn.004bfb97
mov eax, dword [esp + 0x18]
add esp, 8
lea ebx, [ebx + esi*2]
mov dword [esp + 0x30], ebx
mov dword [edi + 0x18], ebx
mov ebx, dword [esp + 0x2c]
mov esi, edi
test eax, eax
mov edi, dword [esp + 0x38]
js 0x4bf7ae
sub eax, ebx
add eax, dword [esi + 8]
mov ebx, eax
mov ecx, dword [esp + 0x28]
jmp 0x4bf7c0
mov dword [esp + 0x30], 0
mov ebx, eax
movsx eax, byte [edi + 0xfe]
test eax, eax
jns 0x4bf7e0
cmp dword [esp + 0xc], 0
je 0x4bf8d1
mov eax, dword [esp + 0x14]
mov dword [eax], 5
mov dword [esp + 0x10], ebx
mov ebx, dword [esi + 8]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
jle 0x4bf819
test cl, 1
je 0x4bf99f
cmp eax, 0x13
ja 0x4bf99f
mov ecx, 0xc1c00
bt ecx, eax
jb 0x4bf84b
jmp 0x4bf99f
cmp ebx, dword [esi + 0xc]
jb 0x4bf713
cmp dword [esp + 0xc], 0
jne 0x4bf93e
cmp byte [esi + 2], 0
je 0x4bf9dc
cmp byte [edi + 0x24], 0
jle 0x4bf968
mov eax, dword [esp + 0x14]
mov dword [eax], 0xb
movsx eax, byte [edi + 0x24]
mov byte [edi + 0x3e], al
test eax, eax
mov dword [esp + 0x34], eax
jle 0x4bf86b
push eax
push dword [esp + 0x50]
push dword [esp + 0x4c]
call fcn.004e5930
add esp, 0xc
mov byte [edi + 0x24], 0
mov esi, dword [edi + 0x100]
cmp esi, 1
jne 0x4bf894
mov eax, dword [esp + 0x14]
cmp dword [eax], 0xa
mov esi, 1
jne 0x4bf894
mov dword [edi + 0x100], 0
xor esi, esi
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x38]
mov edi, dword [eax + 0x10]
call dword [section..00cfg]
push dword [esp + 0x14]
push esi
push dword [esp + 0x3c]
push dword [esp + 0x50]
mov esi, dword [esp + 0x34]
push esi
push edi
mov edi, dword [esp + 0x50]
call ecx
add esp, 0x18
mov dword [edi + 0x100], 1
xor ecx, ecx
jmp 0x4bf752
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x20], ecx
mov cl, byte [esi + 2]
mov dword [esp + 0x1c], ecx
neg eax
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x58]
push eax
call fcn.004e5930
add esp, 0xc
lea ecx, [esp + 0x50]
mov dword [esi + 8], ecx
movsx eax, byte [edi + 0xfe]
sub ecx, eax
mov dword [esi + 0xc], ecx
xor eax, eax
mov byte [esi + 2], al
movsx edx, byte [edi + 0xfe]
add edx, ebx
mov ecx, 0xffffffff
cmovs edx, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
mov byte [edi + 0xfe], al
mov dword [esp + 0x18], ebx
jmp 0x4bf7e4
mov eax, dword [esp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x1c]
mov byte [esi + 2], al
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jmp 0x4bf713
mov dword [esp + 0xc], 0
cmp byte [esp + 0x48], 0
je 0x4bf713
jmp 0x4bf9ef
cmp byte [esi + 2], 0
je 0x4bf74a
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jne 0x4bf74a
cmp byte [edi + 0x24], 0
sete al
jmp 0x4bf74c
cmp dword [esp + 0xc], 0
je 0x4bf9dc
mov eax, ebx
mov ebx, dword [esi + 0xc]
sub ebx, eax
test ebx, ebx
jle 0x4bf9c7
push ebx
push eax
push dword [esp + 0x48]
call fcn.004e5930
add esp, 0xc
neg bl
mov byte [edi + 0xfe], bl
mov eax, dword [esp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x1c]
mov byte [esi + 2], al
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.004e3343
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor edx, edx
inc edx
mov ecx, edi
push 0
call fcn.004bec31
add esp, 4
jmp 0x4bf9dc