joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48318f
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push 0x74
mov eax, 0x5301eb
call fcn.00510c51
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x80], eax
call fcn.00404b60
mov esi, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, 0x13
jne 0x4831bd
push 0x547958
jmp 0x483200
push 0x66
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.00510f20
add esp, 0xc
push edi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
shl eax, 0x10
add esi, 0xffffffdf
or eax, 1
cmp esi, 0xe
ja 0x4831ef
or eax, 0x1000000
push 0x32
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00404330
lea ecx, [ebp - 0x7c]
call fcn.0040fca0
mov esi, dword [ebp - 0x7c]
cmp dword [esi - 0xc], edi
jle 0x483251
push edi
lea ecx, [ebp - 0x7c]
call fcn.0040e280
movzx ebx, ax
push ebx
call dword [sym.imp.USER32.dll_IsCharLowerW]
test eax, eax
jne 0x483237
inc edi
cmp edi, dword [esi - 0xc]
jl 0x483218
jmp 0x483251
movzx eax, bx
push eax
call fcn.00513a5b
pop ecx
movzx eax, ax
push eax
push edi
lea ecx, [ebp - 0x7c]
call fcn.0045112a
mov esi, dword [ebp - 0x7c]
push dword [esi - 0xc]
mov ecx, dword [ebp - 0x80]
push esi
call fcn.0040a4e0
cmp dword [ebp + 0x10], 0
jne 0x48326d
mov ecx, dword [ebp - 0x80]
push 0x2b
call fcn.00411281
lea ecx, [esi - 0x10]
call fcn.00404b20
call fcn.00510cd4
ret 0xc
Function at 0x48fdeb
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov esi, ecx
mov ecx, 0x104
cmp eax, ecx
ja 0x48ff45
je 0x48ff6b
cmp eax, 0xa1
jb 0x48ff97
cmp eax, 0xa2
jbe 0x48ff6b
cmp eax, 0xa3
jbe 0x48ff97
cmp eax, 0xa5
jbe 0x48ff6b
cmp eax, 0xa6
jbe 0x48ff97
cmp eax, 0xa8
jbe 0x48ff6b
cmp eax, 0x100
jne 0x48ff97
cmp dword [esi + 0x80], 0xffffffff
je 0x48ff6b
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x48ff6b
mov eax, dword [edi + 8]
sub eax, 0x21
je 0x48ff11
dec eax
jne 0x48ff6b
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
lea edi, [eax + 1]
add ecx, eax
cmp edi, ecx
jge 0x48ff09
mov eax, edi
cdq
idiv dword [esi + 0x7c]
mov eax, dword [esi]
mov ecx, esi
push edx
mov dword [ebp + 8], edx
call dword [eax + 0x254]
test eax, eax
jne 0x48feca
mov eax, dword [esi + 0x7c]
add eax, dword [esi + 0x80]
inc edi
cmp edi, eax
jl 0x48fea2
jmp 0x48ff09
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x1e4], 1
call dword [eax + 0x1ec]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1e8]
mov ecx, eax
call fcn.004144c6
push dword [esi + 0x80]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x248]
and dword [esi + 0x1e4], 0
xor eax, eax
inc eax
jmp 0x48ff9f
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
lea edi, [ecx + eax - 1]
cmp edi, eax
jle 0x48ff09
mov eax, edi
cdq
idiv dword [esi + 0x7c]
mov eax, dword [esi]
mov ecx, esi
push edx
mov dword [ebp + 8], edx
call dword [eax + 0x254]
test eax, eax
jne 0x48feca
dec edi
cmp edi, dword [esi + 0x80]
jg 0x48ff22
jmp 0x48ff09
cmp eax, 0x200
jb 0x48ff97
cmp eax, 0x202
jbe 0x48ff6b
cmp eax, 0x203
jbe 0x48ff97
cmp eax, 0x205
jbe 0x48ff6b
add eax, 0xfffffdf9
cmp eax, 1
ja 0x48ff97
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x48ff81
cmp dword [ecx + 0x20], 0
je 0x48ff81
push edi
call fcn.00405840
mov ecx, dword [esi + 0xb8]
test ecx, ecx
je 0x48ff97
cmp dword [ecx + 0x20], 0
je 0x48ff97
push edi
call fcn.00405840
push edi
mov ecx, esi
call fcn.004a8b4b
pop edi
pop esi
pop ebp
ret 4
Function at 0x49807a
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
test byte [0x590214], 1
push ebx
push esi
push edi
mov ebx, ecx
jne 0x4980a9
or dword [0x590214], 1
mov ecx, 0x590210
call fcn.00404b60
push 0x5394bd
call fcn.0050e282
pop ecx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x4980b5
call fcn.004118ab
mov eax, dword [ebx + 0x318]
test eax, eax
je 0x49812e
cmp dword [eax + 0x20], 0
je 0x49812e
test eax, eax
je 0x4980cc
mov eax, dword [eax + 0x20]
cmp dword [edi], eax
jne 0x49812e
mov eax, dword [edi + 4]
dec eax
je 0x49810d
dec eax
je 0x4980e3
dec eax
jne 0x49812e
mov esi, 0x428e
jmp 0x498112
push 0x11
mov esi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x498112
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x31c]
test eax, eax
je 0x498112
add esi, 3
jmp 0x498112
mov esi, 0x3ea0
push esi
mov ecx, 0x590210
call fcn.004041a0
test eax, eax
je 0x4980b0
mov eax, dword [0x590210]
mov dword [edi + 0xc], eax
xor eax, eax
inc eax
jmp 0x498130
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x498b0f
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [ebx + 0x9c], ecx
cmp dword [ebx + 0x90], ecx
je 0x498b8f
cmp dword [ebp + 0xc], ecx
jne 0x498b8f
cmp dword [ebx + 0x94], ecx
jne 0x498b8f
mov eax, dword [ebx + 0x20]
cmp eax, ecx
je 0x498b85
cmp eax, 0xffffffff
je 0x498b85
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xc8]
push dword [ebp - 8]
call fcn.0040a6c0
mov dword [ebx + 0x9c], eax
test eax, eax
jne 0x498b8f
xor eax, eax
jmp 0x498ccf
mov dword [ebx + 0x9c], 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xec]
test eax, eax
je 0x498bca
cmp dword [ebp + 0xc], 0
jne 0x498bca
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xd8]
push dword [ebp - 8]
call fcn.0040a6c0
test eax, eax
jne 0x498b7e
xor ecx, ecx
cmp dword [ebx + 0x9c], ecx
jne 0x498bf0
mov eax, dword [ebx + 0x20]
cmp eax, ecx
jbe 0x498bf0
cmp eax, 0xffffffff
je 0x498bf0
cmp dword [ebx + 0x90], ecx
jne 0x498bf0
cmp dword [ebx + 0xa8], ecx
je 0x498b7e
push dword [ebx + 0x6c]
push 0x588494
call fcn.0042196a
lea esi, [ebx + 0x8c]
mov dword [ebp - 4], eax
mov eax, dword [esi]
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x498c29
mov dword [eax + 0xf8], edi
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [ebp - 4]
mov dword [esi], edi
cmp ecx, edi
je 0x498c8f
push edi
jmp 0x498c8a
push dword [ebx + 0x6c]
push 0x5880d4
call fcn.0042196a
pop ecx
pop ecx
cmp dword [ebp + 0xc], edi
je 0x498c55
cmp eax, edi
je 0x498c55
cmp dword [0x58eb34], edi
jne 0x498c55
push 1
push ebx
mov ecx, eax
call fcn.004812b0
jmp 0x498c82
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x498c6d
push edi
call fcn.0043262c
cmp eax, edi
je 0x498c6d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x58]
push dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test eax, eax
je 0x498b7e
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x498c8f
push ebx
call fcn.0043523b
cmp dword [ebx + 0x6c], edi
je 0x498ccc
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00425758
mov eax, dword [eax + 0x94]
push eax
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x401
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x6c]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4abc67
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x531a81
call fcn.00510be8
xor edi, edi
cmp dword [0x587fd0], edi
je 0x4abd30
cmp dword [0x588c34], 0xfffffffe
jne 0x4abd1d
cmp dword [ebp + 8], 0xffffffff
je 0x4abd30
test byte [0x5905e0], 1
mov esi, 0x5905c0
jne 0x4abcc6
or dword [0x5905e0], 1
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00443da9
push 0x53953d
call fcn.0050e282
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, esi
call fcn.00443e00
cmp dword [0x5905bc], edi
je 0x4abcda
call fcn.004118ab
push edi
push edi
push 0x4abc0f
call fcn.0051417d
add esp, 0xc
mov dword [0x5905bc], eax
cmp eax, edi
jbe 0x4abd0a
cmp eax, 0xffffffff
je 0x4abd0a
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp + 8]
mov dword [0x588c34], eax
jmp 0x4abd10
mov dword [0x5905bc], edi
push 0x5905c8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4abd30
mov eax, dword [ebp + 8]
mov dword [0x588c34], eax
cmp eax, 0xffffffff
jne 0x4abd30
mov dword [0x5905bc], edi
call fcn.00510cc0
ret
Function at 0x4ec3a8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4ec3c0
mov edi, dword [esi + 0xc]
jmp 0x4ec400
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4ec3d9
call fcn.00412bbf
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4ec3ee
call fcn.00412bbf
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4ec400
call fcn.00412bbf
call fcn.0041d0e4
cmp dword [eax + 0x3c], 0
je 0x4ec415
push edi
mov ecx, ebx
call fcn.004eb201
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004ec2ce
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x4ec433
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4ec43f
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4f39b6
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x20a
push esi
mov esi, ecx
jne 0x4f3a00
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4f3a00
call fcn.004f3271
test eax, eax
je 0x4f3a00
push dword [ebx + 0xc]
mov eax, dword [esi + 0x54]
push dword [ebx + 8]
mov ecx, dword [eax + 0xb4]
push dword [ebx + 4]
call fcn.00411b3e
xor eax, eax
inc eax
jmp 0x4f3c18
cmp dword [ebx + 4], 0x100
push edi
jne 0x4f3c0f
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ax, ax
jl 0x4f3afd
push 0x11
call edi
test ax, ax
jl 0x4f3afd
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4f3afd
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x4f3a70
cmp eax, 0x20
jbe 0x4f3afd
cmp eax, 0x24
jbe 0x4f3a63
cmp eax, 0x26
je 0x4f3a63
cmp eax, 0x28
jne 0x4f3afd
call fcn.004f3271
test eax, eax
je 0x4f3afd
mov ecx, esi
call fcn.004144c6
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
call fcn.004f3271
test eax, eax
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
je 0x4f3aa5
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.00411b3e
jmp 0x4f3c0a
call fcn.004058c0
test eax, eax
je 0x4f3c0a
mov eax, dword [esi + 0x54]
add eax, 0xb8
push eax
mov ecx, esi
call fcn.00419366
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x4f3ad3
xor edi, edi
jmp 0x4f3ad6
mov edi, dword [eax + 0x20]
mov esi, dword [esi + 0x54]
mov ecx, dword [esi + 0xb4]
movzx esi, word [esi + 0x20]
call fcn.004058c0
push edi
push esi
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4f3c0a
mov eax, dword [ebx + 8]
sub eax, 9
je 0x4f3bd9
sub eax, 0x12
je 0x4f3bb1
sub eax, 0xb
je 0x4f3b1f
dec eax
dec eax
jne 0x4f3c0f
push 0x12
call edi
test ax, ax
jl 0x4f3c0f
push 0x11
call edi
test ax, ax
jl 0x4f3c0f
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4f3c0f
call fcn.004f3271
test eax, eax
jne 0x4f3c0a
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
push 1
call fcn.004f31eb
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
push dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.00417cd0
test eax, eax
je 0x4f3c0a
mov esi, dword [esi + 0x54]
lea ebx, [esi + 0x90]
mov esi, dword [esi + 0xb4]
push dword [esi + 0x20]
call edi
push eax
call fcn.00417cd0
push 1
push ebx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4f3c0a
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4f3bc5
push 0
call fcn.004f31eb
mov ecx, esi
call fcn.00418e11
test eax, eax
je 0x4f3c0f
mov ecx, esi
call fcn.00418e11
jmp 0x4f3c03
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.00417cd0
test eax, eax
je 0x4f3c0f
push dword [esi + 0x20]
call edi
push eax
call fcn.00417cd0
push 0
push esi
mov ecx, eax
call fcn.00411b59
mov ecx, eax
call fcn.004144c6
xor eax, eax
inc eax
jmp 0x4f3c17
push ebx
mov ecx, esi
call fcn.00415b11
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x508e06
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
mov edi, eax
movzx eax, word [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp byte [ebp + 0xc], 0
movzx eax, ax
jne 0x508e4b
test edi, edi
jl 0x508e4b
cmp ax, 0x20
je 0x508e40
cmp word [ebp + 8], 0x71
jne 0x508e4b
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8

Function at 0x50e14c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x58a710]
jne 0x50e156
repz ret
jmp fcn.00516516

