joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448d15
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x448e2d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x448e2d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00463ba6
mov esi, eax
test esi, esi
je 0x448e2d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x448e2d
mov ecx, esi
call fcn.00448c80
cmp edi, eax
jge 0x448e2d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x448db3
mov dword [esp + 0x34], 1
jmp 0x448e0e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x448e2d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00448220
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x46454a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x464582
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046719f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00467177
jmp 0x46458e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x465c38
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x465c7a
call fcn.0046d427
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x465c7a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x465c71
xor eax, eax
jmp 0x465c82
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00465c88
pop edi
pop esi
pop ebx
ret 4
Function at 0x46dae5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46db13
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46db31
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046da4b
jmp 0x46db31
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46db31
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046da4b
test edi, edi
mov eax, edi
jne 0x46db1b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405280
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4000]
push edi
or ebp, 0xffffffff
jmp 0x4052a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4052a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x405298
mov eax, 1
add ebx, ebx
jne 0x4052bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4052b0
jne 0x4052cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4052b0
xor ecx, ecx
sub eax, 3
jb 0x4052e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x405352
mov ebp, eax
add ebx, ebx
jne 0x4052eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4052f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40531c
inc ecx
add ebx, ebx
jne 0x405308
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4052fd
jne 0x405319
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4052fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40533c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40532d
jmp 0x40529e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40533c
add edi, ecx
jmp 0x40529e
pop esi
mov edi, esi
mov ecx, 1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40535a
cmp byte [edi], 1
jne 0x40535a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40535f
lea edi, [esi + 0x3000]
mov eax, dword [edi]
or eax, eax
je 0x4053d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x503c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40538c
mov ecx, edi
jns 0x4053bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5040]
or eax, eax
je 0x4053d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4053a9
call dword [esi + 0x5050]
mov ebp, dword [esi + 0x5044]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40540b
sub esp, 0xffffff80
jmp 0x401108
Function at 0x4cc4f1
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004bf500
mov eax, dword [0x4fffd0]
xor eax, dword [ebp + 4]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.004c6b48
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x4cc61b
push 2
push esi
push dword [ebp + 8]
call fcn.004c6b48
add esp, 0xc
cmp eax, ebx
je 0x4cc61b
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x4cc5be
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x100c]
push esi
push eax
call fcn.004bf8d0
push 0x8000
push dword [ebp + 8]
call fcn.004cc691
add esp, 0x14
mov dword [ebp - 0xc], eax
cmp edi, ebx
mov eax, ebx
jge 0x4cc577
mov eax, edi
push eax
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.004c6885
add esp, 0xc
cmp eax, 0xffffffff
je 0x4cc597
sub edi, eax
test edi, edi
jg 0x4cc56f
jmp 0x4cc5af
call fcn.004bff11
cmp dword [eax], 5
jne 0x4cc5ac
call fcn.004bff08
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.004cc691
pop ecx
pop ecx
jmp 0x4cc606
jge 0x4cc606
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004c6b48
push dword [ebp + 8]
call fcn.004ca089
add esp, 0x10
push eax
call dword [sym.imp.kernel32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x4cc606
call fcn.004bff08
mov dword [eax], 0xd
call fcn.004bff11
mov edi, eax
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.004c6b48
add esp, 0xc
mov eax, esi
pop edi
jmp 0x4cc61d
mov eax, ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
pop ebx
call fcn.004c6877
leave
ret

Function at 0x4cc737
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4cc757
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.004bff1a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4cc77a
test byte [esp + 8], 2
je 0x4cc77a
call fcn.004bff08
mov dword [eax], 0xd
call fcn.004bff11
mov dword [eax], 5
jmp 0x4cc753
xor eax, eax
ret

Function at 0x100113e
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
mov ax, word [esi]
cmp ax, 0x22
push 2
pop ecx
jne 0x1001171
add esi, ecx
mov ax, word [esi]
test ax, ax
je 0x1001169
cmp ax, 0x22
jne 0x1001159
cmp word [esi], 0x22
jne 0x1001189
jmp 0x1001187
cmp ax, 0x20
jbe 0x1001189
add esi, ecx
cmp word [esi], 0x20
ja 0x1001177
jmp 0x1001189
cmp ax, 0x20
ja 0x1001191
add esi, ecx
mov ax, word [esi]
test ax, ax
jne 0x1001181
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x18], 1
je 0x10011ab
movzx eax, word [ebp - 0x14]
jmp 0x10011ae
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call main
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1015bf1
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
cmp edi, esi
je 0x1015c17
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x100223c
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
cmp ebx, esi
je 0x1015c90
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1015c55
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
xor ebx, ebx
call fcn.010149af
mov esi, eax
test esi, esi
jge 0x1015cbb
inc edi
cmp edi, 5
jl 0x1015c06
test esi, esi
jge 0x1015cc2
mov eax, dword [section..data]
cmp eax, section..data
je 0x1015d70
test byte [eax + 0x1c], 2
je 0x1015d70
push esi
push 0x1002200
push 0x10018b8
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040d61
jmp 0x1015d70
mov eax, dword [section..data]
cmp eax, section..data
je 0x1015cb4
test byte [eax + 0x1c], 2
je 0x1015cb4
push 0x10018b8
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141c0
mov esi, 0x80004005
jmp 0x1015d32
mov esi, 0x40200
jmp 0x1015d32
push 0x208
call fcn.0104b5f8
test eax, eax
je 0x1015cd9
mov ecx, eax
call fcn.01015775
jmp 0x1015cdb
xor eax, eax
push eax
lea ecx, [ebp - 4]
call fcn.010146ac
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x1015d3b
mov eax, dword [section..data]
cmp eax, section..data
je 0x1015d14
test byte [eax + 0x1c], 2
je 0x1015d14
push 0x10021cc
push 0x10018b8
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01013fed
mov esi, 0x8007000e
test ebx, ebx
je 0x1015d24
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x1015d32
push dword [ebp - 4]
call fcn.010142f7
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
push dword [ebp + 0xc]
push ebx
call fcn.01015a67
mov esi, eax
test esi, esi
jge 0x1015d6e
mov eax, dword [section..data]
cmp eax, section..data
je 0x1015d70
test byte [eax + 0x1c], 2
je 0x1015d70
push esi
push 0x1002168
push 0x10018b8
push 0x19
jmp 0x1015c80
xor esi, esi
test esi, esi
jge 0x1015d24
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x1015d19
add ecx, 4
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x1015d24

