joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005000
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
push esi
mov dword [esp + 0x14], ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [esp + 0x38]
mov eax, 3
mov word [esi], ax
mov dword [esi + 8], 0
push 0
mov dword [ecx], 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x2c]
mov ebx, eax
mov eax, dword [esp + 0x28]
push edx
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, eax
push ebp
push ebx
mov dword [esp + 0x1c], ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x30]
push edx
push edi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
call fcn.100058b0
test eax, eax
jne 0x100050a2
pop edi
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
add esp, 0xc
ret 0x20
lea edx, [esp + 0x28]
push edx
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov dword [esp + 0x20], eax
test eax, eax
jl 0x10005199
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov dword [esp + 0x24], eax
test eax, eax
je 0x100050f7
mov dword [eax], vtable.Gdiplus::Bitmap.0
lea eax, [esp + 0x34]
push eax
push 0
push ebp
mov dword [esp + 0x40], 0
call sub.gdiplus.dll_GdipCreateBitmapFromHBITMAP
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov dword [ebp + 8], eax
mov dword [ebp + 4], ecx
jmp 0x100050f9
xor ebp, ebp
mov edx, dword [0x1001d104]
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 4]
push edx
push 0x1001d0b8
push eax
push ecx
call sub.gdiplus.dll_GdipSaveImageToStream
test eax, eax
je 0x1000511a
mov dword [ebp + 8], eax
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.ole32.dll_GetHGlobalFromStream]
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x38]
push ebp
push esi
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push str.ByScreen.JPG
call fcn.10004e40
push ebp
push esi
push eax
call fcn.10002460
mov eax, dword [esp + 0x38]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x20
Function at 0x100055a0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x10015de8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001c17c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, ecx
mov ebx, dword [esp + 0x34]
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [esp + 0x38]
xor esi, esi
mov eax, 3
mov word [ebx], ax
mov dword [ebx + 8], esi
mov dword [ecx], esi
mov dword [esp + 0x34], esi
mov edx, dword [esp + 0x2c]
push esi
push 0x80
push eax
push esi
push 7
push SysReAllocStringLen
push edx
mov dword [esp + 0x40], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x1000564c
call fcn.10001300
cmp eax, esi
jl 0x10005642
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [esp + 0x14], edi
cmp edi, 0xffffffff
jne 0x10005658
call fcn.10001300
test eax, eax
jge 0x10005654
test esi, esi
je 0x10005642
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xfffffc15
jmp 0x100056d9
mov esi, eax
mov dword [esp + 0x34], esi
jmp 0x10005617
mov edi, dword [esp + 0x14]
test edi, edi
je 0x10005637
cmp edi, 0x300000
jbe 0x10005676
test esi, esi
je 0x1000566f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xfffffc0e
jmp 0x100056d9
push edi
call fcn.1000ae77
mov esi, eax
add esp, 4
lea ecx, [esp + 0x34]
test esi, esi
jne 0x10005695
call fcn.10001320
mov eax, 0xfffffc11
jmp 0x100056d9
push edi
push esi
call fcn.10001350
lea ecx, [esp + 0x34]
call fcn.10001320
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push ebx
push eax
push edi
push esi
push ecx
mov ecx, ebp
call fcn.100051d0
push esi
mov edi, eax
call fcn.1000ae6c
add esp, 4
lea ecx, [esp + 0x34]
call fcn.10001320
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x14
Function at 0x100076b0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x28], ecx
mov edx, dword [eax]
mov dword [esi + 0x44], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x48], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x1c]
push edi
mov dword [esi + 0x40], eax
test eax, eax
je 0x10007704
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0xc]
push eax
push 0
push esi
push 0x10007650
push 0
push 0
mov dword [esi + 0x70], 0xfffffc17
mov dword [esi + 0x54], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x10007739
pop edi
mov eax, 0xfffffc11
pop esi
ret 0x24
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x70]
pop edi
pop esi
ret 0x24
Function at 0x100079d0
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
mov ebp, 0xfffffc17
test edi, edi
je 0x10007a06
mov eax, edi
lea ecx, [esi + 0x2c]
lea ebx, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x100079f0
sub eax, ebx
sar eax, 1
push eax
push edi
call fcn.10001b60
mov edi, dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi]
cmp eax, dword [edi + 4]
jge 0x10007af7
jmp 0x10007a20
xor ebx, ebx
cmp ebp, ebx
je 0x10007acf
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], 1
mov edx, dword [edi]
mov dword [esi + 0x44], edx
mov eax, dword [edi + 4]
mov dword [esi + 0x48], eax
mov ecx, dword [edi + 8]
lea eax, [esp + 0x2c]
push eax
push ebx
push esi
push 0x10007650
mov dword [esi + 0x4c], ecx
mov edx, dword [edi + 0xc]
push ebx
push ebx
mov dword [esi + 0x50], edx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x70], 0xfffffc17
mov dword [esi + 0x54], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
cmp ebp, ebx
jne 0x10007a88
mov ebp, 0xfffffc11
jmp 0x10007a9b
push 0xffffffffffffffff
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esi + 0x70]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp ebp, ebx
je 0x10007aba
test byte [edi + 8], 2
je 0x10007acb
mov edx, dword [edi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi]
cmp eax, dword [edi + 4]
jl 0x10007a20
cmp ebp, ebx
jne 0x10007af7
mov ecx, dword [esp + 0x30]
lea eax, [esi + 0x68]
push eax
call fcn.10001e90
mov ecx, dword [esi + 0x58]
mov eax, dword [esp + 0x34]
mov dword [eax], ecx
mov edx, dword [esi + 0x5c]
mov dword [eax + 4], edx
mov ecx, dword [esi + 0x60]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x64]
mov dword [eax + 0xc], edx
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x10
ret 0x14
Function at 0x100093c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1001c17c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x274
call fcn.1000a8b4
push 0x274
mov esi, eax
push 0
push esi
call fcn.1000a7d0
add esp, 0x10
lea eax, [esi + 8]
push eax
mov dword [esi], esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x68], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x64], 0
test eax, eax
je 0x1000944b
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
inc ebx
cmp ebx, 0x3fffffff
jg 0x1000944b
lea eax, [ebx + ebx]
call fcn.1000ae40
mov edi, esp
test edi, edi
je 0x1000944b
mov edx, dword [ebp + 8]
push ebx
push edi
push 0xffffffffffffffff
xor ecx, ecx
push edx
push ecx
push 3
mov word [edi], cx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, edi
jmp 0x1000944d
xor eax, eax
push eax
lea eax, [esi + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10009462
mov dword [esi + 0x20], eax
push 0
push 0
push esi
push 0x100088b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x10009491
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push esi
call fcn.10009b10
add esp, 4
xor eax, eax
jmp 0x1000949a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000acff
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000acff
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001c17c]
jne 0x1000ad09
repz ret
jmp fcn.10010a8c
Function at 0x10014393
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.1000cabf
and dword [ebp - 4], 0
cmp dword [0x1001dbe0], 0
mov ebx, eax
jne 0x10014444
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100144f5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100144f5
push eax
call fcn.1000ca4d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1001dbe0], eax
call esi
push eax
call fcn.1000ca4d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1001dbe4], eax
call esi
push eax
call fcn.1000ca4d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1001dbe8], eax
call esi
push eax
call fcn.1000ca4d
pop ecx
mov dword [0x1001dbf0], eax
test eax, eax
je 0x10014444
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000ca4d
pop ecx
mov dword [0x1001dbec], eax
mov eax, dword [0x1001dbec]
cmp eax, ebx
je 0x1001449c
cmp dword [0x1001dbf0], ebx
je 0x1001449c
push eax
call fcn.1000cac8
push dword [0x1001dbf0]
mov esi, eax
call fcn.1000cac8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1001449c
test edi, edi
je 0x1001449c
call esi
test eax, eax
je 0x10014493
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10014493
test byte [ebp - 0xc], 1
jne 0x1001449c
or dword [ebp + 0x10], 0x200000
jmp 0x100144d5
mov eax, dword [0x1001dbe4]
cmp eax, ebx
je 0x100144d5
push eax
call fcn.1000cac8
pop ecx
test eax, eax
je 0x100144d5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100144d5
mov eax, dword [0x1001dbe8]
cmp eax, ebx
je 0x100144d5
push eax
call fcn.1000cac8
pop ecx
test eax, eax
je 0x100144d5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1001dbe0]
call fcn.1000cac8
pop ecx
test eax, eax
je 0x100144f5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100144f7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7ce7620
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x18e70099
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x40229a
Capabilities:
Terminate process

