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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
mov esi, esp
mov dword [esi + 0xc0], ebp
mov dword [esi + 0xc4], esp
mov dword [esi + 0xd0], 0xffffffff
mov dword [esi + 0xcc], 0x4c51f0
mov edi, edx
mov ebx, ecx
mov eax, dword fs:[0]
mov dword [esi + 0xc8], eax
lea eax, [esi + 0xc8]
mov dword fs:[0], eax
mov eax, dword [edx + 0x40]
cmp eax, 1
je 0x4be849
cmp eax, 2
mov dword [esi + 0x50], ebx
jne 0x4bef53
lea ebx, [edi + 0x48]
lea eax, [edi + 0xa0]
lea ecx, [esi + 0x8c]
push eax
push dword [ebp + 8]
push ebx
push ecx
call fcn.004aac30
add esp, 0x10
cmp dword [esi + 0x8c], 0
je 0x4be8f8
mov eax, dword [esi + 0x50]
mov dword [eax], 2
jmp 0x4bef29
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
mov dword [esi + 0x2c], edi
mov edi, 3
add eax, 0xfffffffe
adc ecx, 0xffffffff
xor edx, edx
cmp edi, eax
sbb edx, ecx
jb 0x4be8d5
test eax, eax
jne 0x4be8d5
mov eax, dword [0x69b710]
mov eax, dword [eax]
test eax, eax
je 0x4be95f
mov edi, dword [esi + 0x2c]
mov ecx, dword [edi + 0xbc]
mov eax, dword [edi + 0xc0]
sub ecx, eax
cmp ecx, 0x18
jbe 0x4beb40
mov ecx, dword [edi + 0xb8]
mov byte [ecx + eax + 0x18], 0xa
mov dword [ecx + eax + 0x14], 0xd0a0d65
mov dword [ecx + eax + 0x10], 0x756e6974
mov dword [ecx + eax + 0xc], 0x6e6f4320
mov dword [ecx + eax + 8], 0x30303120
mov dword [ecx + eax + 4], 0x312e312f
mov dword [ecx + eax], 0x50545448
add eax, 0x19
mov dword [edi + 0xc0], eax
mov edx, dword [esi + 0x2c]
mov ecx, ebx
mov dword [edx + 0x44], 0
mov dword [edx + 0x40], 2
push dword [ebp + 8]
call fcn.004be7b0
add esp, 4
jmp 0x4bef29
mov edx, dword [esi + 0x90]
mov dword [esi + 0x10], ebx
mov ecx, dword [esi + 0x94]
mov ebx, dword [esi + 0x98]
mov dword [esi + 0x2c], edi
test edx, edx
je 0x4bea27
mov eax, dword [esi + 0x9c]
mov dword [esi + 0x74], edx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], ecx
mov dword [esi + 0x88], eax
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x10]
movzx eax, byte [eax]
cmp eax, 2
je 0x4bea77
cmp eax, 1
jne 0x4beac6
cmp byte [edi + 0x49], 0xb
sete al
test al, al
jne 0x4bea7f
jmp 0x4bead3
mov edi, dword [0x69a39c]
movzx eax, byte [edi + 8]
test al, al
je 0x4be878
movzx ecx, al
cmp ecx, 1
je 0x4be984
cmp ecx, 2
jne 0x4bef3d
mov al, 2
movzx eax, al
push eax
push dword [edi]
call fcn.005313d0
add esp, 8
test al, al
je 0x4be878
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x4bef95
mov edi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea ecx, [eax + 0x1c]
mov dword [esi + 0x14], 0x60f06c
mov dword [esi + 0x18], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x1c], 0x60e7cc
mov dword [esi + 0x20], 0
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edx
lea edx, [esi + 0x3c]
lea edi, [esi + 0x60]
movlps qword [esi + 0x44], xmm0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x60], edx
lea edx, [esi + 0x14]
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], 1
mov dword [esi + 0x94], ecx
lea ecx, [esi + 0x8c]
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], 0x60e7cc
push ecx
push eax
call fcn.00531b00
add esp, 8
jmp 0x4be878
mov eax, dword [0x69b710]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ebx
mov eax, dword [eax]
mov ecx, dword [esi + 0x10]
mov dword [esi + 8], ebx
cmp eax, 1
ja 0x4bed64
mov edi, dword [0x69a3a0]
movzx eax, byte [edi + 8]
test al, al
je 0x4bed64
movzx ecx, al
mov dword [esi + 4], edx
cmp ecx, 1
je 0x4bec99
cmp ecx, 2
jne 0x4bec75
mov al, 2
jmp 0x4bec99
movzx eax, byte [edi + 0x49]
test al, al
je 0x4bead3
mov eax, dword [0x69b710]
mov dword [esi + 0xc], ecx
mov eax, dword [eax]
mov dword [esi + 8], ebx
cmp eax, 1
ja 0x4bec32
mov edi, dword [0x69a3a8]
movzx eax, byte [edi + 8]
test al, al
je 0x4bec32
movzx ecx, al
mov dword [esi + 4], edx
cmp ecx, 1
je 0x4beb84
cmp ecx, 2
jne 0x4beb5d
mov al, 2
jmp 0x4beb84
mov eax, dword [edi + 0x50]
or eax, dword [edi + 0x54]
sete al
test al, al
jne 0x4bea7f
test ebx, ebx
je 0x4beaf9
movsd xmm0, qword [esi + 0x74]
mov eax, dword [esi + 0x50]
movsd xmm1, qword [esi + 0x7c]
movsd qword [eax + 0xc], xmm1
movsd qword [eax + 4], xmm0
mov dword [eax], 1
jmp 0x4bef29
mov eax, dword [0x69b710]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ecx
mov eax, dword [eax]
cmp eax, 4
ja 0x4bee47
mov edi, dword [0x69a3a4]
movzx eax, byte [edi + 8]
test al, al
je 0x4bee47
movzx ecx, al
mov dword [esi + 4], edx
cmp ecx, 1
je 0x4beda3
cmp ecx, 2
jne 0x4bed7f
mov al, 2
jmp 0x4beda3
lea ecx, [edi + 0xb8]
push 0x19
push eax
push ecx
call fcn.0059c3c0
add esp, 0xc
mov eax, dword [edi + 0xc0]
jmp 0x4be892
mov dword [esi + 0xd0], 0
push edi
call fcn.0059e2f0
add esp, 4
mov edx, dword [esi + 4]
mov ebx, dword [esi + 8]
mov edi, dword [0x69a3a8]
test al, al
je 0x4bec32
mov ecx, dword [edi]
movzx eax, al
mov dword [esi + 0xd0], 0
push eax
push ecx
call fcn.005313d0
add esp, 8
test al, al
mov edx, dword [esi + 4]
mov ebx, dword [esi + 8]
mov eax, dword [0x69a3a8]
je 0x4bec32
mov eax, dword [eax]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x4befab
mov edi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea ecx, [eax + 0x1c]
lea ebx, [esi + 0x14]
mov dword [esi + 0x14], 0x60f0d4
mov dword [esi + 0x18], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x1c], 0x60e7cc
mov dword [esi + 0x20], 0
mov dword [esi + 0x3c], edi
lea edi, [esi + 0x3c]
mov dword [esi + 0x40], edx
movlps qword [esi + 0x44], xmm0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x30], edi
lea edi, [esi + 0x30]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], 0x60e7cc
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], 1
mov dword [esi + 0x5c], ecx
lea ecx, [esi + 0x54]
push ecx
push eax
call fcn.00531b00
add esp, 8
mov edx, dword [esi + 4]
mov ebx, dword [esi + 8]
movsd xmm0, qword [esi + 0x60]
movsd xmm1, qword [esi + 0x68]
xor edi, edi
test ebx, ebx
mov ebx, 3
mov eax, 1
movsd qword [esi + 0xb8], xmm1
movsd qword [esi + 0xb0], xmm0
movsd qword [esi + 0xa0], xmm0
movsd qword [esi + 0xa8], xmm1
jne 0x4beeb3
jmp 0x4bee82
mov dword [esi + 0xd0], 1
push edi
call fcn.0059e2f0
add esp, 4
mov edx, dword [esi + 4]
mov edi, dword [0x69a3a0]
test al, al
je 0x4bed61
mov ecx, dword [edi]
movzx eax, al
mov dword [esi + 0xd0], 1
push eax
push ecx
call fcn.005313d0
add esp, 8
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x10]
test al, al
je 0x4bed64
mov eax, dword [0x69a3a0]
mov eax, dword [eax]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x4befc1
mov edi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea ecx, [eax + 0x1c]
lea ebx, [esi + 0x54]
mov dword [esi + 0x14], 0x60f108
mov dword [esi + 0x18], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x1c], ebx
lea ebx, [esi + 0x14]
mov dword [esi + 0x20], 1
mov dword [esi + 0x3c], edi
lea edi, [esi + 0x30]
mov dword [esi + 0x40], edx
movlps qword [esi + 0x44], xmm0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x54], edi
lea edi, [esi + 0x3c]
mov dword [esi + 0x58], fcn.00579e60
mov dword [esi + 0x74], edi
lea edi, [esi + 0x74]
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], 0x60e7cc
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], 1
mov dword [esi + 0x68], ecx
lea ecx, [esi + 0x60]
push ecx
push eax
call fcn.00531b00
add esp, 8
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 4]
mov dword [esi + 8], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], eax
jmp 0x4bed64
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xd0], 2
mov ebx, 4
mov eax, 1
xor edi, edi
jmp 0x4beec0
mov dword [esi + 0xd0], 0
push edi
call fcn.0059e2f0
add esp, 4
mov edx, dword [esi + 4]
mov edi, dword [0x69a3a4]
test al, al
je 0x4bee47
mov ecx, dword [edi]
movzx eax, al
mov dword [esi + 0xd0], 0
push eax
push ecx
call fcn.005313d0
add esp, 8
test al, al
mov edx, dword [esi + 4]
mov eax, dword [0x69a3a4]
je 0x4bee47
mov eax, dword [eax]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x4befd7
mov edi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea ecx, [eax + 0x1c]
lea ebx, [esi + 0x14]
mov dword [esi + 0x14], 0x60f0a4
mov dword [esi + 0x18], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x1c], 0x60e7cc
mov dword [esi + 0x20], 0
mov dword [esi + 0x3c], edi
lea edi, [esi + 0x3c]
mov dword [esi + 0x40], edx
movlps qword [esi + 0x44], xmm0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x30], edi
lea edi, [esi + 0x30]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], 0x60e7cc
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], 1
mov dword [esi + 0x5c], ecx
lea ecx, [esi + 0x54]
push ecx
push eax
call fcn.00531b00
add esp, 8
mov edx, dword [esi + 4]
movsd xmm0, qword [esi + 0x60]
movsd xmm1, qword [esi + 0x68]
xor edi, edi
mov ebx, 4
mov dword [esi + 0xd0], 0xffffffff
movsd qword [esi + 0xb8], xmm1
movsd qword [esi + 0xb0], xmm0
movsd qword [esi + 0xa0], xmm0
movsd qword [esi + 0xa8], xmm1
mov eax, dword [edx + 8]
mov dword [esi + 0x84], edi
mov dword [esi + 0xd0], 0xffffffff
push dword [esi + 8]
push dword [esi + 0xc]
lea ecx, [esi + 0x80]
push ecx
mov edi, edx
call eax
mov edx, edi
mov edi, dword [esi + 0x84]
add esp, 0xc
xor eax, eax
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xd0], 2
movsd xmm0, qword [esi + 0xa0]
movsd xmm1, qword [esi + 0xa8]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edx
mov edx, dword [esi + 0xc]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
mov ecx, dword [esi + 8]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], ecx
mov ecx, dword [esi + 0x88]
mov dword [esi + 0x24], ecx
mov ecx, dword [esi + 0x2c]
mov dword [ecx + 0x44], edi
mov dword [ecx + 0x40], ebx
call fcn.004bf240
mov ecx, dword [esi + 0x2c]
mov edx, dword [ebp + 8]
call fcn.004be0f0
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x50]
movsd xmm0, qword [esi + 0x14]
movsd xmm1, qword [esi + 0x1c]
mov dword [ecx + 0x10], eax
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
mov eax, dword [esi + 0xc8]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push edi
call fcn.0059e2f0
add esp, 4
test al, al
jne 0x4be984
jmp 0x4be878
add edi, 0x40
lea eax, [esi + 0x3c]
mov dword [esi + 0x14], 0x60f158
mov dword [esi + 0x18], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x1c], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0x4c4cd0
mov dword [esi + 0x20], 1
lea eax, [esi + 0x14]
push 0x60f160
push eax
call fcn.005a0aa0
add esp, 8
ud2
push 0x60f038
push 0x22
push 0x60e700
call fcn.005a0a40
add esp, 0xc
ud2
push 0x60f0ac
push 0x22
push 0x60e700
call fcn.005a0a40
add esp, 0xc
jmp 0x4befeb
push 0x60f0dc
push 0x22
push 0x60e700
call fcn.005a0a40
add esp, 0xc
jmp 0x4befeb
push 0x60f074
push 0x22
push 0x60e700
call fcn.005a0a40
add esp, 0xc
ud2