Function at 0x1016899
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push esi
mov esi, ecx
cmp dword [esi + 0x27c], 0
jne 0x10168d4
mov eax, dword [esi + 0x38]
test eax, eax
je 0x10168b9
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x10168d4
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x3c]
call edi
mov eax, dword [esi + 0x40]
test eax, eax
je 0x10168d3
push 0
push eax
call edi
pop edi
and dword [esi + 0xc], 0
pop esi
ret
Function at 0x1018341
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push esi
mov esi, ecx
cmp dword [esi + 0x27c], 0
push edi
jne 0x101838c
mov eax, dword [esi + 0x38]
test eax, eax
je 0x1018365
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x38]
jmp 0x101838f
call fcn.010177db
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x3c]
call edi
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1018388
push 5
push eax
call edi
mov eax, dword [esi + 0x40]
jmp 0x101838f
xor eax, eax
jmp 0x101838f
mov eax, dword [esi + 4]
push eax
mov ecx, esi
mov dword [esi + 0xc], 1
call fcn.010167f4
pop edi
pop esi
ret

Function at 0x1019045
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x1053d10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
push edi
je 0x1019084
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x20000000
je 0x1019084
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, 0x100
push edi
lea eax, [ebp - 0x204]
push eax
push 0xbb7
push dword [esi + 0x2c]
call fcn.0104be39
test eax, eax
jne 0x10190b4
push 0x10027ec
push edi
lea eax, [ebp - 0x204]
push eax
call fcn.01018462
push dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x404]
push edi
push eax
call fcn.010184d0
mov esi, dword [esi + 4]
add esp, 0x10
push 0x10010
lea eax, [ebp - 0x404]
push eax
push ebx
push esi
call fcn.0104ba9e
dec eax
pop edi
pop esi
pop ebx
je 0x10190f9
dec eax
dec eax
je 0x10190f9
dec eax
jne 0x1019108
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x1019108
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01035675
leave
ret 8
Function at 0x103e361
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
shr edx, 3
je 0x103e38a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
sub ecx, eax
push esi
mov esi, dword [ecx + eax]
xor dword [eax], esi
mov esi, dword [ecx + eax + 4]
xor dword [eax + 4], esi
add eax, 8
dec edx
jne 0x103e377
pop esi
pop ebp
ret 0xc