Disassembly:
mov edx, eax
push edi
push dword [0x403716]
call dword [sym.imp.pdh.dll_PdhCloseLog]
mov eax, 5
add eax, 5
inc eax
xor edi, edi
xor esi, esi
test eax, 0xb
jne 0x4022c9
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x40164f], eax
ret

Function at 0x414ddf
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor dword [eax], edx
sub esp, 4
mov dword [esp], esi
pop esi
add eax, 4
cmp eax, edi
jne fcn.00414ddf
or ecx, esi
sub esi, 0xaff6a553
ret
Function at 0x1285c
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf4
mov esi, edx
mov ebx, eax
test bl, bl
je 0x12899
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x108]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x128b9
lea eax, [esp + 0x108]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x104
call fcn.00013fb8
add esp, 0x20c
pop esi
pop ebx
ret

Function at 0x12a78
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x12aa7
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00013e60
jmp 0x12ac5
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.000129a0
mov edi, eax
test ebx, ebx
je 0x12ac5
cmp dword [esi], 0
je 0x12ac5
dec ebx
jmp 0x12aae
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x12d24
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0xf3044], 0x8088405
inc edx
mov dword [0xf3044], edx
mul edx
mov eax, edx
ret

Function at 0x12ed4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x12f6c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x12f4c
xor eax, eax
push ebp
push 0x12f45
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x12f88
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x12f4c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x15c70
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x15e2c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x15cd1
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x15e48
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x15d43
xor eax, eax
push ebp
push 0x15d3c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00015ac8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x15d25
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x15e68
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x15d43
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x15e24
cmp byte [ebp - 0xd], 0
jne 0x15d85
cmp byte [ebp - 0x12], 0
je 0x15e24
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x15d9e
dec ebx
cmp byte [ebx], 0x2e
je 0x15dad
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x15d9d
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x15e24
inc ebx
cmp byte [ebp - 0x12], 0
je 0x15dda
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x15e24
cmp byte [ebp - 0xd], 0
je 0x15e24
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x15e24
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1a2c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x1a2f9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00013e60
jmp 0x1a302
mov eax, ebx
mov edx, esi
call fcn.00013dcc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1a30c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x1a32d
mov al, byte [esp]
jmp 0x1a32f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x26760
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x26775
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x28760
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x28766
ret

