joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5072dc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe10
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1f0], ebx
mov dword [ebp - 0x1e4], ebx
mov dword [ebp - 0x1e8], ebx
mov dword [ebp - 0x1ec], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055e4
mov eax, dword [ebp - 8]
call fcn.004055e4
mov eax, dword [ebp + 0xc]
call fcn.004055e4
mov eax, dword [ebp + 8]
call fcn.004055e4
xor eax, eax
push ebp
push 0x50747d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x50740d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.004051fc
lea edx, [ebp - 0x1ec]
mov eax, 0x50749c
call fcn.004104e8
mov eax, dword [ebp - 0x1ec]
lea edx, [ebp - 0x1e8]
call fcn.0040aae4
mov eax, dword [ebp - 0x1e8]
lea edx, [ebp - 0x1e4]
call fcn.0040f3fc
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.0040547c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x1e0]
call fcn.004037a0
lea eax, [ebp - 0x1e0]
call fcn.00403530
call fcn.00403108
lea eax, [ebp - 0x1e0]
call fcn.00403868
call fcn.00403108
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, ebx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0050702c
test al, al
je 0x5073e9
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0xc]
call fcn.0040a750
test al, al
je 0x507403
mov eax, dword [ebp - 0xc]
call fcn.004055f4
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x507445
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x507484
lea eax, [ebp - 0x1f0]
mov edx, 4
call fcn.00405188
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405188
lea eax, [ebp + 8]
mov edx, 2
call fcn.00405188
ret
Function at 0x508cc4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov byte [ebp - 0xd], al
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.004055e4
mov eax, dword [ebp - 8]
call fcn.004055e4
xor eax, eax
push ebp
push 0x508db8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xe], 0
xor eax, eax
push ebp
push 0x508d8b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
mov edx, dword [ebp - 4]
movzx eax, byte [ebp - 0xd]
call fcn.0050893c
mov eax, dword [ebp - 0xc]
call fcn.0040a750
test al, al
je 0x508d3d
mov eax, dword [ebp - 0xc]
call fcn.004055f4
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0040aae4
mov eax, dword [ebp - 0x14]
call fcn.0040a798
sub bl, 1
jb 0x508d59
je 0x508d6e
jmp 0x508d81
mov ecx, 0x508dd4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004e5028
mov byte [ebp - 0xe], al
jmp 0x508d81
mov ecx, 0x508df4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004e5028
mov byte [ebp - 0xe], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x508d95
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x508dbf
lea eax, [ebp - 0x14]
call fcn.00405164
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405188
ret
Function at 0x50a1ec
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055e4
mov eax, dword [ebp - 8]
call fcn.004055e4
xor eax, eax
push ebp
push 0x50a41b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00409d80
cmp dword [ebp - 0x18], 0
je 0x50a3f3
mov eax, dword [ebp - 4]
mov edx, 0x50a434
call fcn.0040558c
je 0x50a3f3
xor eax, eax
push ebp
push 0x50a3e9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x50a3d8
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4a5568]
call fcn.004747b0
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x50a2ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov edx, 0x15
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov eax, dword [ebp - 0x14]
add eax, 0xdc
mov edx, 0x50a444
call fcn.004051b8
mov eax, dword [ebp - 0x14]
add eax, 0xd0
mov edx, 0x50a454
call fcn.004051b8
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.004aa218
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x94]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x50a339
xor eax, eax
push ebp
push 0x50a363
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x50a494
mov eax, dword [ebp - 0x14]
call fcn.004a83c8
mov ebx, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x50a370
inc ebx
jne 0x50a37c
mov dword [ebp - 0x10], 0xffffffff
jmp 0x50a3ae
lea eax, [ebp - 0xc]
mov edx, 0x50a4ac
call fcn.004051fc
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.004a8070
mov eax, dword [ebp - 8]
call fcn.004055f4
push eax
call sub.kernel32.dll_DeleteFileA
mov dword [ebp - 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50a3df
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x5c]
test al, al
je 0x50a3cf
mov eax, dword [ebp - 0x14]
call fcn.00487ed8
lea eax, [ebp - 0x14]
call fcn.00410398
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50a422
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405188
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405188
ret
Function at 0x50a704
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055e4
mov eax, dword [ebp - 8]
call fcn.004055e4
xor eax, eax
push ebp
push 0x50a958
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00409d80
cmp dword [ebp - 0x1c], 0
je 0x50a930
mov eax, dword [ebp - 4]
mov edx, 0x50a974
call fcn.0040558c
je 0x50a930
xor eax, eax
push ebp
push 0x50a926
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0040a750
test al, al
je 0x50a78d
mov eax, dword [ebp - 8]
call fcn.004055f4
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
push ebp
push 0x50a915
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4a5568]
call fcn.004747b0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x50a81b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov edx, 0x15
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov eax, dword [ebp - 0x10]
add eax, 0xdc
mov edx, 0x50a984
call fcn.004051b8
mov eax, dword [ebp - 0x10]
add eax, 0xd0
mov edx, 0x50a994
call fcn.004051b8
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.004aa218
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x94]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x50a867
mov edx, 0x50a9d4
mov eax, dword [ebp - 0x10]
call fcn.004a83c8
xor eax, eax
push ebp
push 0x50a8c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41b604]
call fcn.00404218
mov dword [ebp - 0x14], eax
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004a6eb0
mov edx, 0x50a9ec
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x18], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50a8cd
lea eax, [ebp - 0x14]
call fcn.00410398
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50a95f
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00405188
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405188
ret
Function at 0x514de8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffec
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004055e4
mov eax, dword [ebp - 8]
call fcn.004055e4
xor eax, eax
push ebp
push 0x514eeb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x20
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x41b828]
call fcn.00420728
mov dword [ebp - 0xc], eax
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41b828]
call fcn.00420728
mov dword [ebp - 0x10], eax
mov eax, dword [0x520dc4]
mov edx, dword [ebp + 8]
mov dword [eax], edx
xor edx, edx
push ebp
push 0x514ec9
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x1014]
mov ecx, 0x1000
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x14]
test esi, esi
jle 0x514e91
lea ebx, [ebp - 0x1014]
mov eax, pe_nt_image_headers32
call fcn.00403420
xor byte [ebx], al
inc ebx
dec esi
jne 0x514e81
lea edx, [ebp - 0x1014]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x10]
cmp dword [ebp - 0x14], 0x1000
jge 0x514e5e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x514ed0
mov eax, dword [ebp - 0xc]
call fcn.00404248
mov eax, dword [ebp - 0x10]
call fcn.00404248
ret

