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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x10]
push esi
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0x68], 0x18
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ecx
je 0x4beb3f
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], edi
jmp 0x4beb51
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], eax
lea esi, [esp + 0x98]
call fcn.004bc770
push 4
lea edx, [esp + 0x20]
push edx
call dword [0x10075f84]
mov edx, dword [ebp + 8]
mov eax, esi
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x74]
call fcn.004c66d0
mov eax, dword [esp + 0xb8]
cmp eax, edi
jne 0x4bec1d
mov esi, dword [esp + 0xb0]
cmp esi, edi
je 0x4beba1
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x58]
mov ecx, esi
call eax
test eax, eax
je 0x4bebb5
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
jmp 0x4bebc2
mov ecx, dword [ebp + 8]
cmp dword [ecx], 1
jne 0x4bebe9
mov edx, dword [esi]
mov eax, dword [edx + 0x6c]
mov ebx, dword [ebp + 0x10]
mov ecx, esi
push ebx
call eax
cmp ebx, edi
je 0x4bf0d4
cmp dword [ebp + 0x14], edi
je 0x4bf0d4
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
jmp 0x4bf0d4
cmp dword [ebp + 0x10], edi
je 0x4bec08
mov ecx, dword [0x10075e30]
mov eax, dword [ecx + 0x18c]
lea edx, [esp + 0x68]
push edx
call eax
mov ebx, eax
jmp 0x4bf0d6
mov eax, dword [0x10075e30]
mov eax, dword [eax + 0x18c]
push ebx
call eax
mov ebx, eax
jmp 0x4bf0d6
cmp eax, 2
jne 0x4bf0ab
mov esi, dword [esp + 0xb4]
cmp esi, edi
mov dword [esp + 0x14], esi
je 0x4bec3d
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x58]
mov ecx, esi
call eax
test eax, eax
je 0x4bec6e
lea esi, [esp + 0x98]
call fcn.004bc7e0
mov esi, dword [esp + 0x14]
mov ebx, eax
neg ebx
sbb ebx, ebx
and ebx, 6
add ebx, 0xc0000034
jmp 0x4bf0d6
mov ecx, dword [ebp + 8]
cmp dword [ecx], 1
jne 0x4bec08
mov edx, dword [esp + 0xc8]
push 4
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x2c], edx
call dword [0x10075f84]
push 4
lea ecx, [esp + 0x14]
push ecx
call dword [0x10075f84]
mov ebx, esi
mov esi, dword [esp + 0x14]
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
mov dword [esp + 0x10], ebx
call eax
push 0x200
xor eax, eax
mov dword [esp + 0x5c], 0xff
call fcn.004b15e0
add esp, 4
mov dword [esp + 0x50], eax
mov word [eax], di
push 0x200
xor eax, eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x68], 0xff
call fcn.004b15e0
add esp, 4
cmp dword [esp + 0x24], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edi
mov word [eax], di
je 0x4bef98
mov edx, dword [ebx]
mov eax, dword [edx + 0x74]
mov ecx, ebx
call eax
test al, 0x10
je 0x4bf00c
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x40]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x4bed3c
mov ecx, dword [esp + 0x40]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x4bed3c
push 0x10060788
lea esi, [esp + 0x44]
call fcn.00497c00
mov edx, dword [esp + 0x24]
push edx
lea esi, [esp + 0x44]
call fcn.00497c00
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x44]
call fcn.004bc840
add esp, 4
cmp dword [esp + 0x4c], 0xffffffff
je 0x4bf081
mov esi, 0xff
push 0x200
xor eax, eax
mov dword [esp + 0x40], esi
call fcn.004b15e0
add esp, 4
mov dword [esp + 0x34], eax
mov word [eax], di
push 0x200
xor eax, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], esi
call fcn.004b15e0
mov word [eax], di
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
mov dword [esp + 0x2c], eax
add esp, 4
lea eax, [esp + 0x8c]
push eax
mov ecx, ebx
mov dword [esp + 0x30], edi
call edx
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x38]
push edx
mov edx, dword [eax]
push ecx
push edx
call fcn.004bc010
mov eax, dword [esp + 0x9c]
add esp, 0x10
cmp eax, edi
je 0x4bedf7
call fcn.004b16a0
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov esi, dword [esp + 0x2c]
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
neg esi
lea ecx, [esp + 0x80]
sbb esi, esi
and esi, dword [esp + 0x28]
push ecx
mov ecx, ebx
call edx
mov edx, dword [esp + 0x34]
push edi
push edi
push edi
mov ecx, eax
mov ecx, dword [ecx]
mov eax, dword [esp + 0x58]
push esi
push edx
shr eax, 3
push ecx
lea edx, [esp + 0x24]
and eax, 2
push edx
call fcn.004cfb90
mov eax, dword [esp + 0x9c]
add esp, 0x1c
cmp eax, edi
je 0x4bee5e
call fcn.004b16a0
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
cmp dword [esp + 0x18], edi
mov esi, dword [esp + 0xc]
jne 0x4bee98
cmp esi, edi
mov dword [esp + 0x18], esi
je 0x4bee78
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esp + 0x34]
push edx
lea edi, [esp + 0x54]
call fcn.00498aa0
mov eax, dword [esp + 0x28]
push eax
lea edi, [esp + 0x60]
call fcn.00498aa0
xor edi, edi
jmp 0x4beeac
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebx]
mov edx, dword [edx + 0x54]
push esi
push eax
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
cmp esi, edi
mov ebx, esi
je 0x4beec2
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4beed2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, edi
mov dword [esp + 0x10], esi
je 0x4beee2
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esp + 0xa0]
cmp edx, dword [esp + 0xa4]
jb 0x4beef8
mov dword [esp + 0x20], edi
jmp 0x4bef23
xor ecx, ecx
cmp word [edx], di
mov dword [esp + 0x20], edx
mov eax, edx
je 0x4bef10
add eax, 2
add ecx, 1
cmp word [eax], di
jne 0x4bef05
mov eax, dword [esp + 0x20]
lea edx, [edx + ecx*2 + 2]
mov dword [esp + 0xa0], edx
mov dword [esp + 0x20], eax
cmp esi, edi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
je 0x4bef3b
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x4bef54
call fcn.004b16a0
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x4bef6d
call fcn.004b16a0
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x40]
cmp eax, edi
je 0x4bef86
call fcn.004b16a0
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
cmp dword [esp + 0x20], edi
jne 0x4becfb
mov esi, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov edx, dword [edx + 0x6c]
push eax
call edx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x5c]
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [eax + 0x54]
push ecx
mov ecx, esi
call edx
xor ebx, ebx
cmp dword [ebp + 0x10], edi
je 0x4befd6
cmp dword [ebp + 0x14], edi
je 0x4befd6
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x70]
call edx
lea ecx, [esp + 0x5c]
call fcn.004894f0
lea ecx, [esp + 0x50]
call fcn.004894f0
lea esi, [esp + 0xc]
call fcn.004a2a60
lea esi, [esp + 0x10]
call fcn.004a2a60
lea esi, [esp + 0x18]
call fcn.004a2a60
mov esi, dword [esp + 0x14]
jmp 0x4bf0d6
lea esi, [esp + 0x98]
mov dword [esp + 0xc], ebx
call fcn.004bc7e0
mov edi, eax
neg edi
sbb edi, edi
and edi, 6
add edi, 0xc0000034
lea ecx, [esp + 0x5c]
call fcn.004894f0
lea ecx, [esp + 0x50]
call fcn.004894f0
lea esi, [esp + 0xc]
call fcn.004a2a60
lea esi, [esp + 0x10]
call fcn.004a2a60
lea esi, [esp + 0x18]
call fcn.004a2a60
lea esi, [esp + 0x14]
call fcn.004a2a60
lea esi, [esp + 0x1c]
call fcn.004a2a60
lea esi, [esp + 0x98]
call fcn.004bea90
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea esi, [esp + 0x98]
mov dword [esp + 0xc], ebx
call fcn.004bc7e0
mov edi, eax
neg edi
sbb edi, edi
and edi, 6
lea ecx, [esp + 0x40]
add edi, 0xc0000034
call fcn.004894f0
jmp 0x4bf02b
cmp dword [ebp + 0x10], edi
je 0x4bf0b7
mov ebx, 0xc0000034
jmp 0x4bf0de
mov esi, dword [esp + 0xb0]
cmp esi, edi
je 0x4bf0ca
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x6c]
push edi
mov ecx, esi
call eax
xor ebx, ebx
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x4bf0f2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x1c], edi
lea esi, [esp + 0x98]
call fcn.004bea90
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x10