Function at 0x581590
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x7ce4e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, 0x100
test ebx, ebx
jne 0x5815b9
mov dword [ebp - 0x20], ebx
jmp 0x5815cc
movzx ecx, byte [ebx + 1]
movzx eax, byte [ebx]
imul ecx, edi
add cx, ax
movzx eax, cx
mov dword [ebp - 0x20], eax
test edx, edx
jne 0x5815d4
xor edi, edi
jmp 0x5815e4
movzx ecx, byte [edx + 1]
movzx eax, byte [edx]
imul ecx, edi
add cx, ax
movzx edi, cx
mov eax, dword [esi + 0x234]
mov esi, dword [ebp - 0x20]
cmp si, di
movzx ecx, di
mov dword [ebp - 0x2c], edi
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
movzx eax, si
cmovb ecx, eax
mov dword [ebp - 0x28], 0
movzx eax, cx
shr eax, 1
mov dword [ebp - 0x30], eax
je 0x581785
sub ebx, edx
lea edi, [edx + 2]
mov dword [ebp - 0x34], ebx
nop
lea eax, [ebx + edi]
lea esi, [edi + 1]
test eax, eax
jne 0x58162e
xor ecx, ecx
jmp 0x58163a
movzx ecx, byte [esi + ebx]
movzx eax, byte [eax]
shl ecx, 8
add ecx, eax
mov ebx, dword [ebp - 0x24]
xor ebx, ecx
mov dword [ebp - 0x18], 0x710070
movzx eax, bx
push ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0x650077
mov dword [ebp - 0x10], 0x740072
mov dword [ebp - 0xc], 0x750079
mov dword [ebp - 8], 0x6f0069
call fcn.00535d90
add esp, 4
test al, al
je 0x581684
movzx eax, bx
mov ax, word [ebp + eax*2 - 0x78]
add ax, ax
inc ax
jmp 0x5816c2
mov eax, dword [ebp - 0x1c]
add eax, eax
movzx eax, ax
push ebx
mov dword [ebp - 0x1c], eax
call fcn.00535d70
add esp, 4
test al, al
mov eax, dword [ebp - 0x1c]
jne 0x5816c2
movzx eax, ax
push ebx
mov dword [ebp - 0x1c], eax
call fcn.00535db0
add esp, 4
test al, al
mov eax, dword [ebp - 0x1c]
je 0x5816bd
add eax, 0x40
lea esi, [edi + 1]
jmp 0x5816c2
add eax, 0xff
movzx ebx, ax
test edi, edi
jne 0x5816cd
xor ecx, ecx
jmp 0x5816d8
movzx ecx, byte [esi]
movzx eax, byte [edi]
shl ecx, 8
add ecx, eax
mov esi, dword [ebp - 0x24]
xor esi, ecx
mov dword [ebp - 0x18], 0x710070
movzx eax, si
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0x650077
mov dword [ebp - 0x10], 0x740072
mov dword [ebp - 0xc], 0x750079
mov dword [ebp - 8], 0x6f0069
call fcn.00535d90
add esp, 4
test al, al
je 0x581722
movzx eax, si
mov ax, word [ebp + eax*2 - 0x78]
add ax, ax
inc ax
jmp 0x58175f
mov eax, dword [ebp - 0x1c]
add eax, eax
movzx eax, ax
push esi
mov dword [ebp - 0x1c], eax
call fcn.00535d70
add esp, 4
test al, al
je 0x581742
mov ecx, dword [ebp - 0x1c]
movzx eax, cx
jmp 0x581762
push esi
call fcn.00535db0
mov ecx, dword [ebp - 0x1c]
add esp, 4
test al, al
movzx eax, cx
je 0x58175a
add eax, 0x40
jmp 0x58175f
add eax, 0xff
movzx eax, ax
cmp bx, ax
jb 0x5817b8
ja 0x5817a0
mov eax, dword [ebp - 0x28]
add edi, 2
mov ebx, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, dword [ebp - 0x30]
jb 0x581620
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
cmp di, si
jbe 0x5817d0
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005be209
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005be209
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005be209
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
sbb eax, eax
pop edi
pop esi
xor ecx, ebp
neg eax
pop ebx
call fcn.005be209
mov esp, ebp
pop ebp
ret 8