Function at 0x4befb5
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 + 0x10], edx
mov esi, ecx
mov eax, dword [0x533014]
xor eax, ebp
mov dword [esp + 0x78], eax
xor eax, eax
dec eax
mov dword [esp + 0x72], eax
mov dword [esp + 0x6e], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
mov edi, dword [ecx + 4]
mov ecx, dword [edi + 0x18]
mov ecx, dword [ecx + 0x14]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x1c], edx
test edx, edx
je 0x4bf019
mov edx, dword [ecx + 0x24]
mov dword [esp + 0x18], 0
mov dword [esp + 0x38], edx
test edx, edx
jne 0x4bf026
jmp 0x4bf01b
xor eax, eax
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], eax
mov ebx, dword [esi + 8]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x48], eax
movsx eax, byte [edi + 0xfd]
test eax, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], ebx
js 0x4bf069
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
jmp 0x4bf0c0
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x24], ecx
mov cl, byte [esi + 2]
mov dword [esp + 0x20], ecx
lea ecx, [edi + 0xb8]
add eax, eax
neg eax
lea esi, [esp + 0x50]
push eax
push ecx
push esi
call fcn.004e5930
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x28]
movsx eax, byte [edi + 0xfd]
add eax, eax
neg eax
add eax, esp
add eax, 0x50
mov dword [esi + 0xc], eax
xor eax, eax
mov byte [esi + 2], al
mov byte [edi + 0xfd], al
xor ecx, ecx
dec ecx
mov dword [esp + 8], ebx
lea eax, [edi + 0xb8]
mov dword [esp + 0x3c], eax
lea eax, [edi + 0x70]
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x10]
cmp dword [eax], 0
mov dword [esp + 0x14], 0
jg 0x4bf141
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x38]
call dword [section..00cfg]
mov ebx, dword [esp + 0x10]
push ebx
push esi
call ecx
add esp, 8
cmp dword [ebx], 0
jle 0x4bf11a
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0xc]
jmp 0x4bf141
cmp byte [esi + 2], 0
mov ecx, dword [esp + 0xc]
je 0x4bf12c
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
je 0x4bf136
mov dword [esp + 0x14], 0
jmp 0x4bf141
cmp dword [edi + 0x38], 0
sete al
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], 0
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4bf181
mov ebx, dword [esi + 0x10]
sub ebx, dword [esp + 0x48]
test ebx, ebx
jle 0x4bf191
mov esi, ecx
mov ecx, edi
mov edx, ebx
push dword [esp + 0x44]
push esi
call fcn.004bfb97
mov ecx, esi
mov esi, dword [esp + 0x30]
add esp, 8
lea edi, [edi + ebx*4]
mov dword [esp + 0x1c], edi
mov dword [esi + 0x18], edi
jmp 0x4bf195
mov dword [esp + 0x1c], 0
mov ebx, ecx
mov edi, dword [esp + 0x40]
jmp 0x4bf1ae
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x34]
test ecx, ecx
mov edi, dword [esp + 0x40]
js 0x4bf1ac
mov ebx, dword [esi + 8]
sub ebx, eax
sar ebx, 1
add ebx, ecx
jmp 0x4bf1ae
mov ebx, ecx
movsx eax, byte [edi + 0xfd]
test eax, eax
jns 0x4bf1ce
cmp dword [esp + 8], 0
je 0x4bf2ca
mov eax, dword [esp + 0x10]
mov dword [eax], 5
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x34], edx
jle 0x4bf207
add eax, 0xfffffff3
cmp eax, 0xfffffffd
setb al
mov edx, dword [esp + 0x2c]
or dl, al
test dl, 1
je 0x4bf239
jmp 0x4bf391
cmp edx, dword [esi + 0xc]
jb 0x4bf338
cmp dword [esp + 8], 0
jne 0x4bf341
cmp byte [esi + 2], 0
je 0x4bf3d1
cmp dword [edi + 0x38], 0
je 0x4bf367
mov eax, dword [esp + 0x10]
mov dword [eax], 0xb
mov edx, dword [edi + 0x38]
cmp edx, 0xffff
mov dword [esp + 0x2c], edx
ja 0x4bf250
mov word [ecx], dx
xor eax, eax
inc eax
jmp 0x4bf273
mov eax, edx
shr eax, 0xa
add eax, 0xffffd7c0
mov word [edi + 0x70], ax
mov eax, edx
and eax, 0x3ff
or eax, 0xdc00
mov word [edi + 0x72], ax
mov eax, 2
mov byte [edi + 0x40], al
mov dword [edi + 0x38], 0
xor ebx, ebx
mov esi, dword [esp + 0x10]
cmp dword [esi], 0xa
setne bl
mov ecx, dword [edi]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x4c], edx
mov edi, eax
call dword [section..00cfg]
push esi
push ebx
push dword [esp + 0x34]
mov dword [esp + 0x50], edi
push edi
push dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
push esi
push dword [esp + 0x64]
call ecx
add esp, 0x1c
mov al, 1
mov dword [esp + 0x2c], eax
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
jmp 0x4bf14d
mov ecx, dword [esi + 8]
mov dword [esp + 8], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x24], ecx
mov cl, byte [esi + 2]
mov dword [esp + 0x20], ecx
add eax, eax
neg eax
push eax
push dword [esp + 0x40]
lea eax, [esp + 0x58]
push eax
call fcn.004e5930
add esp, 0xc
lea eax, [esp + 0x50]
mov dword [esi + 8], eax
movsx eax, byte [edi + 0xfd]
add eax, eax
neg eax
add eax, esp
add eax, 0x50
mov dword [esi + 0xc], eax
xor eax, eax
mov byte [esi + 2], al
movsx edx, byte [edi + 0xfd]
add edx, ebx
mov ecx, 0xffffffff
cmovs edx, ecx
mov dword [esp + 0xc], edx
mov byte [edi + 0xfd], al
mov dword [esp + 0x18], ebx
jmp 0x4bf1d2
mov ecx, dword [esp + 0xc]
jmp 0x4bf0d5
mov eax, dword [esp + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x20]
mov byte [esi + 2], al
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x18]
jmp 0x4bf0d5
mov dword [esp + 8], 0
cmp byte [esp + 0x14], 0
mov ecx, dword [esp + 0xc]
je 0x4bf0d5
mov ecx, edi
mov edx, 2
push 0
call fcn.004bec31
add esp, 4
jmp 0x4bf3d1
cmp dword [esp + 8], 0
je 0x4bf3d1
mov eax, dword [esi + 8]
mov ebx, dword [esi + 0xc]
sub ebx, eax
test ebx, ebx
jle 0x4bf3bc
shr ebx, 1
push ebx
push eax
push dword [esp + 0x44]
call fcn.004d4244
add esp, 0xc
neg bl
mov byte [edi + 0xfd], bl
mov eax, dword [esp + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x20]
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