joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1c43274
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
push dword [ebp + 0xc]
call fcn.01c93ccf
add esp, 4
mov ebx, eax
movzx ecx, byte [esi + 0xb]
mov eax, ecx
mov dword [ebp - 0x10], ecx
test cl, cl
jns 0x1c432aa
mov eax, dword [esi + 4]
lea esi, [eax + ebx]
cmp esi, 0x7ffffff0
jae 0x1c4332e
cmp esi, 4
mov dword [ebp - 0x14], eax
ja 0x1c432c7
mov esi, dword [ebp + 8]
mov byte [esi + 0xb], bl
mov edi, esi
jmp 0x1c432ee
add esi, 8
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.01c93ccf
add esp, 4
mov edi, eax
mov eax, dword [ebp + 8]
mov dword [eax], edi
or esi, 0x80000000
mov dword [eax + 8], esi
mov esi, eax
mov dword [eax + 4], ebx
test ebx, ebx
je 0x1c43303
mov eax, ebx
add eax, ebx
push eax
push dword [ebp + 0xc]
push edi
call fcn.01c8ccf0
add esp, 0xc
mov word [edi + ebx*2], 0
cmp byte [ebp - 0x10], 0
jns 0x1c43316
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
jmp 0x1c43319
mov eax, dword [ebp + 0x10]
mov ecx, esi
push dword [ebp - 0x14]
push eax
call fcn.01c3ea18
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 8]
call fcn.01c3dbd4
Function at 0x1c43336
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov ebx, dword [ebp + 8]
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x20], eax
cmp byte [ebx + 0xb], 0
mov esi, ebx
jns 0x1c4335a
mov esi, dword [ebx]
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1c43384
test al, 0x10
jne 0x1c433c4
push esi
push str.RecursiveDirectoryCreate
push str._hs___ls_directory_conflicts_with_an_existing_file.___n
call fcn.01c434c7
add esp, 0xc
xor ebx, ebx
jmp 0x1c434b2
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 0xb]
mov ecx, ebx
test al, al
jns 0x1c433a1
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
test eax, eax
je 0x1c43417
add eax, eax
add eax, 0xfffffffe
movzx edx, word [ecx + eax]
cmp dx, 0x5c
je 0x1c433de
cmp dx, 0x2f
je 0x1c433de
add eax, 0xfffffffe
cmp eax, 0xfffffffe
jne 0x1c433aa
jmp 0x1c43417
push esi
push str.RecursiveDirectoryCreate
push str._hs___ls_directory_exists___n
call fcn.01c434c7
add esp, 0xc
mov bl, 1
jmp 0x1c434b2
cmp eax, 0xfffffffe
je 0x1c43417
sar eax, 1
lea edx, [ebx + 0xc]
lea edi, [esp + 4]
mov ecx, edi
push edx
push eax
push 0
push ebx
call fcn.01c3e5e6
movsd xmm0, qword [edi]
lea eax, [esp + 0x10]
movsd qword [eax], xmm0
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
push eax
call fcn.01c43336
add esp, 4
test al, al
je 0x1c43490
push 0
push esi
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x1c4349f
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1c4347f
mov dword [esp], eax
lea edi, [esp + 4]
mov ecx, edi
push esi
call fcn.01c3af3a
cmp byte [edi + 0xb], 0
jns 0x1c4344c
mov edi, dword [esp + 4]
push edi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne cl
and eax, 0x10
shr eax, 4
and al, cl
cmp byte [esp + 0xf], 0
jns 0x1c43478
push dword [esp + 4]
mov edi, eax
call fcn.01c8b528
mov eax, edi
add esp, 4
test al, al
mov eax, dword [esp]
jne 0x1c4349f
push eax
push esi
push str.Failed_to_create_directory__ls__last_error_is__d_n
call fcn.01c434c7
add esp, 0xc
jmp 0x1c4349d
push str.Failed_to_create_one_of_the_parent_directories
call fcn.01c434c7
add esp, 4
xor ebx, ebx
cmp byte [esp + 0x1b], 0
jns 0x1c434b2
push dword [esp + 0x10]
call fcn.01c8b528
add esp, 4
mov ecx, dword [esp + 0x20]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c434c7
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [ebp + 8]
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp + 0xc]
mov dword [ebp - 0x14], edi
call fcn.01c23bb8
mov ebx, 0x1cec0a8
push edi
push 0
push esi
push 0x400
push ebx
push dword [eax + 4]
push dword [eax]
call fcn.01c93ccf
add esp, 0x1c
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c46180
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x30], eax
movsd xmm1, qword [0x1cec8c8]
xorpd xmm0, xmm0
ucomisd xmm1, xmm0
jne 0x1c46304
jp 0x1c46304
mov edi, dword [sym.imp.kernel32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.kernel32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call edi
push 2
push eax
call dword [sym.imp.kernel32.dll_SetThreadPriority]
mov eax, dword [0x1cec8d8]
mov ecx, dword [0x1ced9a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x1c46329
mov eax, dword [0x1cec8e8]
mov ecx, dword [0x1ced9a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x1c46362
rdtsc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea esi, [esp + 0x28]
push esi
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
call dword [sym.imp.kernel32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_SetThreadPriority]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push esi
call dword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
sub edi, dword [0x1cec8e0]
sbb ebx, dword [0x1cec8e4]
movd xmm0, ebx
movd xmm1, edi
punpckldq xmm1, xmm0
punpckldq xmm1, xmmword [0x1cb5750]
subpd xmm1, xmmword [0x1cb5760]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
divsd xmm0, qword [esp + 0x20]
xorpd xmm1, xmm1
movsd xmm2, qword [0x1cba738]
ucomisd xmm2, xmm0
ja 0x1c46304
mov eax, dword [esp + 8]
sub eax, dword [0x1cec8d0]
mov ecx, dword [esp + 4]
sbb ecx, dword [0x1cec8d4]
movd xmm1, ecx
movd xmm2, eax
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x1cb5750]
subpd xmm2, xmmword [0x1cb5760]
movapd xmm1, xmm2
unpckhpd xmm1, xmm2
addsd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x1cec8c8], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.01c8b52d
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1cec8d8
call fcn.01c93ccf
add esp, 4
cmp dword [0x1cec8d8], 0xffffffff
jne 0x1c461f2
rdtsc
mov dword [0x1cec8d0], eax
mov dword [0x1cec8d4], edx
push 0x1cec8d8
call fcn.01c93ccf
add esp, 4
jmp 0x1c461f2
push 0x1cec8e8
call fcn.01c93ccf
add esp, 4
cmp dword [0x1cec8e8], 0xffffffff
jne 0x1c46213
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [0x1cec8e4], ecx
mov dword [0x1cec8e0], eax
push 0x1cec8e8
call fcn.01c93ccf
add esp, 4
jmp 0x1c46213
Function at 0x1c4ad70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1408
call fcn.01c8b9f0
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1cd11ac]
cmp eax, 0xffffffff
je 0x1c4aec6
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x1c4aec6
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.01c8ccf0
add esp, 0xc
mov ecx, dword [0x1cd11ac]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1414], ecx
push ecx
call fcn.01c528b0
add esp, 8
push ebx
call fcn.01c8b789
add esp, 4
mov eax, dword [0x1ced544]
mov ecx, dword [0x1ced9a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x1c4aee7
mov esi, dword [0x1ced540]
push esi
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1c4aedb
lea eax, [ebp - 0x1410]
push 0xc00
push 0x1cec940
push eax
call fcn.01c8ccf0
add esp, 0xc
push esi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov al, 1
mov ebx, 0x100
jmp 0x1c4ae5a
lea ecx, [ebx - 1]
cmp ebx, 2
mov ebx, ecx
jb 0x1c4aeb6
test al, 1
je 0x1c4aeb6
xor edi, edi
lea esi, [ebp - 0x1408]
xor eax, eax
jmp 0x1c4ae7e
add edi, 1
add esi, 0xc
cmp edi, 0x100
je 0x1c4ae50
mov ecx, dword [ebp + edi*8 - 0x810]
test ecx, ecx
je 0x1c4ae70
cmp dword [esi - 8], 0
je 0x1c4ae70
mov edx, dword [ebp + edi*8 - 0x80c]
cmp edx, dword [esi]
jne 0x1c4ae70
mov edx, dword [esi - 4]
test edx, edx
je 0x1c4ae70
mov dword [ebp + edi*8 - 0x810], 0
push ecx
call edx
add esp, 4
mov al, 1
jmp 0x1c4ae70
push 2
push dword [ebp - 0x1414]
call fcn.01c528b0
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
add esp, 0x1408
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.01c49b70
jmp 0x1c4ae1d
push 0x1ced544
call fcn.01c93ccf
add esp, 4
cmp dword [0x1ced544], 0xffffffff
jne 0x1c4ae08
push 4
call fcn.01c93ccf
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.01c49b60
mov dword [0x1ced540], esi
push 0x1ced544
call fcn.01c93ccf
add esp, 4
jmp 0x1c4ae08

Function at 0x1c4af30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1cd11ac]
cmp eax, 0xffffffff
je 0x1c4af52
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
and eax, 3
add eax, 0xffffffff
cmp eax, 2
setb al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1c4af60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x1cd11ac]
cmp eax, 0xffffffff
je 0x1c4af7d
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test al, 3
jne 0x1c4af82
call fcn.01c4b0a0
mov eax, dword [0x1ced544]
mov ecx, dword [0x1ced9a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x1c4b055
mov edi, dword [0x1ced540]
push edi
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1c4b049
mov ecx, dword [0x1cec93c]
add ecx, 1
mov edx, 0x100
nop word cs:[eax + eax]
movzx ebx, cl
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x1cec940], 0
je 0x1c4affd
lea eax, [ecx + 1]
movzx ebx, al
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x1cec940], 0
je 0x1c4affd
add ecx, 2
add edx, 0xfffffffe
jne 0x1c4afd0
jmp 0x1c4b02d
lea ecx, [eax*4 + 0x1cec940]
mov dword [ecx], 1
lea eax, [ebx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x1cec944], ecx
mov dword [0x1cec93c], ebx
mov dword [esi], ebx
mov eax, dword [eax + eax*2 + 0x1cec948]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1c4b09a
cmp eax, 0x100
jge 0x1c4b09d
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, edi
call fcn.01c49b70
jmp 0x1c4afb8
push 0x1ced544
call fcn.01c93ccf
add esp, 4
cmp dword [0x1ced544], 0xffffffff
jne 0x1c4afa3
push 4
call fcn.01c93ccf
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.01c49b60
mov dword [0x1ced540], edi
push 0x1ced544
call fcn.01c93ccf
add esp, 4
jmp 0x1c4afa3
int3
int3

