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

Disassembly:
sub esp, 0x204
mov eax, dword [0x55c640]
xor eax, esp
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x20c]
push ebp
push esi
mov esi, dword [esp + 0x210]
mov dword [esp + 0x64], eax
mov dword [esp + 0x24], esi
lea eax, [esi + 0x51c]
mov dword [esp + 0x6c], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
lea ebp, [eax*8 + 0x5282f0]
mov eax, dword [ebp]
mov dword [esp + 0x3c], ebp
cmp eax, 0x284
je 0x4bf341
push ebx
push edi
jmp 0x4bebe0
lea ebx, [eax + 0x528068]
mov dword [esp + 0x14], 0
mov al, byte [ebx]
xor edi, edi
mov dword [esp + 0x4c], edi
test al, al
je 0x4bf326
mov edi, edi
movzx ecx, al
inc ebx
mov dword [esp + 0x54], ebx
cmp ecx, 0x80
jb 0x4bec53
cmp ecx, 0xe0
jae 0x4bec22
mov edx, 1
and ecx, 0x1f
jmp 0x4bec40
cmp ecx, 0xf0
jae 0x4bec34
mov edx, 2
and ecx, 0xf
jmp 0x4bec40
mov edx, 3
and ecx, 7
lea esp, [esp]
movsx eax, byte [ebx]
inc ebx
and eax, 0x3f
shl ecx, 6
or ecx, eax
dec edx
jne 0x4bec40
mov dword [esp + 0x54], ebx
mov eax, dword [esi + 0x24]
push ecx
push dword [eax]
call fcn.004fa6d0
add esp, 8
test eax, eax
je 0x4bef2a
push 1
push eax
push dword [esp + 0x74]
call fcn.004fb180
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x54]
movdqu xmm0, xmmword [eax + 0x6c]
mov eax, dword [eax + 0x7c]
mov dword [esp + 0x68], eax
movdqu xmmword [esp + 0x58], xmm0
test ecx, ecx
jne 0x4bef2a
mov ecx, dword [esp + 0x58]
mov eax, ecx
shr eax, 0x10
test ax, ax
jle 0x4bef2a
xor ebx, ebx
movsx edx, cx
or esi, 0xffffffff
mov dword [esp + 0x20], ebx
xor edi, edi
mov dword [esp + 0x28], ebx
xor ebp, ebp
mov dword [esp + 0x34], edx
test edx, edx
jle 0x4bf287
mov ecx, dword [esp + 0x64]
mov eax, edx
movsx edx, word [ecx + ebp*2]
mov dword [esp + 0x3c], esi
cmp edx, edi
jle 0x4bed54
mov ecx, dword [esp + 0x44]
test byte [ecx + 4], 1
mov ecx, edi
je 0x4bed16
cmp edi, edx
jg 0x4bed50
mov eax, dword [esp + 0x5c]
lea eax, [eax + edi*8]
add eax, 4
lea esp, [esp]
test esi, esi
js 0x4bed08
cmp dword [eax], ebx
jle 0x4bed0c
mov ebx, dword [eax]
mov esi, ecx
inc ecx
add eax, 8
cmp ecx, edx
jle 0x4bed00
jmp 0x4bed38
cmp edi, edx
jg 0x4bed50
mov eax, dword [esp + 0x5c]
lea eax, [eax + edi*8]
add eax, 4
test esi, esi
js 0x4bed2c
cmp dword [eax], ebx
jge 0x4bed30
mov ebx, dword [eax]
mov esi, ecx
inc ecx
add eax, 8
cmp ecx, edx
jle 0x4bed24
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x64]
cmp esi, dword [esp + 0x3c]
je 0x4bed54
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edx
jmp 0x4bed54
mov ecx, dword [esp + 0x64]
inc ebp
lea edi, [edx + 1]
cmp ebp, eax
jl 0x4becd3
test esi, esi
js 0x4bf287
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], esi
mov al, byte [eax + esi]
mov ebp, dword [edx + esi*8]
and al, 3
cmp al, 1
jne 0x4bed8e
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], esi
jmp 0x4bed9b
or edi, 0xffffffff
or eax, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], eax
mov ecx, esi
mov dword [esp + 0x34], esi
cmp ecx, dword [esp + 0x20]
jle 0x4bedaa
dec ecx
jmp 0x4bedae
mov ecx, dword [esp + 0x28]
mov edx, dword [edx + ecx*8 + 4]
mov eax, edx
sub eax, ebx
jns 0x4bedbc
mov eax, ebx
sub eax, edx
cmp eax, 5
jle 0x4beddc
mov edx, dword [esp + 0x5c]
mov edi, dword [edx + ecx*8]
mov edx, edi
sub edx, ebp
jns 0x4bedd2
mov edx, ebp
sub edx, edi
lea eax, [eax + eax*4]
shl eax, 2
cmp edx, eax
jle 0x4bee06
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], ecx
mov al, byte [ecx + eax]
and al, 3
cmp al, 1
jne 0x4bedfe
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x30], ecx
cmovs eax, ecx
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x5c]
cmp ecx, esi
jne 0x4beda1
mov edi, dword [esp + 0x34]
lea ebx, [ebx]
cmp edi, dword [esp + 0x28]
jge 0x4bee19
inc edi
jmp 0x4bee1d
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx + edi*8 + 4]
mov eax, ecx
sub eax, ebx
jns 0x4bee2f
mov eax, ebx
sub eax, ecx
cmp eax, 5
jle 0x4bee4b
mov edx, dword [edx + edi*8]
mov ecx, edx
sub ecx, ebp
jns 0x4bee41
mov ecx, ebp
sub ecx, edx
lea eax, [eax + eax*4]
shl eax, 2
cmp ecx, eax
jle 0x4bee71
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], edi
mov al, byte [edi + eax]
and al, 3
cmp al, 1
jne 0x4bee6d
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x24], edi
cmovs eax, edi
mov dword [esp + 0x30], eax
cmp edi, esi
jne 0x4bee10
mov eax, dword [esp + 0x44]
mov dword [esp + 0x34], edi
movzx eax, word [eax + 4]
test al, 8
je 0x4bf12f
mov ecx, dword [esp + 0x2c]
mov eax, 0x51eb851f
mov edi, dword [esp + 0x38]
mov ecx, dword [ecx + 0x28]
mul ecx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x5c]
shr edx, 3
mov dword [esp + 0x70], edx
mov edi, dword [ecx + edi*8]
mov eax, dword [ecx + eax*8]
mov ecx, edi
sub ecx, eax
jns 0x4beeba
sub eax, edi
jmp 0x4beebc
mov eax, ecx
cmp eax, edx
jge 0x4bf12f
mov edi, dword [esp + 0x38]
mov ecx, edi
sub ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
add ecx, 2
sub eax, dword [esp + 0x20]
cmp ecx, eax
jg 0x4bf12f
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x5c]
shr edx, 2
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
mov eax, esi
mov dword [esp + 0x3c], edx
lea esp, [esp]
cmp eax, dword [esp + 0x20]
jle 0x4bef09
dec eax
jmp 0x4bef0d
mov eax, dword [esp + 0x28]
cmp dword [ecx + eax*8], ebp
jne 0x4bf002
cmp eax, esi
jne 0x4bef00
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
mov al, byte [ebx]
test al, al
jne 0x4bec00
test edx, edx
jne 0x4bef44
test edi, edi
je 0x4bf326
mov esi, 1
cmp edi, esi
jbe 0x4bef8c
lea ecx, [ecx]
mov eax, esi
test esi, esi
je 0x4bef83
jmp 0x4bef60
mov ecx, dword [esp + eax*4 + 0x140]
mov edx, dword [esp + eax*4 + 0x144]
cmp edx, ecx
jge 0x4bef83
mov dword [esp + eax*4 + 0x144], ecx
mov dword [esp + eax*4 + 0x140], edx
dec eax
jne 0x4bef60
inc esi
cmp esi, edi
jb 0x4bef50
mov edx, dword [esp + 0x14]
mov esi, 1
cmp edx, esi
jbe 0x4befc0
mov eax, esi
test esi, esi
je 0x4befbb
jmp 0x4befa0
mov ecx, dword [esp + eax*4 + 0x74]
mov edx, dword [esp + eax*4 + 0x78]
cmp edx, ecx
jge 0x4befb7
mov dword [esp + eax*4 + 0x78], ecx
mov dword [esp + eax*4 + 0x74], edx
dec eax
jne 0x4befa0
mov edx, dword [esp + 0x14]
inc esi
cmp esi, edx
jb 0x4bef95
mov ebx, dword [esp + 0x74]
mov ecx, dword [ebx + 0xd8]
lea eax, [ecx*8]
sub eax, ecx
add eax, 0x37
lea esi, [ebx + eax*4]
lea eax, [ecx + 1]
mov dword [ebx + 0xd8], eax
test edx, edx
jne 0x4bf2a9
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov eax, dword [esp + eax*4 + 0x144]
mov dword [esi + 0xc], eax
mov dword [esi], eax
jmp 0x4bf2d2
cmp eax, esi
je 0x4bef1a
cmp dword [ecx + eax*8], ebp
mov esi, edi
mov ebp, dword [esp + 0x70]
mov ecx, edi
setl byte [esp + 0x43]
mov dword [esp + 0x18], esi
xor al, al
mov byte [esp + 0x13], al
test al, al
jne 0x4bf055
mov eax, dword [esp + 0x60]
mov esi, ecx
mov dword [esp + 0x18], esi
mov al, byte [ecx + eax]
and al, 3
cmp al, 1
jne 0x4bf045
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], ecx
jmp 0x4bf050
or eax, 0xffffffff
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
mov byte [esp + 0x13], 1
cmp ecx, dword [esp + 0x28]
jge 0x4bf05e
inc ecx
jmp 0x4bf062
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x5c]
mov edi, dword [eax + esi*8 + 4]
mov eax, ebx
sub eax, edi
jns 0x4bf074
mov eax, edi
sub eax, ebx
cmp eax, edx
jle 0x4bf083
xor al, al
mov byte [esp + 0x13], al
jmp 0x4bf125
mov esi, dword [esp + 0x5c]
mov edx, dword [esi + ecx*8 + 4]
mov eax, edx
sub eax, edi
jns 0x4bf095
sub edi, edx
jmp 0x4bf097
mov edi, eax
cmp edi, 5
jle 0x4bf0cc
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x18]
mov esi, dword [esi + ecx*8]
mov edx, dword [eax + edx*8]
mov eax, esi
sub eax, edx
jns 0x4bf0b4
sub edx, esi
jmp 0x4bf0b6
mov edx, eax
lea eax, [edi + edi*4]
shl eax, 2
cmp edx, eax
jg 0x4bf0c8
xor al, al
mov byte [esp + 0x13], al
jmp 0x4bf11d
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov al, byte [ecx + eax]
and al, 3
cmp al, 1
jne 0x4bf0ea
mov eax, dword [esp + 0x48]
test eax, eax
mov dword [esp + 0x50], ecx
cmovs eax, ecx
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x18]
mov esi, dword [esi + ecx*8]
mov eax, dword [edx + eax*8]
cmp eax, esi
mov edx, esi
setl byte [esp + 0x42]
sub edx, eax
jns 0x4bf109
sub eax, esi
jmp 0x4bf10b
mov eax, edx
mov dl, byte [esp + 0x43]
cmp byte [esp + 0x42], dl
jne 0x4bf119
cmp eax, ebp
jge 0x4bf16a
mov al, byte [esp + 0x13]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
cmp ecx, dword [esp + 0x1c]
jne 0x4bf024
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
test edi, edi
js 0x4bf244
test eax, eax
js 0x4bf244
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + eax*8]
mov eax, edx
mov ecx, dword [ecx + edi*8]
sub eax, ecx
jns 0x4bf234
sub ecx, edx
jmp 0x4bf236
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esi + eax*8 + 4]
lea ebx, [ebx]
cmp ecx, dword [esp + 0x28]
jge 0x4bf189
inc ecx
jmp 0x4bf18d
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + ecx*8 + 4]
mov eax, edx
sub eax, ebx
jns 0x4bf19b
mov eax, ebx
sub eax, edx
cmp eax, 5
jle 0x4bf1c8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x5c]
mov esi, dword [esi + ebp*8]
mov edx, dword [edx + eax*8]
mov eax, esi
sub eax, edx
jns 0x4bf1b8
sub edx, esi
jmp 0x4bf1ba
mov edx, eax
lea eax, [edi + edi*4]
shl eax, 2
cmp edx, eax
jle 0x4bf203
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x50], ecx
mov al, byte [ecx + eax]
and al, 3
cmp al, 1
jne 0x4bf1ea
mov eax, dword [esp + 0x48]
test eax, eax
mov dword [esp + 0x50], ecx
cmovs eax, ecx
mov dword [esp + 0x48], eax
cmp ecx, dword [esp + 0x1c]
jne 0x4bf180
mov esi, dword [esp + 0x18]
mov ebp, ecx
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
jmp 0x4bf13f
cmp ecx, dword [esp + 0x20]
jle 0x4bf21d
mov esi, dword [esp + 0x18]
dec ecx
mov edi, dword [esp + 0x48]
mov ebp, ecx
mov eax, dword [esp + 0x50]
jmp 0x4bf13f
mov ecx, dword [esp + 0x28]
mov ebp, ecx
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
jmp 0x4bf13f
mov ecx, eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x28]
shr eax, 3
cmp ecx, eax
ja 0x4bf287
mov ecx, dword [esp + 0x60]
mov al, byte [ecx + esi]
and al, 3
cmp al, 1
jne 0x4bf25a
mov al, byte [ecx + ebp]
and al, 3
cmp al, 1
je 0x4bf287
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
movzx eax, word [ebp + 4]
test al, 2
jne 0x4bf27e
mov dword [esp + edi*4 + 0x144], ebx
inc edi
mov dword [esp + 0x4c], edi
mov ebx, dword [esp + 0x54]
jmp 0x4bef2e
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x2c]
mov dword [esp + edx*4 + 0x78], ebx
inc edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x14], edx
jmp 0x4bef2e
mov eax, edx
cdq
sub eax, edx
sar eax, 1
mov eax, dword [esp + eax*4 + 0x78]
test edi, edi
jne 0x4bf2bf
mov dword [esi + 0xc], eax
mov dword [esi], eax
jmp 0x4bf2d2
mov dword [esi], eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov eax, dword [esp + eax*4 + 0x144]
mov dword [esi + 0xc], eax
mov edx, dword [esi]
cmp dword [esi + 0xc], edx
je 0x4bf2fe
mov edi, dword [esi + 0xc]
cmp edi, edx
setg al
movzx ecx, al
mov ax, word [ebp + 4]
and ax, 1
xor cx, ax
je 0x4bf2fe
lea eax, [edi + edx]
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0xc], eax
mov dword [esi], eax
mov dword [esi + 0x18], 0
test byte [ebp + 4], 1
je 0x4bf312
mov dword [esi + 0x18], 2
test byte [ebp + 4], 2
je 0x4bf31c
or dword [esi + 0x18], 4
test byte [ebp + 4], 4
je 0x4bf326
or dword [esi + 0x18], 8
mov eax, dword [ebp + 8]
add ebp, 8
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x44], ebp
cmp eax, 0x284
jne 0x4bebe0
pop edi
pop ebx
mov ecx, dword [esp + 0x208]
pop esi
pop ebp
xor ecx, esp
call fcn.00484516
add esp, 0x204
ret