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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, ecx
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x18], eax
test al, 1
je 0x4be12a
mov ecx, ebx
push esi
push dword [edi + 0x6c]
push 1
call fcn.004b9dce
mov esi, eax
mov dword [ebp - 0x10], edi
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4be1ae
xor edi, edi
cmp dword [ebx], esi
ja 0x4be147
mov ecx, ebx
push esi
call fcn.00506e90
mov esi, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + edi*4 + 4]
mov byte [esi], 0x12
mov edx, dword [ecx + 0xc]
cmp edx, 0x7f
ja 0x4be164
mov byte [esi + 1], dl
add esi, 2
jmp 0x4be19f
mov eax, edx
or al, 0x80
mov byte [esi + 1], al
mov eax, edx
shr eax, 7
cmp edx, 0x3fff
ja 0x4be180
mov byte [esi + 2], al
add esi, 3
jmp 0x4be19f
add esi, 3
mov edx, eax
mov ebx, edx
or bl, 0x80
mov byte [esi - 1], bl
shr eax, 7
inc esi
cmp edx, 0x3fff
ja 0x4be183
mov byte [esi - 1], al
mov ebx, dword [ebp + 0xc]
push ebx
push esi
call fcn.004bbce0
mov esi, eax
inc edi
cmp edi, dword [ebp - 0x14]
jne 0x4be139
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4be232
xor edi, edi
cmp dword [ebx], esi
ja 0x4be1cb
mov ecx, ebx
push esi
call fcn.00506e90
mov esi, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + edi*4 + 4]
mov byte [esi], 0x1a
mov edx, dword [ecx + 0xc]
cmp edx, 0x7f
ja 0x4be1e8
mov byte [esi + 1], dl
add esi, 2
jmp 0x4be223
mov eax, edx
or al, 0x80
mov byte [esi + 1], al
mov eax, edx
shr eax, 7
cmp edx, 0x3fff
ja 0x4be204
mov byte [esi + 2], al
add esi, 3
jmp 0x4be223
add esi, 3
mov edx, eax
mov ebx, edx
or bl, 0x80
mov byte [esi - 1], bl
shr eax, 7
inc esi
cmp edx, 0x3fff
ja 0x4be207
mov byte [esi - 1], al
mov ebx, dword [ebp + 0xc]
push ebx
push esi
call fcn.004ba800
mov esi, eax
inc edi
cmp edi, dword [ebp - 0x14]
jne 0x4be1bd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4be2b6
xor edi, edi
cmp dword [ebx], esi
ja 0x4be24f
mov ecx, ebx
push esi
call fcn.00506e90
mov esi, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov ecx, dword [eax + edi*4 + 4]
mov byte [esi], 0x22
mov edx, dword [ecx + 0xc]
cmp edx, 0x7f
ja 0x4be26c
mov byte [esi + 1], dl
add esi, 2
jmp 0x4be2a7
mov eax, edx
or al, 0x80
mov byte [esi + 1], al
mov eax, edx
shr eax, 7
cmp edx, 0x3fff
ja 0x4be288
mov byte [esi + 2], al
add esi, 3
jmp 0x4be2a7
add esi, 3
mov edx, eax
mov ebx, edx
or bl, 0x80
mov byte [esi - 1], bl
shr eax, 7
inc esi
cmp edx, 0x3fff
ja 0x4be28b
mov byte [esi - 1], al
mov ebx, dword [ebp + 0xc]
push ebx
push esi
call fcn.004bc8a0
mov esi, eax
inc edi
cmp edi, dword [ebp - 0x14]
jne 0x4be241
test byte [ebp - 0x18], 2
jne 0x4be2c1
mov edi, dword [ebp - 0x10]
jmp 0x4be32c
cmp dword [ebx], esi
mov edi, dword [ebp - 0x10]
ja 0x4be2d2
mov ecx, ebx
push esi
call fcn.00506e90
mov esi, eax
mov ecx, dword [edi + 0x70]
mov byte [esi], 0x2a
mov edx, dword [ecx + 0xc]
cmp edx, 0x7f
ja 0x4be2e8
mov byte [esi + 1], dl
add esi, 2
jmp 0x4be323
mov eax, edx
or al, 0x80
mov byte [esi + 1], al
mov eax, edx
shr eax, 7
cmp edx, 0x3fff
ja 0x4be304
mov byte [esi + 2], al
add esi, 3
jmp 0x4be323
add esi, 3
mov edx, eax
mov ebx, edx
or bl, 0x80
mov byte [esi - 1], bl
shr eax, 7
inc esi
cmp edx, 0x3fff
ja 0x4be307
mov byte [esi - 1], al
mov ebx, dword [ebp + 0xc]
push ebx
push esi
call fcn.004bd330
mov esi, eax
test byte [ebp - 0x18], 4
je 0x4be38b
cmp dword [ebx], esi
ja 0x4be340
mov ecx, ebx
push esi
call fcn.00506e90
mov esi, eax
mov ecx, dword [edi + 0x74]
mov byte [esi], 0x30
cmp ecx, 0x7f
ja 0x4be353
mov byte [esi + 1], cl
add esi, 2
jmp 0x4be38b
mov eax, ecx
or al, 0x80
mov byte [esi + 1], al
mov eax, ecx
shr eax, 7
cmp ecx, 0x3fff
ja 0x4be36f
mov byte [esi + 2], al
add esi, 3
jmp 0x4be38b
add esi, 3
mov ecx, eax
mov edx, ecx
or dl, 0x80
mov byte [esi - 1], dl
shr eax, 7
inc esi
cmp ecx, 0x3fff
ja 0x4be372
mov byte [esi - 1], al
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4be40c
xor edi, edi
cmp dword [ebx], esi
ja 0x4be3a5
mov ecx, ebx
push esi
call fcn.00506e90
mov esi, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x4c]
mov ecx, dword [eax + edi*4 + 4]
mov byte [esi], 0x3a
mov edx, dword [ecx + 0xc]
cmp edx, 0x7f
ja 0x4be3c2
mov byte [esi + 1], dl
add esi, 2
jmp 0x4be3fd
mov eax, edx
or al, 0x80
mov byte [esi + 1], al
mov eax, edx
shr eax, 7
cmp edx, 0x3fff
ja 0x4be3de
mov byte [esi + 2], al
add esi, 3
jmp 0x4be3fd
add esi, 3
mov edx, eax
mov ebx, edx
or bl, 0x80
mov byte [esi - 1], bl
shr eax, 7
inc esi
cmp edx, 0x3fff
ja 0x4be3e1
mov byte [esi - 1], al
mov ebx, dword [ebp + 0xc]
push ebx
push esi
call fcn.004bc340
mov esi, eax
inc edi
cmp edi, dword [ebp - 0x14]
jne 0x4be397
test byte [ebp - 0x18], 8
je 0x4be48b
cmp dword [ebx], esi
mov edi, dword [ebp - 0x10]
ja 0x4be423
mov ecx, ebx
push esi
call fcn.00506e90
mov esi, eax
mov edx, dword [edi + 0x78]
mov byte [esi], 0x40
cmp edx, 0x7f
ja 0x4be436
mov byte [esi + 1], dl
add esi, 2
jmp 0x4be48e
mov eax, edx
sar eax, 0x1f
mov ecx, edx
or cl, 0x80
mov byte [esi + 1], cl
mov ecx, eax
shld ecx, edx, 0x19
cmp edx, 0x3fff
ja 0x4be459
mov byte [esi + 2], cl
add esi, 3
jmp 0x4be48e
shr eax, 7
add esi, 3
mov edi, 0x3fff
mov ebx, eax
mov edx, ecx
or cl, 0x80
mov byte [esi - 1], cl
mov ecx, eax
shld ecx, edx, 0x19
shr ebx, 7
inc esi
cmp edi, edx
mov edx, 0
sbb edx, eax
mov eax, ebx
jb 0x4be466
mov byte [esi - 1], cl
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0x50]
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x4be52a
xor edi, edi
cmp dword [ebx], esi
ja 0x4be4ac
mov ecx, ebx
push esi
call fcn.00506e90
mov esi, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x58]
mov edx, dword [eax + edi*4]
mov byte [esi], 0x48
cmp edx, 0x7f
ja 0x4be4c5
mov byte [esi + 1], dl
add esi, 2
jmp 0x4be520
mov eax, edx
sar eax, 0x1f
mov ecx, edx
or cl, 0x80
mov byte [esi + 1], cl
mov ecx, eax
shld ecx, edx, 0x19
cmp edx, 0x3fff
ja 0x4be4e8
mov byte [esi + 2], cl
add esi, 3
jmp 0x4be520
mov dword [ebp - 0x1c], edi
shr eax, 7
add esi, 3
mov edx, eax
mov edi, 0x3fff
mov ebx, ecx
or cl, 0x80
mov byte [esi - 1], cl
mov ecx, eax
shld ecx, ebx, 0x19
shr edx, 7
inc esi
cmp edi, ebx
mov ebx, 0
sbb ebx, eax
mov eax, edx
jb 0x4be4f8
mov byte [esi - 1], cl
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x1c]
inc edi
cmp edi, dword [ebp - 0x14]
jne 0x4be49e
test byte [ebp - 0x18], 0x10
je 0x4be5a9
cmp dword [ebx], esi
mov edi, dword [ebp - 0x10]
ja 0x4be541
mov ecx, ebx
push esi
call fcn.00506e90
mov esi, eax
mov edx, dword [edi + 0x7c]
mov byte [esi], 0x50
cmp edx, 0x7f
ja 0x4be554
mov byte [esi + 1], dl
add esi, 2
jmp 0x4be5ac
mov eax, edx
sar eax, 0x1f
mov ecx, edx
or cl, 0x80
mov byte [esi + 1], cl
mov ecx, eax
shld ecx, edx, 0x19
cmp edx, 0x3fff
ja 0x4be577
mov byte [esi + 2], cl
add esi, 3
jmp 0x4be5ac
shr eax, 7
add esi, 3
mov edx, 0x3fff
mov edi, eax
mov ebx, ecx
or cl, 0x80
mov byte [esi - 1], cl
mov ecx, eax
shld ecx, ebx, 0x19
shr edi, 7
inc esi
cmp edx, ebx
mov ebx, 0
sbb ebx, eax
mov eax, edi
jb 0x4be584
mov byte [esi - 1], cl
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0x60]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4be62d
xor edi, edi
cmp dword [ebx], esi
ja 0x4be5c6
mov ecx, ebx
push esi
call fcn.00506e90
mov esi, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x68]
mov ecx, dword [eax + edi*4 + 4]
mov byte [esi], 0x5a
mov edx, dword [ecx + 0xc]
cmp edx, 0x7f
ja 0x4be5e3
mov byte [esi + 1], dl
add esi, 2
jmp 0x4be61e
mov eax, edx
or al, 0x80
mov byte [esi + 1], al
mov eax, edx
shr eax, 7
cmp edx, 0x3fff
ja 0x4be5ff
mov byte [esi + 2], al
add esi, 3
jmp 0x4be61e
add esi, 3
mov edx, eax
mov ebx, edx
or bl, 0x80
mov byte [esi - 1], bl
shr eax, 7
inc esi
cmp edx, 0x3fff
ja 0x4be602
mov byte [esi - 1], al
mov ebx, dword [ebp + 0xc]
push ebx
push esi
call fcn.004bcdd0
mov esi, eax
inc edi
cmp edi, dword [ebp - 0x14]
jne 0x4be5b8
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
test cl, 1
je 0x4be673
and ecx, 0xfffffffe
movzx edx, byte [ecx + 0xf]
test dl, dl
js 0x4be64a
add ecx, 4
mov eax, ecx
jmp 0x4be650
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov ecx, dword [ebx]
sub ecx, esi
cmp ecx, edx
jge 0x4be664
mov ecx, ebx
push esi
push edx
push eax
call fcn.00506f84
jmp 0x4be675
push edx
push eax
push esi
mov edi, edx
call fcn.005ae710
add esp, 0xc
add esi, edi
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8