Function at 0x522198
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00515e7a
and dword [ebp - 4], 0
cmp dword [0x5923cc], 0
mov ebx, eax
jne 0x522249
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5222fa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x5222fa
push eax
call fcn.00515e08
mov dword [esp], 0x561dc4
push edi
mov dword [0x5923cc], eax
call esi
push eax
call fcn.00515e08
mov dword [esp], 0x561db0
push edi
mov dword [0x5923d0], eax
call esi
push eax
call fcn.00515e08
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5923d4], eax
call esi
push eax
call fcn.00515e08
pop ecx
mov dword [0x5923dc], eax
test eax, eax
je 0x522249
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00515e08
pop ecx
mov dword [0x5923d8], eax
mov eax, dword [0x5923d8]
cmp eax, ebx
je 0x5222a1
cmp dword [0x5923dc], ebx
je 0x5222a1
push eax
call fcn.00515e83
push dword [0x5923dc]
mov esi, eax
call fcn.00515e83
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5222a1
test edi, edi
je 0x5222a1
call esi
test eax, eax
je 0x522298
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x522298
test byte [ebp - 0xc], 1
jne 0x5222a1
or dword [ebp + 0x10], 0x200000
jmp 0x5222da
mov eax, dword [0x5923d0]
cmp eax, ebx
je 0x5222da
push eax
call fcn.00515e83
pop ecx
test eax, eax
je 0x5222da
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5222da
mov eax, dword [0x5923d4]
cmp eax, ebx
je 0x5222da
push eax
call fcn.00515e83
pop ecx
test eax, eax
je 0x5222da
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5923cc]
call fcn.00515e83
pop ecx
test eax, eax
je 0x5222fa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5222fc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10008b80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0x14
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [0x10083880]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0x37ec4db3
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
sub eax, 0xc3e1875c
je 0x10008be1
jmp 0x10008bb7
mov eax, dword [ebp - 0x18]
sub eax, 0x37ec4db3
je 0x10008bcf
jmp 0x10008bca
jmp 0x10008c22
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0xc3e1875c
jmp 0x10008c22
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0xc]
not byte [edi]
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
add byte [edi], 0x64
sub byte [edi], 0x88
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
imul byte [edi]
inc edi
loop 0x10008bf1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10022890
add esp, 0x14
pop edi
pop ebp
ret
jmp 0x10008ba1
Function at 0x1000ade0
Capabilities:
Allocate or change rwx memory
Create process on windows
Encode data using base64
Encrypt data using speck
Execute anti-debugging instructions
Execute shellcode via indirect call
Hide graphical window
Parse credit card information
Parse pe header
Resume thread

