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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x4bf2aa
sub esp, 0xb8
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax]
mov edx, dword [esp + 0xc8]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004aff70
mov eax, dword [esp + 8]
test eax, eax
jg 0x4bebaa
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x4beb0c
xor ecx, ecx
jmp 0x4beb1f
movzx ecx, byte [ecx]
test cl, cl
je 0x4beb1a
mov ecx, 0xffffffff
jmp 0x4beb1f
mov ecx, 1
test ecx, ecx
je 0x4beb7e
mov ecx, dword [esp + 0xbc]
test ecx, ecx
jne 0x4beb40
mov ecx, dword [esp + 0xc8]
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x4beeb0
mov dword [esp], ecx
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
call fcn.004bdec0
mov byte [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
jmp 0x4bebd6
mov eax, dword [0x619a50]
mov ecx, dword [0x619a54]
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
add esp, 0xb8
ret
mov eax, dword [0x619a50]
mov ecx, dword [0x619a54]
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
add esp, 0xb8
ret
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax]
mov edx, dword [esp + 0xbc]
mov dword [esp], edx
mov ebx, dword [esp + 0xc0]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004bc280
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test ecx, ecx
jne 0x4bf0c0
mov dword [esp + 0x48], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x30], ecx
mov ecx, dword [0x619544]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004aff70
mov eax, dword [esp + 8]
test eax, eax
jne 0x4bec43
mov eax, dword [0x619540]
jmp 0x4bec47
mov eax, dword [esp + 0x48]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx]
lea ebx, [esp + 0xa8]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004b1d10
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4bebd6
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 4]
mov byte [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea edx, [esp + 0x98]
mov dword [esp], edx
mov edx, ecx
sar ecx, 0x1f
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call fcn.004af4c0
mov eax, dword [esp + 0xc]
mov byte [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx]
lea ebx, [esp + 0x88]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.004b0110
mov eax, dword [esp + 0x10]
mov byte [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov ecx, dword [esp + 0xc8]
lea edx, [esp + 0x78]
cmp ecx, edx
je 0x4bee69
mov dword [esp + 0x44], eax
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
test ebx, ebx
jg 0x4bed74
mov esi, ebx
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov ebx, esi
jmp 0x4bee10
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], ebp
cmp ebx, 1
jne 0x4bedcc
lea eax, [0x52a360]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00447600
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc8]
lea edx, [esp + 0x78]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x24]
mov ebx, 1
mov edi, eax
mov eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
jmp 0x4bee10
lea eax, [0x52a360]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [ebx + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 8], eax
call fcn.00447600
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc8]
lea edx, [esp + 0x78]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x24]
mov ebx, esi
mov edi, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
cmp ebx, esi
jg 0x4bee16
mov esi, ebx
cmp edi, ebp
je 0x4bee4c
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], ebx
mov dword [esp], edi
mov dword [esp + 4], ebp
shl esi, 2
mov dword [esp + 8], esi
call fcn.0045fa10
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xc8]
lea edx, [esp + 0x78]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x7c], edi
movzx ecx, byte [ecx]
mov byte [esp + 0x78], cl
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004af9f0
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax]
lea edx, [esp + 0x78]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004afd70
mov eax, dword [esp + 0xc4]
lea ecx, [esp + 0x78]
lea edx, [esp + 0xa8]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x50], edx
mov esi, dword [eax + 0x18]
test esi, esi
je 0x4bf084
lea eax, [0x52e640]
mov dword [esp], eax
call fcn.0040b1d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x10]
mov ebp, dword [ecx + 0xc]
test ebx, ebx
jbe 0x4bf2a0
mov ecx, dword [ebp]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.004b0110
mov eax, dword [esp + 0x10]
mov byte [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x10]
mov ebp, dword [ecx + 0xc]
cmp ebx, 1
jbe 0x4bf294
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x68]
mov dword [esp], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.004b0110
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004af7b0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4bef98
xor ecx, ecx
jmp 0x4befab
movzx edx, byte [eax]
test dl, dl
je 0x4befa6
mov ecx, 0xffffffff
jmp 0x4befab
mov ecx, 1
test ecx, ecx
jge 0x4befda
mov edx, dword [esp + 0xc4]
mov ecx, dword [edx + 0x10]
mov ebx, dword [edx + 0xc]
test ecx, ecx
jbe 0x4bf28d
mov ecx, dword [ebx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004af570
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004af9f0
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
test ecx, ecx
jbe 0x4bf286
mov eax, dword [edx]
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004afd70
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ecx, 1
jbe 0x4bf27c
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004af9f0
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.004af570
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x24]
test ecx, ecx
je 0x4bf141
mov dword [esp + 0x2c], ecx
xor ebx, ebx
jmp 0x4bf157
lea eax, [0x52e640]
mov dword [esp], eax
call fcn.0040b1d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004b0110
mov eax, dword [esp + 0x10]
jmp 0x4bf0e0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], ebx
add esp, 0xb8
ret
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x4bf11d
mov dword [esp + 0x60], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004af9f0
mov eax, dword [esp + 0xc4]
mov eax, dword [eax]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004afd70
mov eax, dword [esp + 0x60]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xd4], eax
add esp, 0xb8
ret
mov eax, dword [esp + 0x40]
jmp 0x4bf0e0
mov ebp, dword [esp + 0x5c]
lea edx, [ebp + 0xc]
mov ebx, eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x5c], edx
mov ebp, dword [edx + 4]
mov dword [esp + 0x58], ebp
mov esi, dword [edx + 8]
mov dword [esp + 0x54], esi
mov edi, dword [edx]
mov edx, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
lea ebp, [ebx + 2]
cmp edx, ebp
jbe 0x4bf273
mov dword [esp + 0x28], ebx
mov eax, dword [esi + ebx*4 + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
call fcn.004b0110
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
call fcn.004af7b0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
call fcn.004af9f0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
call fcn.004afd70
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4bf1fb
xor ecx, ecx
jmp 0x4bf20e
movzx ecx, byte [eax]
test cl, cl
je 0x4bf209
mov ecx, 0xffffffff
jmp 0x4bf20e
mov ecx, 1
test ecx, ecx
jge 0x4bf22a
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
call fcn.004af570
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 8], ecx
call fcn.004af9f0
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.004af570
mov eax, dword [esp + 0x28]
inc eax
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jg 0x4bf147
mov eax, dword [esp + 0xc4]
jmp 0x4bf141
mov eax, ebp
mov ecx, edx
call fcn.0045f140
mov eax, 1
call fcn.0045f140
xor eax, eax
call fcn.0045f140
xor eax, eax
call fcn.0045f140
mov eax, 1
mov ecx, ebx
call fcn.0045f140
xor eax, eax
mov ecx, ebx
call fcn.0045f140
nop
call fcn.0045dcf0
jmp fcn.004beab0