Function at 0x103e7a7
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1053d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor esi, esi
push esi
push 0x100a2d0
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x103e87c
push edi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push dword [ebp - 0x10c]
mov edi, 0x104
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x103e86b
cmp dword [ebp - 0x114], 2
mov byte [ebp - 5], al
lea eax, [ebp - 0x108]
jne 0x103e855
push edi
push dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb esi, esi
inc esi
jmp 0x103e86b
push eax
push edi
push dword [ebp - 0x110]
call fcn.0103e73f
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
jmp 0x103e87e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01035675
leave
ret 4

Function at 0x103e94c
Capabilities:
Encrypt data using dpapi

Disassembly:
mov edi, edi
push ebx
push esi
push edi
push 0x100a3cc
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x103e980
push 0x100a3b8
push ebx
call edi
push 0x100a3a0
push ebx
mov dword [esi + 0x2c], eax
call edi
mov dword [esi + 0x30], eax
xor eax, eax
cmp dword [esi + 0x2c], eax
je 0x103e98c
cmp dword [esi + 0x30], eax
jne 0x103e9d0
cmp ebx, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
je 0x103e99d
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x100a384
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x103e9c4
push 0x100a370
push ebx
call edi
push 0x100a35c
push ebx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
xor eax, eax
cmp dword [esi + 0x24], eax
je 0x103e9dc
cmp dword [esi + 0x28], eax
je 0x103e9dc
mov dword [esi + 0x34], 1
mov dword [esi + 0x38], ebx
jmp 0x103e9ed
cmp ebx, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
je 0x103e9ed
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
ret
Function at 0x10008c40
Capabilities:
Allocate or change rwx memory
Create process on windows
Encode data using base64
Encrypt data using chaskey
Encrypt data using speck
Execute anti-debugging instructions
Execute shellcode via indirect call
Hash data using murmur3
Hide graphical window
Parse credit card information
Parse pe header
Resume thread

Disassembly:
jmp 0x10011618
push ebp
cmp dl, 0x1e
mov ebp, esp
btc eax, 0xa5
push ebx
ror ax, 0x8a
rcl al, 0xa0
push edi
or eax, 0x592e6417
mov ah, 5
push esi
btc eax, ebp
rol eax, 0x33
lea esp, [esp - 0x148]
bts eax, esp
mov eax, dword [0x1004a800]
jmp loc.10054966

Function at 0x1001b810
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001b84f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001b84f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001b84f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1001b84f
cmp dword [ecx + 0x74], 0xe
jbe 0x1001b84f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001e51d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001e5ba
push ebx
push esi
call fcn.1001e4e6
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001e47a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001e567
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001e5b9
push edi
push eax
call fcn.1001c55d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001e587
call fcn.1001cfc2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001e5b8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001e47a
add esp, 0x20
test eax, eax
jne 0x1001e5a6
push edi
call fcn.1001cfc2
jmp 0x1001e5ae
push ebx
call fcn.1001cfc2
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001e827
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10026d10
push 0x10026d08
push str.FlsAlloc
push 0x1f
call fcn.1001e743
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001e85b
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002514c]
call esi
jmp 0x1001e861
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001e8a5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10026d20
push 0x10026d18
push str.FlsGetValue
push 0x21
call fcn.1001e743
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001e8dc
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002514c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001e8e4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10026d28
push 0x10026d20
push str.FlsSetValue
push 0x22
call fcn.1001e743
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001e91e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1002514c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10023ec0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10023eed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10023eed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0xaab1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00aab140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00aab140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00aab140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00aab140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xaabbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xaabc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xabd87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xaabc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xaabc52
xor eax, eax
pop esi
leave
ret 4

Function at 0x41ba70
Capabilities:
Encode data using xor

Disassembly:
mov dl, 1
mov al, byte [esp + 4]
test al, al
je 0x41ba88
mov cl, al
shr al, 1
and cl, 1
xor dl, cl
test al, al
jne 0x41ba7a
xor eax, eax
mov al, dl
ret 4