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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x50], ecx
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.004b6fa0
mov edi, eax
mov eax, dword [esi + 4]
sub esp, 8
sub eax, dword [esi]
sar eax, 2
test eax, eax
jne 0x4bf2b0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
mov eax, dword [eax + 0x90]
lea esi, [eax + 1]
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x90], esi
mov dword [esp], 0x44
call fcn.006540e0
mov ecx, dword [ebp - 0x50]
lea edx, [ecx + 0x70]
mov dword [ebp - 0x3c], edx
mov dword [eax + 4], edx
mov dword [eax], 0x6f0e88
mov dword [eax + 0xc], esi
lea esi, [eax + 8]
mov dword [eax + 0x10], ebx
lea ebx, [eax + 0x18]
mov dword [eax + 8], 0x6f0e48
mov ecx, ebx
mov dword [eax + 0x14], 0x36
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov byte [eax + 0x40], 0
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0x28], 0
call fcn.0063d380
lea eax, [ebp - 0x2c]
mov ecx, ebx
mov dword [ebp - 0x2c], edi
sub esp, 4
mov dword [esp], eax
call fcn.0063d380
mov edx, dword [ebp - 0x3c]
mov ecx, edx
sub esp, 4
mov dword [esp], esi
call fcn.005a2710
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x58]
mov eax, dword [ecx + 0x78]
mov dword [ebp - 0x30], esi
sub esp, 4
cmp eax, dword [ecx + 0x7c]
je 0x4bf2fc
test eax, eax
je 0x4bf2ed
mov dword [eax], esi
mov eax, dword [ecx + 0x78]
mov esi, dword [ebp - 0x50]
add eax, 4
mov dword [esi + 0x78], eax
mov eax, esi
mov eax, dword [eax + 0x80]
mov eax, dword [eax + edi*4]
mov esi, eax
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [eax + 0x10]
sub edx, eax
sar edx, 2
lea esi, [edx - 1]
test esi, esi
mov dword [ebp - 0x40], esi
jle 0x4bf01c
mov edi, dword [ebp - 0x58]
xor ebx, ebx
mov ecx, dword [ebp - 0x50]
mov esi, edi
add esi, 0x28
sub ecx, 0xffffff80
mov dword [ebp - 0x4c], esi
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x48], ecx
shl esi, 2
mov dword [ebp - 0x3c], esi
mov esi, edi
jmp 0x4bef60
mov ecx, dword [ebp - 0x3c]
mov dword [edi + ecx], eax
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
je 0x4beffe
test eax, eax
mov edx, dword [ebp - 0x1c]
je 0x4bf285
mov dword [eax], edx
mov eax, dword [esi + 0x2c]
add eax, 4
add dword [ebp - 0x3c], 4
cmp dword [ebp - 0x40], ebx
mov dword [esi + 0x2c], eax
je 0x4bf01c
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x10]
add ebx, 1
mov edi, dword [eax + ebx*4]
mov dword [esp], 0x20
call fcn.006540e0
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx + ebx - 1]
mov dword [eax + 8], edi
mov edi, dword [edx + 0x80]
mov edx, dword [edx + 0x84]
mov dword [eax], 0x6f0e48
mov dword [eax + 4], ecx
mov dword [eax + 0xc], 0x37
sub edx, edi
sar edx, 2
cmp ecx, edx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [ebp - 0x1c], eax
jb 0x4bef25
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx + ebx + 0xf]
cmp ecx, edx
ja 0x4bf28c
jae 0x4bef25
mov ecx, dword [ebp - 0x3c]
lea edx, [edi + ecx + 0x40]
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x84], edx
mov ecx, dword [ebp - 0x3c]
mov dword [edi + ecx], eax
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
jne 0x4bef37
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x1c]
mov dword [esp], eax
call fcn.00634910
add dword [ebp - 0x3c], 4
sub esp, 4
cmp dword [ebp - 0x40], ebx
jne 0x4bef5a
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4bf2c6
mov eax, dword [ebp + 0x18]
mov ebx, dword [eax + 4]
mov esi, dword [eax]
mov eax, ebx
sub eax, esi
sar eax, 2
imul eax, eax, 0xaaaaaaab
test eax, eax
je 0x4bf180
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], 0
add eax, 0x110
mov dword [ebp - 0x48], eax
lea esi, [esi]
mov eax, dword [ebp - 0x4c]
lea edi, [eax + eax*2]
shl edi, 2
lea edx, [esi + edi]
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ebp - 0x40], edi
mov edx, ecx
sub edx, eax
cmp edx, 3
jle 0x4bf166
mov ebx, dword [ebp - 0x4c]
add ebx, dword [ebp - 0x54]
mov dword [ebp - 0x44], ebx
xor ebx, ebx
lea esi, [esi]
mov edx, dword [eax + ebx*4]
cmp edx, 0x7fffffff
mov dword [ebp - 0x3c], edx
je 0x4bf14e
mov dword [esp], 0x20
call fcn.006540e0
mov edi, eax
mov dword [eax], 0x6f0e48
lea esi, [edi + 0x10]
mov dword [eax + 4], 0
mov ecx, esi
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0x47
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.0063d220
mov edx, dword [ebp - 0x3c]
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x24], edx
sub esp, 4
cmp ecx, dword [edi + 0x18]
je 0x4bf270
test ecx, ecx
je 0x4bf118
mov dword [ecx], edx
add ecx, 4
mov dword [edi + 0x14], ecx
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x1c]
mov dword [esp], eax
mov dword [ebp - 0x1c], edi
call fcn.006374b0
mov ecx, dword [ebp - 0x1c]
sub esp, 4
test ecx, ecx
je 0x4bf13e
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x18]
mov esi, dword [eax]
mov eax, dword [ebp - 0x40]
lea edx, [esi + eax]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, ecx
add ebx, 1
sub edx, eax
sar edx, 2
cmp ebx, edx
jl 0x4bf090
mov eax, dword [ebp + 0x18]
mov ebx, dword [eax + 4]
mov eax, ebx
sub eax, esi
sar eax, 2
add dword [ebp - 0x4c], 1
imul eax, eax, 0xaaaaaaab
cmp dword [ebp - 0x4c], eax
jb 0x4bf060
mov edx, dword [ebp + 0x1c]
test edx, edx
je 0x4bf1f6
mov eax, dword [ebp - 0x50]
mov esi, dword [eax + 0x90]
mov dword [ebp - 0x3c], esi
add esi, 1
mov dword [eax + 0x90], esi
mov dword [esp], 0x3c
call fcn.006540e0
mov edi, dword [ebp - 0x58]
mov dword [esp], esi
mov dword [esp + 4], edi
mov ebx, eax
mov ecx, ebx
call fcn.005a2490
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], ebx
mov dword [eax], ebx
mov eax, dword [edi + 0x38]
sub esp, 8
cmp eax, dword [edi + 0x3c]
je 0x4bf33a
test eax, eax
je 0x4bf315
mov dword [eax], ebx
mov eax, dword [edi + 0x38]
mov esi, dword [ebp - 0x58]
add eax, 4
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp - 0x50]
mov eax, dword [eax]
mov dword [esi + 0x8c], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4bf218
mov eax, dword [ebp - 0x58]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x50]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.004b5400
sub esp, 8
mov esi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x58]
mov eax, dword [esi + 0x138]
cmp eax, dword [esi + 0x13c]
mov dword [ebp - 0x34], ebx
je 0x4bf31c
test eax, eax
je 0x4bf2f4
mov dword [ebp - 0x34], 0
mov dword [eax], ebx
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x50]
add eax, 4
mov dword [esi + 0x138], eax
test ecx, ecx
je 0x4bf25c
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x58]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x18
lea edx, [ebp - 0x24]
mov ecx, esi
mov dword [esp], edx
call fcn.0063d220
sub esp, 4
jmp 0x4bf11e
xor eax, eax
jmp 0x4bef47
sub ecx, edx
mov dword [esp], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x5c], eax
call fcn.006347f0
mov eax, dword [ebp - 0x50]
mov edi, dword [eax + 0x80]
mov eax, dword [ebp - 0x5c]
sub esp, 4
jmp 0x4bef25
mov esi, dword [ebp - 0x50]
mov edx, dword [esi + 0x90]
lea esi, [edx + 1]
add eax, edx
mov dword [ebp - 0x54], esi
jmp 0x4bede3
cmp dword [ebp + 8], 0x7fffffff
je 0x4bf02a
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x50]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.004b9a70
sub esp, 8
jmp 0x4bf02a
xor eax, eax
jmp 0x4beed0
mov ecx, dword [ebp - 0x58]
jmp 0x4bf247
lea eax, [ebp - 0x30]
mov dword [esp], eax
lea ecx, [ecx + 0x74]
call fcn.00634b50
mov eax, dword [ebp - 0x50]
sub esp, 4
jmp 0x4beedb
xor eax, eax
jmp 0x4bf1df
lea eax, [ebp - 0x34]
mov ecx, esi
add ecx, 0x134
mov dword [esp], eax
call fcn.00637640
mov ecx, dword [ebp - 0x34]
sub esp, 4
jmp 0x4bf253
mov eax, dword [ebp - 0x58]
lea ecx, [eax + 0x34]
lea eax, [ebp - 0x1c]
mov dword [esp], eax
call fcn.006349d0
sub esp, 4
jmp 0x4bf1e8