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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x2bf1fd1
sub esp, 0x50
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
call fcn.02bd6fa0
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
test ecx, ecx
je 0x2bf1cc9
mov edx, dword [eax + 4]
cmp edx, 2
jge 0x2bf1cad
mov edx, dword [0x30f71f8]
mov ebx, dword [0x30f71fc]
jmp 0x2bf1cd5
cmp edx, 0x7fffffff
jle 0x2bf1cc3
mov edx, dword [0x30f71f0]
mov ebx, dword [0x30f71f4]
jmp 0x2bf1cd5
xor edx, edx
xor ebx, ebx
jmp 0x2bf1cd5
mov edx, dword [0x30f7200]
mov ebx, dword [0x30f7204]
test edx, edx
jne 0x2bf1f7a
nop
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
lea ebp, [edx - 1]
test ebp, ebp
jl 0x2bf1d31
mov edx, dword [ebx + edx*4 - 4]
nop
cmp edx, 0x10000
jb 0x2bf1d02
shr edx, 0x10
mov ecx, 0x10
jmp 0x2bf1d04
xor ecx, ecx
cmp edx, 0x100
jb 0x2bf1d12
shr edx, 8
add ecx, 8
cmp edx, 0x100
jae 0x2bf1fc4
shl ebp, 5
lea ebx, [0x2d54522]
movzx edx, byte [ebx + edx]
add ecx, edx
add ecx, ebp
jmp 0x2bf1d33
xor ecx, ecx
lea edx, [ecx + 7]
sar edx, 0x1f
shr edx, 0x1d
lea ecx, [edx + ecx + 7]
sar ecx, 3
lea edx, [ecx - 0xb]
mov ebx, dword [esp + 0x64]
cmp ebx, edx
jg 0x2bf1f4a
mov dword [esp + 0x24], ecx
lea eax, [0x2d0e7c0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.02b274d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
cmp ecx, 1
jbe 0x2bf1fba
mov byte [eax + 1], 2
mov ebx, dword [esp + 0x64]
mov edx, ecx
sub ecx, ebx
lea ebp, [ecx - 1]
cmp edx, ebp
jb 0x2bf1fb3
cmp ebp, 2
jb 0x2bf1fa7
lea ebp, [edx - 2]
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 2
add ebp, eax
cmp edx, ecx
jb 0x2bf1f9e
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp], ebp
lea eax, [ecx - 3]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
call fcn.02bf1fe0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub eax, ecx
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, ecx
mov ebp, dword [esp + 0x2c]
add eax, ebp
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test esi, esi
jne 0x2bf1f26
mov byte [ecx + ebp - 1], 0
mov ecx, dword [esp + 0x64]
cmp ecx, ebx
jl 0x2bf1e1f
mov ecx, ebx
mov edx, dword [esp + 0x60]
cmp edx, eax
je 0x2bf1e3b
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.02b3f220
mov ebp, dword [esp + 0x2c]
mov byte [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebp
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.02bbbe60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov byte [esp + 0x40], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
lea eax, [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
call fcn.02bf3100
mov eax, dword [esp + 0xc]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
call fcn.02bb30c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x50
ret
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edx
add esp, 0x50
ret
mov eax, dword [0x30f71e0]
mov ecx, dword [0x30f71e4]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x50
ret
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebx
add esp, 0x50
ret
mov eax, ecx
mov ecx, edx
call fcn.02b3e960
mov eax, 2
mov ecx, ebp
call fcn.02b3e960
mov ecx, ebp
call fcn.02b3e940
mov eax, 1
call fcn.02b3e900
mov eax, edx
mov ecx, 0x100
call fcn.02b3e910
nop
call fcn.02b3d440
jmp fcn.02bf1c60