joyce8/EMBER2024-capa huggingface dataset:
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.01c92118
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.01c92118
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.01c92118
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 0x1c52b10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, ecx
mov edi, dword [ebp + 0x14]
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x60], 0xffffffff
lea ebx, [esp + 0x10]
push 0x3e
push str..._.._base_files_file_win.cc
push str.Read
push ebx
call fcn.01c45b40
add esp, 0x10
lea ecx, [esp + 0x30]
push 0
push ebx
call fcn.01c4c3c0
test edi, edi
js 0x1c52bf3
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.01c49b60
call fcn.01c54d00
test al, al
je 0x1c52baf
lea ecx, [esp + 0x28]
push 0
push edi
push esi
push str.File::Read
call fcn.01c54d80
pxor xmm0, xmm0
movdqa xmmword [esp + 0x10], xmm0
mov dword [esp + 0x20], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], 0xffffffff
lea eax, [esp + 0xc]
push ebx
push eax
push edi
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x1c52bfa
mov ebx, dword [esp + 0xc]
jmp 0x1c52c0a
mov ebx, 0xffffffff
jmp 0x1c52c13
call dword [sym.imp.kernel32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x26
setne bl
neg ebx
lea ecx, [esp + 0x28]
call fcn.01c54d60
lea ecx, [esp + 0x30]
call fcn.01c4c430
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10

Function at 0x1c52c40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
lea ebx, [esp + 0x10]
push 0x57
push str..._.._base_files_file_win.cc
push str.ReadAtCurrentPos
push ebx
call fcn.01c45b40
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push ebx
call fcn.01c4c3c0
test edi, edi
js 0x1c52d05
mov ebx, dword [ebp + 8]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.01c49b60
call fcn.01c54d00
test al, al
je 0x1c52ce2
lea ecx, [esp + 0x10]
push 0
push edi
push esi
push str.File::ReadAtCurrentPos
call fcn.01c54d80
mov dword [esp + 0xc], 0xffffffff
lea eax, [esp + 0xc]
push 0
push eax
push edi
push ebx
push dword [esi]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x1c52d0c
mov ebx, dword [esp + 0xc]
jmp 0x1c52d1c
mov ebx, 0xffffffff
jmp 0x1c52d25
call dword [sym.imp.kernel32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x26
setne bl
neg ebx
lea ecx, [esp + 0x10]
call fcn.01c54d60
lea ecx, [esp + 0x20]
call fcn.01c4c430
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x1c52d50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, ecx
mov edi, dword [ebp + 0x14]
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x60], 0xffffffff
lea ebx, [esp + 0x10]
push 0x73
push str..._.._base_files_file_win.cc
push str.Write
push ebx
call fcn.01c45b40
add esp, 0x10
lea ecx, [esp + 0x30]
push 0
push ebx
call fcn.01c4c3c0
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.01c49b60
call fcn.01c54d00
test al, al
je 0x1c52def
mov eax, edi
sar eax, 0x1f
lea ecx, [esp + 0x28]
push eax
push edi
push esi
push str.File::Write
call fcn.01c54d80
pxor xmm0, xmm0
movdqa xmmword [esp + 0x10], xmm0
mov dword [esp + 0x20], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], 0xffffffff
lea eax, [esp + 0xc]
push ebx
push eax
push edi
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.kernel32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [esp + 0xc]
lea ecx, [esp + 0x28]
call fcn.01c54d60
lea ecx, [esp + 0x30]
call fcn.01c4c430
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.01c8b52d
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10

