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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x4bb55d
sub esp, 0x84
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0xa4]
mov edx, dword [eax + 0xa8]
test ecx, ecx
je 0x4bb503
cmp word [eax + 0x90], 0x8664
jne 0x4bb4e8
lea ebx, [0x4c8000]
cmp ecx, ebx
jne 0x4bb546
mov ecx, dword [edx + 0x98]
mov edx, dword [edx + 0x9c]
mov dword [esp + 0x24], edx
mov ebx, dword [eax + 0xac]
mov eax, dword [eax + 0xb0]
xor ebp, ebp
jmp 0x4bb059
inc ebp
cmp eax, ebp
jle 0x4bb4dd
mov esi, dword [ebx + ebp*4]
cmp dword [esi + 0x14], ecx
jne 0x4bb058
mov dword [esp], esi
call fcn.004bb940
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x4bb4bd
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], esi
lea eax, [0x4d7200]
mov dword [esp], eax
call fcn.0040b490
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 8], eax
mov eax, dword [0x5afef0]
test eax, eax
jne 0x4bb4af
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
mov dword [esp + 0x38], edi
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xffffffff
lea eax, [0x4cb6c0]
mov dword [esp], eax
call fcn.0040b490
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
xor ecx, ecx
jmp 0x4bb2f0
mov ebx, edx
shr dx, 0xc
mov ebp, dword [esp + 0x4c]
mov esi, ebp
lea ebp, [ebp + eax*4]
mov byte [ebp], dl
and ebx, 0xfff
mov word [ebp + 2], bx
lea edx, [eax + 1]
mov ebx, dword [esp + 0x28]
lea eax, [ebx + 2]
mov ecx, esi
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x34]
cmp ebx, edx
jbe 0x4bb276
mov dword [esp + 0x20], edx
lea eax, [0x4cdae0]
mov dword [esp], eax
call fcn.0040b490
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
lea ecx, [0x510b14]
mov dword [esp], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
lea ebx, [0x51128c]
mov dword [esp + 8], ebx
lea ebp, [0x5afe00]
mov dword [esp + 0xc], ebp
lea esi, [0x4c77c0]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
call fcn.004b13f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x4bb1bf
nop
mov edx, dword [esp + 0x48]
movzx edx, word [edx]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
cmp ecx, eax
ja 0x4bb107
jmp 0x4bb52b
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00408d10
mov eax, dword [esp + 4]
lea ecx, [0x4cfd00]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4bb272
mov ecx, dword [eax + 4]
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], eax
lea eax, [0x4edf03]
mov dword [esp], eax
mov dword [esp + 4], 0x29
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004933f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
add esp, 0x84
ret
mov ecx, eax
jmp 0x4bb210
lea edi, [esp + 0x70]
mov edx, eax
xor eax, eax
call fcn.004597fb
mov ecx, dword [esp + 0x54]
mov ebp, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov ecx, dword [esp + 0x50]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx]
mov esi, edx
mov edx, dword [ecx + 8]
mov edi, ecx
lea ecx, [ebx + 1]
cmp edx, ecx
jb 0x4bb3c3
lea ecx, [ebx + 1]
mov dword [edi + 4], ecx
mov ecx, dword [0x5afef0]
lea edx, [ebx + ebx*4]
lea edx, [ebp + edx*4]
test ecx, ecx
jne 0x4bb39e
mov edi, edx
mov ebx, esi
lea esi, [esp + 0x70]
call fcn.00459cde
mov eax, dword [esp + 0x50]
mov ecx, ebx
mov edx, dword [esp + 0x24]
cmp ecx, edx
jae 0x4bb48b
mov dword [esp + 0x28], ecx
lea eax, [0x4d4840]
mov dword [esp], eax
call fcn.0040b490
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
lea ecx, [0x510b14]
mov dword [esp], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
lea ebx, [0x51128c]
mov dword [esp + 8], ebx
lea ebp, [0x5afe00]
mov dword [esp + 0xc], ebp
lea esi, [0x4c8080]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
call fcn.004b13f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x4bb416
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
lea edx, [0x4d4720]
mov dword [esp], edx
add ecx, 0xfffffff8
shr ecx, 1
mov dword [esp + 0x34], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00441c90
mov eax, dword [esp + 0x28]
add eax, 8
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], ecx
xor edx, edx
jmp 0x4bb130
lea eax, [0x4d48a0]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
call fcn.0040f2d0
xor eax, eax
mov ebx, dword [esp + 0x28]
jmp 0x4bb2ea
lea eax, [0x4d48a0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00441e00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x50]
mov dword [edi + 8], edx
mov edx, dword [0x5afef0]
test edx, edx
jne 0x4bb40f
mov dword [edi], eax
mov esi, dword [esp + 0x28]
mov ebx, ecx
mov ebp, eax
xor eax, eax
jmp 0x4bb2c2
call fcn.004595d0
jmp 0x4bb400
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
test ecx, ecx
je 0x4bb42d
mov ecx, dword [ecx + 4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
lea eax, [0x4ec7bd]
mov dword [esp], eax
mov dword [esp + 4], 0x21
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004933f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
add esp, 0x84
ret
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x84
ret
mov eax, dword [esp + 0x3c]
call fcn.004595d0
jmp 0x4bb0d1
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
add esp, 0x84
ret
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x4bb091
lea ebx, [0x4c7fc0]
cmp ecx, ebx
jne 0x4bb530
mov ecx, dword [edx + 0x88]
mov edx, dword [edx + 0x8c]
jmp 0x4bb044
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x84
ret
call fcn.00459660
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x4cf5c0]
mov dword [esp + 8], eax
call fcn.00408ad0
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x4cf5c0]
mov dword [esp + 8], eax
call fcn.00408ad0
nop
call fcn.00458070
jmp fcn.004bafe0