joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001c80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [0x1004100c]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
mov word [esp + 0xb], 0x6573
mov dword [esp + 0xe], 0x6c646e61
mov word [esp + 0x12], 0x65
mov word [esp + 8], 0x6c43
mov byte [esp + 0xd], 0x48
mov byte [esp + 0xa], 0x6f
call fcn.100017e0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001ce2
push esi
call eax
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10005060
add esp, 0x14
ret
mov ecx, dword [esp + 0x14]
xor eax, eax
pop esi
xor ecx, esp
call fcn.10005060
add esp, 0x14
ret

Function at 0x10001d00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov eax, dword [0x1004100c]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
xor esi, esi
call fcn.10001840
mov edi, eax
test edi, edi
je 0x10001d69
lea eax, [esp + 8]
mov dword [esp + 0x12], 0x6e696d
push eax
push edi
mov word [esp + 0x17], 0x416e
mov word [esp + 0x14], 0x7265
mov byte [esp + 0x19], 0x64
mov word [esp + 0x11], 0x5573
mov byte [esp + 0x10], 0x49
mov byte [esp + 0x13], 0x73
mov byte [esp + 0x16], 0x41
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001d62
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.10005060
add esp, 0x18
ret

Function at 0x10001d80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov eax, dword [0x1004100c]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
lea eax, [esp + 4]
push eax
mov dword [esp + 0xa], 0x6e696d72
mov word [esp + 0x16], 0x7373
mov word [esp + 0x10], 0x5065
mov word [esp + 0x13], 0x636f
mov byte [esp + 0x18], 0
mov byte [esp + 0x12], 0x72
mov word [esp + 0xe], 0x7461
mov word [esp + 8], 0x6554
mov byte [esp + 0x15], 0x65
call fcn.100017e0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001df9
push dword [esp + 0x24]
push esi
call eax
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.10005060
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
pop esi
xor ecx, esp
call fcn.10005060
add esp, 0x18
ret

Function at 0x10001e10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [0x1004100c]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, dword [esp + 0x24]
lea eax, [esp + 4]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x28]
push eax
mov word [esp + 0x13], 0x6372
mov word [esp + 0x18], 0x41
mov word [esp + 0x10], 0x736c
mov byte [esp + 0x12], 0x74
mov word [esp + 0x15], 0x7970
mov byte [esp + 0x17], 0x6e
call fcn.100017e0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001e7f
push ebx
push edi
push esi
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10005060
add esp, 0x14
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10005060
add esp, 0x14
ret
Function at 0x10001f90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [0x1004100c]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x24]
push eax
mov dword [esp + 0x11], 0x4169706d
mov dword [esp + 0xd], 0x63727473
mov byte [esp + 0x15], 0
mov byte [esp + 0xc], 0x6c
call fcn.100017e0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001fec
push edi
push esi
call eax
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10005060
add esp, 0x14
ret
mov ecx, dword [esp + 0x18]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.10005060
add esp, 0x14
ret

Function at 0x10002000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [0x1004100c]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x24]
push eax
mov word [esp + 0x16], 0x63
mov dword [esp + 0x11], 0x6c6c416c
mov dword [esp + 0xd], 0x61626f6c
mov byte [esp + 0x15], 0x6f
mov byte [esp + 0xc], 0x47
call fcn.100017e0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10002063
push edi
push esi
call eax
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10005060
add esp, 0x14
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.10005060
add esp, 0x14
ret

Function at 0x10002080
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [0x1004100c]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
mov word [esp + 0x11], 0x65
mov word [esp + 0xb], 0x6162
mov word [esp + 0xe], 0x7246
mov byte [esp + 0x10], 0x65
mov word [esp + 8], 0x6c47
mov byte [esp + 0xd], 0x6c
mov byte [esp + 0xa], 0x6f
call fcn.100017e0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100020e6
push esi
call eax
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10005060
add esp, 0x14
ret
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10005060
add esp, 0x14
ret