Function at 0x1c52e60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
lea ebx, [esp + 0x10]
push 0x88
push str..._.._base_files_file_win.cc
push str.WriteAtCurrentPos
push ebx
call fcn.01c45b40
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push ebx
call fcn.01c4c3c0
test edi, edi
js 0x1c52f34
mov ebx, dword [ebp + 8]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.01c49b60
call fcn.01c54d00
test al, al
je 0x1c52f05
lea ecx, [esp + 0x10]
push 0
push edi
push esi
push str.File::WriteAtCurrentPos
call fcn.01c54d80
mov dword [esp + 0xc], 0xffffffff
lea eax, [esp + 0xc]
push 0
push eax
push edi
push ebx
push dword [esi]
call dword [sym.imp.kernel32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
call fcn.01c54d60
jmp 0x1c52f39
mov esi, 0xffffffff
lea ecx, [esp + 0x20]
call fcn.01c4c430
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.01c8b52d
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x1c53010
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
lea esi, [esp + 0x10]
push 0x15a
push str..._.._base_files_file_win.cc
push str.DoInitialize
push esi
call fcn.01c45b40
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push esi
call fcn.01c4c3c0
mov eax, ebx
and eax, 1
neg eax
and eax, 3
test bl, 2
mov ecx, 1
cmove ecx, eax
test bl, 4
mov edx, 4
cmovne ecx, edx
test bl, 8
mov esi, 2
cmove esi, ecx
test bl, 0x10
mov eax, 5
cmove eax, esi
test eax, eax
je 0x1c531dc
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov ecx, ebx
and ecx, 0x40
shl ecx, 0x18
test bl, bl
cmovns edx, ecx
mov ecx, ebx
rol ecx, 0x1a
mov esi, ebx
shl esi, 0xb
and esi, 0x20000000
mov edi, ebx
shr edi, 4
and edi, 0x10000
and ecx, 0x80000100
or ecx, esi
or ecx, edi
or ecx, edx
mov esi, ebx
shr esi, 8
and esi, 3
mov edx, ebx
shr edx, 0xd
and edx, 4
or edx, esi
mov esi, ebx
and esi, 0x400
mov eax, ebx
mov dword [esp + 0xc], esi
mov ebx, esi
shl ebx, 0x14
mov esi, eax
shr esi, 3
and esi, 0x100
or esi, ebx
mov edi, eax
shr edi, 0xb
and edi, 2
or edi, esi
mov esi, eax
shl esi, 0xd
and esi, 0x4000000
or esi, edi
mov edi, eax
shl edi, 8
mov ebx, edi
and ebx, 0x2000000
or ebx, esi
and edi, 0x8000000
or edi, ebx
mov esi, dword [ebp + 8]
xor edx, 3
cmp byte [esi + 0xb], 0
jns 0x1c53162
mov esi, dword [esi]
mov ebx, dword [esp + 8]
mov eax, dword [esp + 4]
push 0
push edi
push eax
push 0
push edx
push ecx
push esi
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp dword [ebx], eax
je 0x1c531c0
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebx]
add eax, 1
cmp eax, 2
jb 0x1c531a6
call fcn.01c45b70
push dword [ebx]
call fcn.01c45b80
add esp, 4
mov dword [ebx], 0
mov eax, edi
add eax, 1
cmp eax, 2
jb 0x1c531b7
mov dword [ebx], edi
call fcn.01c45b70
push esi
call dword [sym.imp.kernel32.dll_SetLastError]
mov edi, dword [ebx]
add edi, 1
cmp edi, 2
jae 0x1c531ed
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.01c52f60
add esp, 4
mov dword [ebx + 0x14], eax
jmp 0x1c5321e
push 0x57
call dword [sym.imp.kernel32.dll_SetLastError]
mov dword [edi + 0x14], 0xffffffff
jmp 0x1c5321e
mov eax, dword [esp + 0xc]
shr eax, 0xa
mov dword [ebx + 0x14], 0
mov byte [ebx + 0x19], al
mov eax, dword [ebp + 0xc]
test al, 4
jne 0x1c5320f
test al, 0xa
je 0x1c5321e
mov byte [ebx + 0x18], 1
jmp 0x1c5321e
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
setne byte [ebx + 0x18]
lea ecx, [esp + 0x20]
call fcn.01c4c430
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.01c8b52d
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
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.01c92118
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.01c92118
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.01c92118
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.01c92118
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 0x1c61d10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
test ebx, ebx
je 0x1c61d89
mov ecx, dword [ebp + 0xc]
cmp ebx, 1
jne 0x1c61d2c
xor esi, esi
jmp 0x1c61d6e
and ebx, 0xfffffffe
xor esi, esi
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx edi, al
movzx edx, byte [ecx + esi]
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x1cbc930]
movzx edx, al
movzx edi, byte [ecx + esi + 1]
xor edi, edx
shr eax, 8
xor eax, dword [edi*4 + 0x1cbc930]
add esi, 2
cmp ebx, esi
jne 0x1c61d40
mov edx, dword [ebp + 0x10]
test dl, 1
je 0x1c61d89
movzx edx, al
movzx ecx, byte [ecx + esi]
xor ecx, edx
shr eax, 8
xor eax, dword [ecx*4 + 0x1cbc930]
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.01c92118
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
Function at 0x1c66dda
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1c66ebd
mov ebx, ecx
mov eax, dword [ecx + 4]
mov edx, dword [eax + 0x3c]
cmp dword [eax + edx + 0x74], 0
je 0x1c66ebd
cmp word [eax + edx + 0x14], 0x68
jb 0x1c66ebd
mov esi, dword [ebx]
mov ecx, ebx
push dword [eax + edx + 0x78]
call dword [esi + 4]
test eax, eax
je 0x1c66ebd
mov esi, eax
mov eax, dword [ebp + 8]
cmp eax, 0xffff
ja 0x1c66e34
mov word [edi], ax
jmp 0x1c66eea
mov eax, dword [ebx]
mov ecx, ebx
push dword [esi + 0x20]
call dword [eax + 4]
mov edx, eax
mov eax, dword [esi + 0x18]
lea ecx, [eax*4]
test ecx, ecx
je 0x1c66ebd
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], ebx
lea esi, [edx + eax*4]
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edx
mov ebx, edx
mov edi, esi
sub edi, ebx
mov eax, edi
sar eax, 2
shr edi, 0x1f
add edi, eax
and edi, 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
push dword [ebx + edi*2]
call dword [eax + 4]
mov ecx, dword [ebp + 8]
mov cl, byte [ecx]
test cl, cl
je 0x1c66e97
mov edx, dword [ebp - 0x1c]
cmp cl, byte [eax]
jne 0x1c66e99
inc eax
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x1c66e8b
xor ecx, ecx
lea edi, [ebx + edi*2]
movzx ecx, cl
movzx eax, byte [eax]
mov edx, ecx
sub edx, eax
test edx, edx
lea edx, [edi + 4]
cmovg ebx, edx
cmovle esi, edi
cmp ecx, eax
je 0x1c66ec9
xor eax, eax
cmp ebx, esi
jne 0x1c66e63
jmp 0x1c66ebf
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov esi, dword [ebp - 0x18]
push dword [esi + 0x24]
call dword [eax + 4]
sub edi, dword [ebp - 0x14]
sar edi, 1
movzx eax, word [eax + edi]
add ax, word [esi + 0x10]
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
mov al, 1
jmp 0x1c66ebf

Function at 0x1c67a30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x1cea148]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 3
jne 0x1c67ae9
mov dword [ebp - 0x14], 0x1c67b10
lea eax, [ebp - 0x14]
push 0
push eax
push 0x1c67a10
push 0x1ced8f0
call dword [sym.imp.kernel32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1c67afd
cmp dword [0x1ced8f4], 0
jne 0x1c67ae9
push dword [0x1ced8f8]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1c67ae9
mov esi, eax
push 0x1ced8fc
call dword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov edi, dword [0x1ced900]
mov ebx, dword [0x1ced904]
mov eax, dword [0x1ced908]
mov dword [ebp - 0x18], eax
push 0x1ced8fc
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x1c67ac5
push dword [esi]
call edi
add esp, 4
test ebx, ebx
je 0x1c67ad1
push dword [esi + 4]
call ebx
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1c67ae0
push dword [esi + 8]
call eax
add esp, 4
push esi
call fcn.01c678c0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
call fcn.01c917d2
int3