Disassembly:
jmp 0x10010a00
push ebp
neg ebp
and ax, sp
mov ebp, esp
xor ah, ah
adc eax, ebp
push ebx
btc eax, esi
not eax
bsr ax, sp
push edi
btc eax, 0xa6
bt ax, dx
push esi
sub esp, 0x238
shr al, cl
mov eax, dword [0x10083880]
test bh, 0x20
test edx, ecx
xor eax, ebp
jmp loc.10089b67

Function at 0x100278aa
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100278e9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100278e9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100278e9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100278e9
cmp dword [ecx + 0x74], 0xe
jbe 0x100278e9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1002a274
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 0x1002a311
push ebx
push esi
call fcn.1002a23d
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.1002a1d1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002a2be
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002a310
push edi
push eax
call fcn.10028b72
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1002a2de
call fcn.10028bc0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002a30f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002a1d1
add esp, 0x20
test eax, eax
jne 0x1002a2fd
push edi
call fcn.10028bc0
jmp 0x1002a305
push ebx
call fcn.10028bc0
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 0x1002a57e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100322e0
push 0x100322d8
push str.FlsAlloc
push 0x1f
call fcn.1002a49a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002a5b2
push dword [ebp + 8]
mov ecx, esi
call dword [0x10030154]
call esi
jmp 0x1002a5b8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002a5fc
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100322f0
push 0x100322e8
push str.FlsGetValue
push 0x21
call fcn.1002a49a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002a633
push dword [ebp + 8]
mov ecx, esi
call dword [0x10030154]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002a63b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100322f8
push 0x100322f0
push str.FlsSetValue
push 0x22
call fcn.1002a49a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002a675
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10030154]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1002fb80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002fbad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002fbad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x16a59f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.FKP1
lea edi, [esi - 0x1272000]
push edi
or ebp, 0xffffffff
jmp 0x16a5a12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a5a19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a08
mov eax, 1
add ebx, ebx
jne 0x16a5a2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a5a3c
jne 0x16a5a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a5b
dec eax
add ebx, ebx
jne 0x16a5a48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a5a20
add ebx, ebx
jne 0x16a5a57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x16a5aad
xor ecx, ecx
sub eax, 3
jb 0x16a5a73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a5ae2
sar eax, 1
mov ebp, eax
jmp 0x16a5a7e
add ebx, ebx
jne 0x16a5a7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
inc ecx
add ebx, ebx
jne 0x16a5a8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
add ebx, ebx
jne 0x16a5a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a5a8e
jne 0x16a5aaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a5a8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x16a5acc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a5abe
jmp 0x16a5a0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a5acc
add edi, ecx
jmp 0x16a5a0e
pop esi
mov edi, esi
mov ecx, 0x34f3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a5aea
cmp byte [edi], 0x16
jne 0x16a5aea
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 0x16a5aef
lea edi, [esi + 0x12a2000]
mov eax, dword [edi]
or eax, eax
je 0x16a5b5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a67a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a6890]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a5b1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a6894]
or eax, eax
je 0x16a5b58
mov dword [ebx], eax
add ebx, 4
jmp 0x16a5b39
call dword [esi + 0x12a68a4]
mov ebp, dword [esi + 0x12a6898]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x16a5b92
sub esp, 0xffffff80
jmp 0x46c1ac