Function at 0x10002150
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [0x1004100c]
xor eax, esp
mov dword [esp + 0x10], eax
lea eax, [esp]
mov word [esp + 0xa], 0x746e
push eax
mov dword [esp + 5], 0x69547465
mov dword [esp + 9], 0x6f436b63
mov byte [esp + 0xd], 0x75
mov byte [esp + 0x10], 0
mov byte [esp + 4], 0x47
call fcn.100017e0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100021a9
call eax
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10005060
add esp, 0x14
ret
mov ecx, dword [esp + 0x10]
xor eax, eax
xor ecx, esp
call fcn.10005060
add esp, 0x14
ret
Function at 0x100021c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [0x1004100c]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
mov dword [esp + 9], 0x4c64616f
mov dword [esp + 0x11], 0x417972
mov dword [esp + 0xd], 0x61726269
mov byte [esp + 8], 0x4c
call fcn.100017e0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10002218
push esi
call eax
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10005060
add esp, 0x14
ret
mov ecx, dword [esp + 0x14]
xor eax, eax
pop esi
xor ecx, esp
call fcn.10005060
add esp, 0x14
ret

Function at 0x10002410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10035950
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1004100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 3
push 0
push 0
push 0x80000000
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.1001bd50
push eax
call fcn.10001a40
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x1000253c
push 0
push edi
mov dword [ebp - 0x18], 0
call fcn.10001af0
mov esi, eax
add esp, 8
test esi, esi
je 0x1000253c
push esi
call fcn.1000509b
push 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push ecx
push esi
push eax
push edi
call fcn.10001bf0
push edi
call fcn.10001c80
push esi
call fcn.1000509b
add esp, 0x20
xor edi, edi
mov ebx, eax
test esi, esi
je 0x100024dc
mov eax, dword [ebp - 0x1c]
sub eax, ebx
mov dword [ebp - 0x14], eax
nop
mov eax, edi
lea ecx, [edi + ebx]
cdq
inc edi
idiv dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov al, byte [edx + eax]
mov edx, dword [ebp - 0x14]
xor al, byte [edx + ecx]
mov byte [ecx], al
cmp edi, esi
jb 0x100024c0
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp + 0xc]
call fcn.1001bd50
push eax
call fcn.10001a40
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x10002533
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push esi
push ebx
push edi
call fcn.10001f10
push edi
call fcn.10001c80
push dword [ebp - 0x1c]
call fcn.100050a4
push ebx
call fcn.100050a4
add esp, 0x20
mov bl, 1
jmp 0x1000253e
push ebx
call fcn.100050a4
add esp, 4
xor bl, bl
lea ecx, [ebp + 8]
call fcn.10003540
lea ecx, [ebp + 0xc]
call fcn.10003540
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10005060
mov esp, ebp
pop ebp
ret
Function at 0x10002570
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x830
mov eax, dword [0x1004100c]
xor eax, esp
mov dword [esp + 0x82c], eax
mov eax, dword [esp + 0x840]
mov dword [0x10041a04], eax
mov eax, dword [esp + 0x83c]
mov dword [0x10041a08], eax
mov eax, dword [esp + 0x838]
push 0x400
mov dword [0x10041a0c], eax
lea eax, [esp + 0x430]
push 0
push eax
call fcn.10006cd0
lea eax, [esp + 0x438]
push eax
call fcn.10002320
push 0x400
lea eax, [esp + 0x40]
push 0
push eax
call fcn.10006cd0
lea eax, [esp + 0x48]
push eax
call fcn.10002320
add esp, 0x20
mov dword [esp + 0x24], 0x336b65
lea eax, [esp + 4]
mov dword [esp + 0xc], 0x62753733
mov dword [esp + 0x1d], 0x69657465
mov dword [esp + 0x14], 0x6b746d34
push 0x23
push eax
push ecx
lea eax, [esp + 0x38]
mov word [esp + 0x16], 0x3063
mov ecx, esp
mov word [esp + 0x13], 0x306f
push eax
mov dword [esp + 0x28], 0x766b6c77
mov word [esp + 0x32], 0x3439
mov word [esp + 0x14], 0x7a65
mov dword [esp + 0x20], 0x64657578
mov byte [esp + 0x31], 0x66
mov byte [esp + 0x16], 0x75
mov byte [esp + 0x19], 0x61
mov byte [esp + 0x2c], 0x34
call fcn.10003360
push ecx
lea eax, [esp + 0x43c]
mov ecx, esp
push eax
call fcn.10003360
call fcn.10002410
mov ecx, dword [esp + 0x83c]
add esp, 0x10
xor ecx, esp
call fcn.10005060
add esp, 0x830
ret