Function at 0x1c4b0a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x808
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x810], 0xffffffff
mov eax, dword [0x1cd11ac]
mov dword [ebp - 0x810], eax
cmp eax, 0xffffffff
jne 0x1c4b148
lea esi, [ebp - 0x810]
push esi
call fcn.01c52880
add esp, 4
test al, al
je 0x1c4b1c9
mov ecx, dword [ebp - 0x810]
cmp ecx, 0xffffffff
jne 0x1c4b11f
push esi
call fcn.01c52880
add esp, 4
test al, al
je 0x1c4b1cc
cmp dword [ebp - 0x810], 0xffffffff
je 0x1c4b1cc
push 0xffffffffffffffff
call fcn.01c528a0
add esp, 4
mov ecx, dword [ebp - 0x810]
mov eax, 0xffffffff
lock cmpxchg dword [0x1cd11ac], ecx
mov eax, dword [ebp - 0x810]
je 0x1c4b148
push eax
call fcn.01c528a0
add esp, 4
mov eax, dword [0x1cd11ac]
mov dword [ebp - 0x810], eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test al, 3
jne 0x1c4b1c6
lea edi, [ebp - 0x80c]
push 0x800
push 0
push edi
call fcn.01c8cb90
add esp, 0xc
lea eax, [ebp - 0x809]
push eax
push dword [ebp - 0x810]
call fcn.01c528b0
add esp, 8
push 0x800
call fcn.01c93ccf
add esp, 4
mov esi, eax
push 0x800
push edi
push eax
call fcn.01c8ccf0
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x810]
call fcn.01c528b0
add esp, 8
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.01c8b52d
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebp
ret
int3
int3
int3
Function at 0x1c4cf40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov bl, 1
cmp dword [0x1ced574], 0
jne 0x1c4d190
mov esi, dword [0x1ced564]
test esi, esi
je 0x1c4cf81
test byte [0x1cd11b0], 1
jne 0x1c4d075
jmp 0x1c4d190
push 0xc
call fcn.01c93ccf
add esp, 4
mov esi, eax
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.01c8cb90
add esp, 0xc
push 0x104
push edi
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
push edi
call fcn.01c93ccf
add esp, 4
cmp eax, 0x7ffffff0
jae 0x1c4d1a7
mov ebx, eax
cmp eax, 5
jae 0x1c4cfee
mov byte [esi + 0xb], bl
mov eax, esi
test ebx, ebx
jne 0x1c4d014
jmp 0x1c4d027
lea edi, [ebx + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
call fcn.01c93ccf
add esp, 4
mov dword [esi], eax
or edi, 0x80000000
mov dword [esi + 8], edi
lea edi, [ebp - 0x218]
mov dword [esi + 4], ebx
mov ecx, ebx
add ecx, ebx
push ecx
push edi
push eax
mov edi, eax
call fcn.01c8ccf0
mov eax, edi
add esp, 0xc
mov word [eax + ebx*2], 0
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c4d038
mov eax, dword [esi + 4]
mov ecx, esi
push eax
push 0x5c
call fcn.01c3f13a
cmp eax, 0xffffffff
mov bl, 1
je 0x1c4d056
add eax, 1
mov ecx, esi
push 0xffffffffffffffff
push eax
call fcn.01c3ee9a
mov ecx, esi
push str.debug.log
call fcn.01c3ebd8
mov dword [0x1ced564], esi
test byte [0x1cd11b0], 1
je 0x1c4d190
cmp byte [esi + 0xb], 0
jns 0x1c4d07d
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x1cba920]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [0x1ced574], eax
add eax, 1
cmp eax, 1
ja 0x1c4d190
lea eax, [ebp - 0x216]
push 0x206
push 0xff
push eax
call fcn.01c8cb90
add esp, 0xc
mov word [ebp - 0x218], 0
lea esi, [ebp - 0x218]
push esi
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1c4d18e
cmp eax, 0x104
ja 0x1c4d18e
mov ecx, dword [0x1ced564]
push esi
call fcn.01c3ed5c
mov ecx, dword [0x1ced564]
movzx eax, byte [ecx + 0xb]
test al, al
js 0x1c4d11b
mov edx, ecx
jmp 0x1c4d120
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp word [edx + eax*2 - 2], 0x5c
je 0x1c4d138
push 0x1cb8afe
call fcn.01c3ebd8
mov ecx, dword [0x1ced564]
push str.debug.log
call fcn.01c3ebd8
mov eax, dword [0x1ced564]
cmp byte [eax + 0xb], 0
jns 0x1c4d14f
mov eax, dword [eax]
sub esp, 0x1c
movaps xmm0, xmmword [0x1cba920]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [0x1ced574], eax
add eax, 1
cmp eax, 1
ja 0x1c4d190
mov dword [0x1ced574], 0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.01c3dbd4
int3
Function at 0x1c57470
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x30], eax
mov eax, dword [0x1ced5fc]
mov ecx, dword [0x1ced9a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x1c574e4
movzx eax, word [0x1ced5d8]
cmp eax, 0xc
ja case.0x1c574b0.1
xor esi, esi
jmp dword [eax*4 + 0x1cbc358]
mov esi, 2
jmp case.0x1c574b0.0
mov esi, 4
jmp case.0x1c574b0.0
mov esi, 1
jmp case.0x1c574b0.0
mov esi, 3
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.01c8b52d
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret
push 0x1ced5fc
call fcn.01c93ccf
add esp, 4
cmp dword [0x1ced5fc], 0xffffffff
jne 0x1c574a2
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
movaps xmmword [esp], xmm0
mov dword [esp + 0x20], 0
mov eax, esp
push eax
call dword [sym.imp.kernel32.dll_GetNativeSystemInfo]
mov eax, dword [esp + 0x20]
mov dword [0x1ced5f8], eax
movaps xmm0, xmmword [esp]
movaps xmm1, xmmword [esp + 0x10]
movups xmmword [0x1ced5e8], xmm1
movups xmmword [0x1ced5d8], xmm0
push 0x1ced5fc
call fcn.01c93ccf
add esp, 4
jmp 0x1c574a2
Function at 0x1c590d0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 0xc]
movzx edx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test dl, dl
mov dword [ebp - 0x10], ecx
lea ecx, [eax + ecx]
mov dword [ebp - 0x20], edx
lea edx, [esi + edx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
jb 0x1c5913d
mov ecx, esi
mov eax, edx
nop word [eax + eax]
imul edi, dword [ecx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x1c59110
cmp edx, 1
jne 0x1c59146
jmp 0x1c59162
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x1c59162
cmp edx, 2
je 0x1c59159
cmp edx, 3
jne 0x1c5916d
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x14]
mov edi, dword [ecx + 4]
xor ecx, ecx
test edi, edi
je 0x1c592c8
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov eax, edi
shr eax, 1
and eax, 0x55555555
mov edx, edi
sub edx, eax
mov eax, edx
and eax, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x28], eax
cmp eax, 1
ja 0x1c591d4
lea edx, [edi - 1]
and edx, ebx
jmp 0x1c591e0
mov edx, ebx
cmp ebx, edi
jb 0x1c591e0
mov eax, ebx
xor edx, edx
div edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x24], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1c592c8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov ebx, dword [eax]
test ebx, ebx
je 0x1c592c8
mov eax, dword [ebp - 0x18]
add eax, 0xffffffff
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
test cl, cl
mov eax, dword [ebp - 0x10]
cmovns eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x1c59236
and eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jne 0x1c592c6
mov ebx, dword [ebx]
test ebx, ebx
je 0x1c592c6
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x14]
jne 0x1c59290
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x1c5924b
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x1c5922c
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x1c592a8
cmp dword [ebp - 0x10], 0
je 0x1c592c2
cmp byte [esi], dl
jne 0x1c5922c
add eax, 0xffffffff
xor ecx, ecx
nop dword [eax + eax]
cmp eax, ecx
je 0x1c592c2
movzx edx, byte [ebx + ecx + 9]
lea edi, [ecx + 1]
cmp dl, byte [esi + ecx + 1]
mov ecx, edi
je 0x1c59270
jmp 0x1c5922c
cmp dword [ebp - 0x28], 1
jbe 0x1c59220
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x1c59223
xor edx, edx
div ecx
mov eax, edx
jmp 0x1c59223
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1c592c2
push eax
push esi
push ecx
call fcn.01c93ccf
add esp, 0xc
test eax, eax
jne 0x1c5922c
mov ecx, ebx
jmp 0x1c592c8
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x1c5eb60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x18], eax
mov edi, dword [ecx + 0x38]
test edi, edi
jne 0x1c5ec03
mov esi, ecx
mov dword [esp + 0x10], 0
mov byte [esp + 0x13], 9
mov dword [esp + 0xc], 0x65647261
mov dword [esp + 8], 0x63736964
mov word [esp + 0x10], 0x64
push 0x40
call fcn.01c93ccf
add esp, 4
mov ebx, eax
lea eax, [esp + 8]
mov edi, esp
mov ecx, esi
push eax
push edi
call fcn.01c5ead0
mov ecx, ebx
push edi
push dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
call fcn.01c5ec20
mov edi, dword [esi + 0x38]
mov dword [esi + 0x38], ebx
test edi, edi
je 0x1c5ebed
mov ecx, edi
call fcn.01c5ec70
push edi
call fcn.01c8b528
add esp, 4
cmp byte [esp + 0x13], 0
jns 0x1c5ec00
push dword [esp + 8]
call fcn.01c8b528
add esp, 4
mov edi, dword [esi + 0x38]
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.01c8b52d
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c61630
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x21a]
push 0x20a
push 0xff
push edi
call fcn.01c8cb90
add esp, 0xc
push edi
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
mov esi, eax
add esi, 0xffffffff
cmp esi, 0x102
ja 0x1c616d8
cmp word [ebp - 0x21a], 0
je 0x1c616a2
xor ecx, ecx
nop word cs:[eax + eax]
nop
lea eax, [ecx + 1]
cmp word [ebp + ecx*2 - 0x218], 0
mov ecx, eax
jne 0x1c61690
jmp 0x1c616a4
xor eax, eax
lea ebx, [ebp - 0x234]
mov ecx, ebx
push eax
push edi
call fcn.01c532a0
lea edi, [ebp - 0x228]
mov ecx, ebx
push edi
call fcn.01c54760
mov ecx, dword [ebp + 8]
push edi
call fcn.01c533a0
mov ecx, edi
call fcn.01c53360
mov ecx, ebx
call fcn.01c53360
cmp esi, 0x103
setb bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c66ad0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov ebx, ecx
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x24], edx
push edx
push ecx
push edi
call fcn.01c45510
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x1c66aff
mov edi, dword [ebp - 0x1c]
push 0
push 0
push edi
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov esi, eax
cmp byte [ebp - 0x11], 0
jns 0x1c66b1d
push dword [ebp - 0x1c]
call fcn.01c8b528
add esp, 4
cmp dword [ebp + 8], 0
je 0x1c66bec
test esi, esi
je 0x1c66bec
mov dword [ebp - 0x20], esi
add esi, esi
mov ecx, 0xffffffff
cmovae ecx, esi
push ecx
call fcn.01c93ccf
add esp, 4
mov edi, eax
lea esi, [ebp - 0x1c]
push dword [ebp - 0x24]
push ebx
push esi
call fcn.01c45510
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x1c66b60
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x20]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x1c66b7c
push dword [ebp - 0x1c]
call fcn.01c8b528
add esp, 4
cmp word [edi], 0
mov esi, dword [ebp + 8]
je 0x1c66b9f
xor ecx, ecx
nop word [eax + eax]
lea eax, [ecx + 1]
cmp word [edi + ecx*2 + 2], 0
mov ecx, eax
jne 0x1c66b90
jmp 0x1c66ba1
xor eax, eax
lea ecx, [ebp - 0x1c]
push eax
push edi
push ecx
call fcn.01c45970
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x1c66bd1
mov eax, dword [esi]
mov byte [eax], 0
mov dword [esi + 4], 0
cmp byte [esi + 0xb], 0
jns 0x1c66bd1
push dword [esi]
call fcn.01c8b528
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [esi], xmm0
push edi
call fcn.01c8b789
add esp, 4
mov esi, dword [ebp - 0x20]
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret