Function at 0x581db0
Capabilities:
Contain obfuscated stackstrings
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
mov eax, dword [0x607ba4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x85c], ecx
mov byte [ebp - 0x82d], 0
mov dword [ebp - 0x84c], 0x400
mov eax, 1
imul ecx, eax, 5
mov byte [ebp + ecx - 0x14], 0x68
mov edx, 1
imul eax, edx, 3
mov byte [ebp + eax - 0x14], 0x66
mov ecx, 1
imul edx, ecx, 6
mov dword [ebp - 0x83c], edx
cmp dword [ebp - 0x83c], 7
jae 0x581e0d
jmp 0x581e12
call fcn.0055fd97
mov eax, dword [ebp - 0x83c]
mov byte [ebp + eax - 0x14], 0
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx - 0x14], 0x76
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x14], 0x76
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x14], 0x73
mov edx, 1
shl edx, 2
mov byte [ebp + edx - 0x14], 0x62
mov eax, 1
shl eax, 2
mov byte [ebp + eax - 0x20], 0x6e
mov ecx, 1
shl ecx, 3
mov dword [ebp - 0x840], ecx
cmp dword [ebp - 0x840], 9
jae 0x581e76
jmp 0x581e7b
call fcn.0055fd97
mov edx, dword [ebp - 0x840]
mov byte [ebp + edx - 0x20], 0
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x20], 0x76
mov edx, 1
imul eax, edx, 5
mov byte [ebp + eax - 0x20], 0x6a
mov ecx, 1
imul edx, ecx, 6
mov byte [ebp + edx - 0x20], 0x6a
mov eax, 1
shl eax, 1
mov byte [ebp + eax - 0x20], 0x62
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx - 0x20], 0x66
mov edx, 1
imul eax, edx, 3
mov byte [ebp + eax - 0x20], 0x68
mov ecx, 1
imul edx, ecx, 7
mov byte [ebp + edx - 0x20], 0x6d
mov byte [ebp - 0x42c], 0
push 0x3ff
push 0
lea eax, [ebp - 0x42b]
push eax
call fcn.005640a0
add esp, 0xc
lea ecx, [ebp - 0x20]
push ecx
call fcn.00584940
add esp, 4
mov dword [ebp - 0x854], eax
mov edx, 1
shl edx, 2
mov dword [ebp - 0x844], edx
cmp dword [ebp - 0x844], 5
jae 0x581f28
jmp 0x581f2d
call fcn.0055fd97
mov eax, dword [ebp - 0x844]
mov byte [ebp + eax - 0xc], 0
mov ecx, 1
shl ecx, 1
mov byte [ebp + ecx - 0xc], 0x25
mov edx, 1
imul eax, edx, 3
mov byte [ebp + eax - 0xc], 0x73
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0xc], 0x25
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0xc], 0x73
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0xc]
push eax
push 0x400
lea ecx, [ebp - 0x42c]
push ecx
call fcn.0041eca0
add esp, 0x14
lea edx, [ebp - 0x42c]
push edx
call fcn.00584940
add esp, 4
mov dword [ebp - 0x850], eax
mov eax, 1
imul ecx, eax, 6
mov byte [ebp + ecx - 0x2c], 0x5c
mov edx, 1
imul eax, edx, 3
mov byte [ebp + eax - 0x2c], 0x62
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x2c], 0x47
mov eax, 1
shl eax, 1
mov byte [ebp + eax - 0x2c], 0x6f
mov ecx, 1
shl ecx, 2
mov byte [ebp + ecx - 0x2c], 0x61
mov edx, 1
imul eax, edx, 5
mov byte [ebp + eax - 0x2c], 0x6c
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx - 0x2c], 0x6c
mov edx, 1
imul eax, edx, 7
mov byte [ebp + eax - 0x2c], 0x25
mov ecx, 1
imul edx, ecx, 9
mov dword [ebp - 0x848], edx
cmp dword [ebp - 0x848], 0xa
jae 0x582020
jmp 0x582025
call fcn.0055fd97
mov eax, dword [ebp - 0x848]
mov byte [ebp + eax - 0x2c], 0
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx - 0x2c], 0x73
mov edx, dword [ebp - 0x850]
push edx
lea eax, [ebp - 0x2c]
push eax
push 0x400
lea ecx, [ebp - 0x42c]
push ecx
call fcn.0041eca0
add esp, 0x10
lea edx, [ebp - 0x42c]
push edx
push 0
push 4
call fcn.0040c7d0
add esp, 0xc
mov dword [ebp - 0x834], eax
cmp dword [ebp - 0x834], 0
jne 0x582085
xor al, al
jmp 0x58212e
mov eax, dword [ebp - 0x84c]
push eax
push 0
push 0
push 4
mov ecx, dword [ebp - 0x834]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x838], eax
cmp dword [ebp - 0x838], 0
jne 0x5820c1
mov edx, dword [ebp - 0x834]
push edx
call fcn.00412f70
add esp, 4
xor al, al
jmp 0x58212e
mov eax, dword [ebp - 0x84c]
push eax
mov ecx, dword [ebp - 0x838]
push ecx
lea edx, [ebp - 0x82c]
push edx
call fcn.00563b20
add esp, 0xc
push 0x20
mov eax, dword [ebp - 0x854]
push eax
lea ecx, [ebp - 0x82c]
push ecx
call fcn.0056239a
add esp, 0xc
mov dword [ebp - 0x858], eax
cmp dword [ebp - 0x858], 0
jne 0x58210c
mov byte [ebp - 0x82d], 1
mov edx, dword [ebp - 0x838]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x834]
push eax
call fcn.00412f70
add esp, 4
mov al, byte [ebp - 0x82d]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055fe73
mov esp, ebp
pop ebp
ret 4