Function at 0x100042a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100042b3
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100042f6
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x100042f2
nop dword [eax + eax]
cmp esi, edx
jae 0x100042f6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x100042e0
cmp esi, edx
jb 0x100042fa
xor eax, eax
pop esi
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
ret

Function at 0x10020dce
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10020638

Function at 0x10020dd9
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10020873

Function at 0x1002dfbf
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002ddf9
Function at 0x403206
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x403226
cmp dword [edi + 0x54], 0
jne 0x403226
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040511d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004031cd
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x40a1f7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40a23a
call fcn.0040511d
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40a23a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40a255
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00409dae
test ebx, ebx
mov esi, eax
je 0x40a253
test edi, edi
je 0x40a253
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40e454
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42dbf8]
jne 0x40e45e
repz ret
jmp fcn.0041222a
Function at 0x402930
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x40296d
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 + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x40298d
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404638
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x4034e8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x469020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403580
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403560
xor eax, eax
push ebp
push 0x403559
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 0x40359c
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 0x403560
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x469020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x469020], ax
mov esp, ebp
pop ebp
ret

Function at 0x40424c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46b04c], 0
je 0x4042ad
cmp word [0x46b220], 0xd7b2
jne 0x404275
cmp dword [0x46b228], 0
jbe 0x404275
mov eax, 0x46b21c
call dword [0x46b238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x469098
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4042d4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x469030], 0
jne 0x4042c9
push 0
push 0x469090
push 0x469098
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40621c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406282
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404638
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d38
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40626c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406289
lea eax, [ebp - 0x10]
call fcn.004043c8
ret

Function at 0x40b5bc
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 0x40b5f5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004044b8
jmp 0x40b5fe
mov eax, ebx
mov edx, esi
call fcn.0040441c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b608
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 0x40b629
mov al, byte [esp]
jmp 0x40b62b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bcb0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bb28
mov eax, dword [0x46a42c]
cmp byte [eax], 0
je 0x40bd2c
mov eax, dword [0x46a22c]
call fcn.00402b68
call fcn.004028bc
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408de8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40bd74
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bd62
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46a1d8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46b668]
call fcn.00405714
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c61c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c6f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404460
lea eax, [ebp - 8]
call fcn.004048d8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404888
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c6dc
mov eax, ebx
call fcn.00402754
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c6d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404888
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c6bf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c704
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c6bf
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6dc
mov eax, dword [ebp - 0x10]
call fcn.00402774
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6f9
lea eax, [ebp - 8]
call fcn.004043c8
ret

Function at 0x40cc7c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40cce0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404638
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040888c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cce7
lea eax, [ebp - 0xc]
call fcn.004043c8
ret

Function at 0x41e540
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46b888
cmp dword [edi], 0
jne 0x41e5bc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46b884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x469428
mov ecx, 2
call fcn.00402a30
mov edx, 0x41e518
lea eax, [esi + 5]
call fcn.0041e538
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041e538
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41e591
mov dword [0x46b884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41fbe0
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 0x41fbe6
ret
Function at 0x4220f0
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 0x422141
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x422128
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x422118
jmp 0x422141
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 0x422129
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c330
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404878
xor eax, eax
push ebp
push 0x42c45e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42c431
xor eax, eax
push ebp
push 0x42c42a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404688
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42c3ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x42c3ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404688
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404888
mov edx, ebx
pop ecx
call fcn.00402a30
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c3f5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x46a170]
mov dl, 1
mov eax, dword [0x4075fc]
call fcn.0040be40
call fcn.00403e04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c465
lea eax, [ebp - 4]
call fcn.004043c8
ret