Function at 0x2b024
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x2b075
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x2b05c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x2b04c
jmp 0x2b075
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x2b05d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x3d15c
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x3d1b0
mov eax, dword [0xf1e24]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x3d188
push ebx
push 0x3d1b8
call fcn.00058f40
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x3d1ac
mov ecx, dword [0xf1af0]
mov dl, 1
mov eax, dword [0x17fd4]
call fcn.0001ab70
call fcn.000137f4
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x3d1d8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0003d15c
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x3d24a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x3d21e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00013f40
jmp 0x3d225
mov eax, ebx
call fcn.00013d78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3d251
cmp dword [ebp - 8], 0
je 0x3d241
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0003d130
ret

Function at 0x3d258
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0003d15c
xor edx, edx
push ebp
push 0x3d2fa
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x3d2cd
mov edx, ebx
mov eax, dword [0x28234]
call fcn.0002c888
test al, al
je 0x3d2bd
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0002c798
call fcn.00013894
jmp 0x3d301
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x3d288
mov ecx, dword [0xf1ba8]
mov dl, 1
mov eax, dword [0x17fd4]
call fcn.0001ab70
call fcn.000137f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3d301
mov eax, dword [ebp - 4]
call fcn.0003d130
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x3d308
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0003d15c
xor eax, eax
push ebp
push 0x3d360
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3d367
mov eax, dword [ebp - 4]
call fcn.0003d130
ret