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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
je 0x5be88a
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x5be88a
neg esi
neg esi
push edx
pop edx
xor esp, 0
mov edi, edi
jl 0x5be5e1
jg 0x5be5de
jge 0x5be5e1
mov esi, 0xc78157fc
jp 0x5be60b
cld
push edi
add edi, 0x247a
add byte [eax], al
ror edi, 0x14
pop edi
test dword [esp], edx
jb 0x5be604
xchg ecx, ecx
lea ecx, [ecx + 0x1dab]
lea ecx, [ecx - 0x1dab]
jae 0x5be604
mov ecx, 0x3c708b42
mov esi, dword [eax + 0x3c]
add esi, eax
add edx, 0x21f7
mul dword [ecx]
add byte [eax], al
sub edx, 0x21f7
jne 0x5be62d
pushf
xchg ecx, edx
xchg ecx, edx
cmp ebx, dword [esp + 0x10]
popf
jns 0x5be625
lea esp, [esp]
js 0x5be62a
je 0x5be62d
or dword [ebx - 0x367a83b2], 0xfec4d89
test byte [edi + 2], cl
add byte [eax], al
mov ecx, dword [esi + 0x7c]
test ecx, ecx
mov dword [ebp - 0x14], ecx
je 0x5be88a
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x5be88a
nop
jle 0x5be649
jae 0x5be64b
jge 0x5be660
pushf
jo 0x5be651
test dword [esp], edx
mov ecx, ecx
nop
popf
lea ebx, [ebx]
mov esp, esp
jl 0x5be660
add eax, 0x378768b
invalid
mov esi, dword [esi + 0x78]
add esi, eax
mov dword [ebp - 0x10], esi
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x5be88a
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x5be88a
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x5be88a
lea edi, [edi + 0x6b00]
lea edi, [edi - 0x6b00]
call 0x5be69a
lea esp, [esp + 4]
push ecx
add ecx, 0x6ca3
ror ecx, 0x16
pop ecx
push edi
pop edi
jo 0x5be6b9
xchg edx, edx
jno 0x5be6b1
je 0x5be6b3
jne 0x5be6b5
jno 0x5be6b9
mov ebp, 0x244e8b21
mov ecx, dword [esi + 0x24]
mov edi, dword [esi + 0x20]
add ecx, eax
add edi, eax
mov dword [ebp - 0xc], ecx
nop
ror ecx, 0x1b
rol ecx, 0x1b
lea ecx, [ecx]
mov edx, edx
jg 0x5be6dd
js 0x5be6d5
jno 0x5be6d7
js 0x5be6d9
jle 0x5be6dd
mov ebp, 0x1c468bec
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp + 8]
add eax, edx
mov edx, dword [esi + 0x18]
test edx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
je 0x5be88a
jo 0x5be6f8
call 0x5be6fd
add esp, 4
jge 0x5be70d
lea ecx, [ecx]
mov ebx, ebx
ja 0x5be708
jl 0x5be70d
call 0xdb8fa516
xor ebx, ebx
test edx, edx
jbe 0x5be756
mov eax, dword [edi]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, edx
push eax
push ecx
call fcn.005ad7d0
add esp, 8
test eax, eax
je 0x5be740
mov eax, dword [ebp - 4]
inc ebx
add edi, 4
cmp ebx, eax
jb 0x5be713
mov ecx, dword [ebp + 8]
mov edx, eax
mov eax, dword [ebp - 8]
jmp 0x5be759
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x10]
xor ecx, ecx
mov cx, word [edx + ebx*2]
mov edx, dword [ebp - 4]
add ecx, eax
mov eax, dword [ebp - 8]
jmp 0x5be759
mov ecx, dword [ebp + 8]
cmp ebx, edx
je 0x5be88a
mov edi, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
sub ecx, edi
cmp edx, ecx
jbe 0x5be88a
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x5be77b
add edi, dword [ebp + 8]
jae 0x5be77d
mov edx, edx
rol edx, 0xe
rol edx, 0x12
lea esi, [esi + 0x3569]
lea esi, [esi - 0x3569]
ja 0x5be7a3
pushf
and ecx, 0xffffffff
jmp 0x5be79a
sub esp, 0
popf
nop
jbe 0x5be7a3
call 0x3c4c2d32
clc
mov eax, dword [ebp - 0x10]
cmp edi, eax
jb 0x5be866
mov ecx, dword [ebp - 0x14]
add eax, ecx
cmp edi, eax
jae 0x5be866
push 0x64
lea edx, [ebp - 0x78]
push edi
push edx
call fcn.005b62e0
push edi
call fcn.005ad7b0
lea edi, [eax + edi + 1]
mov eax, dword [0x59cb60]
add esp, 0x10
test eax, esi
test esp, 0x965
sub esp, 0
ja 0x5be7f7
pushf
add esp, 0
jp 0x5be7ed
popf
je 0x5be7f1
nop
xchg ecx, ecx
jbe 0x5be7f7
sub eax, 0x51884d8d
lea ecx, [ebp - 0x78]
push ecx
call eax
test eax, eax
jne 0x5be83c
mov ecx, dword [0x59cb5c]
cmp esp, 0x2a57
std
cld
shl eax, 0
js 0x5be832
pushf
add edx, 0
jle 0x5be81b
std
cld
jle 0x5be81f
popf
mov eax, eax
lea edx, [edx + 0x149b]
lea edx, [edx - 0x149b]
jns 0x5be832
add eax, 0x5288558d
lea edx, [ebp - 0x78]
push edx
call ecx
test eax, eax
je 0x5be88a
add ecx, 0x1d84
sub ecx, 0x1d84
ror ebx, 0
jo 0x5be84d
add ebx, dword [esp]
sub ebx, dword [esp]
jbe 0x5be85a
jg 0x5be857
ja 0x5be85a
adc dword [edi + 0x50], 0xfffd4fe8
inc dword [ebx - 0x774f73c]
push edi
push eax
call fcn.005be5b0
add esp, 8
mov edi, eax
ror edx, 0
or eax, eax
jl 0x5be881
pushf
not ebx
not ebx
sub esp, 0
mov esp, esp
lea edx, [edx]
popf
ja 0x5be87e
jge 0x5be881
sub eax, 0x5e5fc78b
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret