Function at 0x10058d40
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008c136
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x28], 0
lea eax, [ebx*2 + 1]
push eax
call fcn.1007b784
mov dword [ebp - 0x24], 0x57
add esp, 4
mov edi, dword [ebp + 8]
mov edx, eax
mov byte [ebp - 0x20], 0x67
xor esi, esi
mov byte [ebp - 0x1f], 0x66
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x64
mov byte [ebp - 0x1c], 0x63
mov byte [ebp - 0x1b], 0x62
mov byte [ebp - 0x1a], 0x61
mov byte [ebp - 0x19], 0x60
mov byte [ebp - 0x18], 0x6f
mov byte [ebp - 0x17], 0x6e
mov byte [ebp - 0x16], 0x16
mov byte [ebp - 0x15], 0x15
mov byte [ebp - 0x14], 0x14
mov byte [ebp - 0x13], 0x13
mov byte [ebp - 0x12], 0x12
mov dword [ebp + 0xc], eax
mov byte [ebp - 0x11], 0x11
mov al, byte [ebp - 0x20]
mov byte [ebp - 0x10], 0
mov al, byte [ebp + esi - 0x20]
mov ecx, dword [ebp - 0x24]
xor cl, al
mov byte [ebp + esi - 0x20], cl
inc esi
cmp esi, 0x10
jb 0x10058dd3
mov byte [ebp - 0x10], 0
test ebx, ebx
je 0x10058e15
nop
movzx eax, byte [edi]
lea edi, [edi + 1]
shr eax, 4
mov al, byte [ebp + eax - 0x20]
mov byte [edx], al
movzx eax, byte [edi - 1]
and eax, 0xf
mov al, byte [ebp + eax - 0x20]
mov byte [edx + 1], al
add edx, 2
sub ebx, 1
jne 0x10058df0
lea eax, [ebp - 0xb8]
mov byte [edx], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xf8], eax
push 1
mov dword [ebp - 4], 0
call fcn.1007a5d7
add esp, 4
mov dword [ebp - 0xac], eax
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 1
call fcn.10059d70
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], 2
mov edi, dword [sym.imp.msvcrt.dll_strlen]
push esi
call edi
add esp, 4
lea ecx, [ebp - 0xbc]
add eax, esi
push 0x700
push eax
push esi
call fcn.10059f90
mov dword [ebp - 4], 3
xorps xmm0, xmm0
mov dword [ebp - 0xf4], 0
mov byte [ebp - 0xf0], 0
movups xmmword [ebp - 0xec], xmm0
mov dword [ebp - 0xdc], 0
mov byte [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov byte [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov byte [ebp - 0xc0], 0
mov ebx, dword [ebp + 0xc]
push ebx
mov byte [ebp - 4], 4
call edi
mov edx, dword [ebp - 0xbc]
add esp, 4
lea edi, [eax + ebx]
test edx, edx
je 0x10059381
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x1c]
mov byte [ebp + 0xf], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 7
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x40], ecx
mov al, byte [edx + 8]
shr al, 3
and al, 1
mov byte [ebp - 0x3c], al
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x38], eax
mov eax, dword [edx + 0x18]
test eax, eax
je 0x10058fe4
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.1005d210
push ecx
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xa8]
call fcn.1005bf80
test al, al
jne 0x1005907f
cmp ebx, edi
je 0x100590a0
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0xa8]
or eax, 0x100
and eax, 0xffffdfff
push 0
mov dword [ebp - 0x48], eax
lea eax, [ebx + 1]
push edi
push eax
call fcn.1005bcf0
mov esi, eax
cmp esi, edi
je 0x10059065
push ecx
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x54], esi
push eax
lea ecx, [ebp - 0xa8]
call fcn.1005bf80
test al, al
jne 0x1005907f
push 0
push edi
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0xa8]
call fcn.1005bcf0
mov esi, eax
cmp esi, edi
jne 0x10059033
push ecx
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x54], edi
push eax
lea ecx, [ebp - 0xa8]
call fcn.1005bf80
test al, al
je 0x100590a0
cmp ebx, dword [ebp - 0xdc]
mov edi, ebx
mov byte [ebp + 0xf], 1
mov dword [ebp - 0xf4], edi
setne byte [ebp - 0xd8]
mov dword [ebp - 0xe0], ebx
jmp 0x100590a6
mov edi, dword [ebp - 0xf4]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x100590fd
mov eax, dword [ebp - 0x60]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x100590de
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005944a
push edx
push ecx
call fcn.1007b699
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x74]
call fcn.1005b740
lea ecx, [ebp - 0x84]
call fcn.10059680
lea ecx, [ebp - 0x94]
call fcn.1005b740
lea ecx, [ebp - 0xa4]
call fcn.10059680
cmp byte [ebp + 0xf], 0
je 0x10059381
mov ecx, dword [ebp - 0xe8]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xec]
sub ecx, esi
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x1005916b
mov eax, dword [ebp - 0xc8]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xc8]
jmp 0x1005917c
mov eax, dword [esi]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, esi
mov eax, dword [eax]
sub eax, edi
lea edi, [ecx + eax]
add edi, ebx
push edi
mov dword [ebp + 8], edi
call dword [sym.imp.msvcrt.dll_strlen]
mov edx, dword [ebp - 0xbc]
add esp, 4
add edi, eax
test edx, edx
je 0x10059387
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x1c]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x40], ecx
mov al, byte [edx + 8]
shr al, 3
and al, 1
mov byte [ebp - 0x3c], al
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x38], eax
mov eax, dword [edx + 0x18]
test eax, eax
je 0x1005927d
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.1005d210
push ecx
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0xa8]
call fcn.1005bf80
test al, al
jne 0x1005930c
cmp esi, edi
je 0x1005930c
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0xa8]
or eax, 0x100
and eax, 0xffffdfff
push 0
mov dword [ebp - 0x48], eax
lea eax, [esi + 1]
push edi
push eax
call fcn.1005bcf0
mov esi, eax
cmp esi, edi
je 0x100592f6
push ecx
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x54], esi
push eax
lea ecx, [ebp - 0xa8]
call fcn.1005bf80
test al, al
jne 0x1005930c
push 0
push edi
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0xa8]
call fcn.1005bcf0
mov esi, eax
cmp esi, edi
jne 0x100592c4
push ecx
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x54], edi
push eax
lea ecx, [ebp - 0xa8]
call fcn.1005bf80
mov edx, dword [ebp - 0x68]
test edx, edx
je 0x10059358
mov ecx, dword [ebp - 0x60]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x10059339
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005944f
push ecx
push edx
call fcn.1007b699
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x74]
call fcn.1005b740
lea ecx, [ebp - 0x84]
call fcn.10059680
lea ecx, [ebp - 0x94]
call fcn.1005b740
lea ecx, [ebp - 0xa4]
call fcn.10059680
mov esi, dword [ebp - 0xec]
push ebx
call fcn.1007b6ca
add esp, 4
test esi, esi
je 0x100593da
mov ecx, dword [ebp - 0xe4]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x100593d0
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059454
push ecx
push esi
call fcn.1007b699
add esp, 8
mov ecx, dword [ebp - 0xbc]
test ecx, ecx
je 0x1005940f
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x1005940f
mov esi, dword [ebp - 0xbc]
test esi, esi
je 0x1005940f
mov ecx, esi
lea eax, [esi + 0xc]
mov esi, dword [eax]
mov dword [eax], 0
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x100593f8
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xbc], 0
test ecx, ecx
je 0x10059434
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x10059434
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.1007c700
call fcn.1007c700
call fcn.1007c700
int3