Function at 0x514f2c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov esi, ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x514fd9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x44
call fcn.00403a0c
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0x514ff0
push esi
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.004054f8
mov eax, dword [ebp - 0x58]
call fcn.004055f4
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x514fc0
mov ecx, 0x514ffc
mov dl, 1
mov eax, dword [0x408bf4]
call fcn.0040e6c0
call fcn.00404abc
mov ebx, dword [ebp - 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x514fe0
lea eax, [ebp - 0x58]
call fcn.00405164
ret
Function at 0x1002818b
Capabilities:
Terminate process

Disassembly:
jmp 0x1002d480
jmp fcn.1002f690
cmp ecx, dword [section..data]
jne 0x1002d48a
repz ret
jmp 0x100285fa

Function at 0x100289dd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x10068d00
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10068d30
invalid
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10068a42
je 0x10068d94
salc
js 0x10068d12
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid
cld
invalid
Function at 0x4028a4
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 0x4028d3
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.00403b10
jmp 0x4028f1
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.0040282c
mov edi, eax
test ebx, ebx
je 0x4028f1
cmp dword [esi], 0
je 0x4028f1
dec ebx
jmp 0x4028da
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402c80
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 0x402d18
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402cf8
xor eax, eax
push ebp
push 0x402cf1
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 0x402d34
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 0x402cf8
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 0x4039e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026d4
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x48d041], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4039a8
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x404ec0
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 0x405078
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404f21
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405094
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404f8e
xor eax, eax
push ebp
push 0x404f87
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]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404f70
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4050b4
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 0x404f8e
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 0x40506f
cmp byte [ebp - 0xd], 0
jne 0x404fd0
cmp byte [ebp - 0x12], 0
je 0x40506f
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404fe9
dec ebx
cmp byte [ebx], 0x2e
je 0x404ff8
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404fe8
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40506f
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405025
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 0x40506f
cmp byte [ebp - 0xd], 0
je 0x40506f
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 0x40506f
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 0x40a93c
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 0x40a975
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403b10
jmp 0x40a97e
mov eax, ebx
mov edx, esi
call fcn.00403ac4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40a988
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 0x40a9a9
mov al, byte [esp]
jmp 0x40a9ab
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x414800
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 0x414815
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x416758
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 0x41675e
ret

Function at 0x418ef8
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 0x418f49
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x418f30
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x418f20
jmp 0x418f49
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 0x418f31
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428f90
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x42901a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
jne 0x429001
mov eax, dword [0x48c398]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x428fcf
push ebx
push 0x429028
call fcn.0042cec0
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 0x428ffd
lea edx, [ebp - 4]
mov eax, dword [0x48c108]
call fcn.00405214
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x407344]
call fcn.0040b07c
call fcn.004034a0
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429021
lea eax, [ebp - 4]
call fcn.00403a2c
ret

Function at 0x429048
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.00428f90
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4290ba
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x42908e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403be0
jmp 0x429095
mov eax, ebx
call fcn.00403a2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4290c1
cmp dword [ebp - 8], 0
je 0x4290b1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.00428f64
ret

Function at 0x4290c8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4291a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00428f90
xor edx, edx
push ebp
push 0x429189
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x429152
mov edx, ebx
mov eax, dword [0x41622c]
call fcn.0041a7dc
test al, al
je 0x429142
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.0041a6b0
call fcn.00403540
jmp 0x429190
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42910d
lea edx, [ebp - 8]
mov eax, dword [0x48c17c]
call fcn.00405214
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x407344]
call fcn.0040b07c
call fcn.004034a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429190
mov eax, dword [ebp - 4]
call fcn.00428f64
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4291ad
lea eax, [ebp - 8]
call fcn.00403a2c
ret
Function at 0x4291b4
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.00428f90
xor eax, eax
push ebp
push 0x42920c
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 0x429213
mov eax, dword [ebp - 4]
call fcn.00428f64
ret

Function at 0x42921c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00428f90
xor edx, edx
push ebp
push 0x429271
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429278
mov eax, dword [ebp - 4]
call fcn.00428f64
ret

Function at 0x4292e8
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00428f90
xor eax, eax
push ebp
push 0x42935d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00428f48
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0041a7b0
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x429347
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429364
mov eax, dword [ebp - 4]
call fcn.00428f64
ret

Function at 0x42936c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00428f90
xor eax, eax
push ebp
push 0x4293e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00428f48
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4293cb
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4293e8
mov eax, dword [ebp - 4]
call fcn.00428f64
ret