joyce8/EMBER2024-capa huggingface dataset:
Function at 0x12f6a4
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x12f6ac
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0001415c
xor eax, eax
push ebp
push 0x12f899
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
push dword [ebp - 4]
push 0x12f8b0
push 0x12f8bc
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00014068
mov eax, dword [ebp - 0x18]
call fcn.0001416c
push eax
push 0x80000003
call sub.advapi32.dll_RegOpenKeyExA_1
mov esi, eax
test esi, esi
jne 0x12f7f6
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x12f8f8
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov esi, eax
test esi, esi
jne 0x12f7c2
cmp dword [ebp - 8], 4
jne 0x12f7c2
cmp dword [ebp - 0x10], 1
jne 0x12f828
xor eax, eax
mov dword [ebp - 0x10], eax
push 4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0x12f8f8
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
mov esi, eax
mov bl, 1
test esi, esi
je 0x12f828
lea edx, [ebp - 0x24]
mov eax, esi
call fcn.00027478
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x12f90c
call fcn.00013ff4
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.000145ac
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x251144]
call fcn.001174d0
jmp 0x12f828
lea edx, [ebp - 0x30]
mov eax, esi
call fcn.00027478
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0x12f920
call fcn.00013ff4
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
call fcn.000145ac
mov edx, dword [ebp - 0x28]
mov eax, dword [0x251144]
call fcn.001174d0
jmp 0x12f828
lea edx, [ebp - 0x3c]
mov eax, esi
call fcn.00027478
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, 0x12f934
call fcn.00013ff4
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
call fcn.000145ac
mov edx, dword [ebp - 0x34]
mov eax, dword [0x251144]
call fcn.001174d0
cmp dword [ebp - 0x14], 0
je 0x12f837
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x12f8a0
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00013d3c
lea eax, [ebp - 0x34]
call fcn.000143f0
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00013d3c
lea eax, [ebp - 0x28]
call fcn.000143f0
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00013d3c
lea eax, [ebp - 0x1c]
call fcn.000143f0
lea eax, [ebp - 0x18]
call fcn.00013d18
lea eax, [ebp - 4]
call fcn.00013d18
ret
Function at 0x12f940
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x12f948
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0001415c
xor eax, eax
push ebp
push 0x12fb2e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor ebx, ebx
lea eax, [ebp - 8]
push eax
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
push dword [ebp - 4]
push 0x12fb48
push 0x12fb54
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00014068
mov eax, dword [ebp - 0x18]
call fcn.0001416c
push eax
push 0x80000003
call sub.advapi32.dll_RegOpenKeyExA_1
mov esi, eax
test esi, esi
jne 0x12fa8b
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x12fb90
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov esi, eax
test esi, esi
jne 0x12fa57
cmp dword [ebp - 0x14], 4
jne 0x12fa57
mov dword [ebp - 0x10], 1
push 4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0x12fb90
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov esi, eax
test esi, esi
jne 0x12fa23
mov bl, 1
jmp 0x12fabd
lea edx, [ebp - 0x24]
mov eax, esi
call fcn.00027478
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x12fba4
call fcn.00013ff4
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.000145ac
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x251144]
call fcn.001174d0
jmp 0x12fabd
lea edx, [ebp - 0x30]
mov eax, esi
call fcn.00027478
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0x12fbb8
call fcn.00013ff4
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
call fcn.000145ac
mov edx, dword [ebp - 0x28]
mov eax, dword [0x251144]
call fcn.001174d0
jmp 0x12fabd
lea edx, [ebp - 0x3c]
mov eax, esi
call fcn.00027478
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, 0x12fbcc
call fcn.00013ff4
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
call fcn.000145ac
mov edx, dword [ebp - 0x34]
mov eax, dword [0x251144]
call fcn.001174d0
cmp dword [ebp - 8], 0
je 0x12facc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x12fb35
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00013d3c
lea eax, [ebp - 0x34]
call fcn.000143f0
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00013d3c
lea eax, [ebp - 0x28]
call fcn.000143f0
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00013d3c
lea eax, [ebp - 0x1c]
call fcn.000143f0
lea eax, [ebp - 0x18]
call fcn.00013d18
lea eax, [ebp - 4]
call fcn.00013d18
ret
Function at 0x61dd47c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
xchg dword [ecx], eax
add byte [edi + 0x5e], bl
pop ebx
mov esp, ebp
pop ebp
pop eax
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x3000
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call eax
sub esp, 0x10
mov dword [0x6323002c], eax
push eax
mov eax, 0x61dd4886
push eax
ret

Function at 0x61e76b60
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x61e76bc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x63230068]
test esi, esi
jle 0x61e76ce0
mov eax, dword [0x6323006c]
xor ecx, ecx
add eax, 0xc

Function at 0x61e77020
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x63230078
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x63230070]
sub esp, 4
test ebx, ebx
je 0x61e77075
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x61e7706e
test esi, esi
je 0x61e7706e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x61e77050
mov dword [esp], 0x63230078
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x61e773b0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x61dc0000], 0x5a4d
jne 0x61e773d5
mov ecx, dword [0x61dc003c]
cmp dword [ecx + 0x61dc0000], 0x4550
lea edx, [ecx + 0x61dc0000]
je 0x61e773e0
ret
cmp word [ecx + 0x61dc0018], 0x10b
jne 0x61e773d5
push esi
movzx eax, word [ecx + 0x61dc0014]
push ebx
movzx esi, word [ecx + 0x61dc0006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x61dc0000
test si, si
je 0x61e77428
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x61e7741e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x61e7742a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x61e77410
xor eax, eax
pop ebx
pop esi
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x403140
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x27], 0
je 0x403162
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x45]
inc eax
xor byte [edx], cl
cmp eax, 0x26
jb 0x403150
mov byte [esi + 0x27], 0
pop esi
ret

Function at 0x403170
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xb], 0
je 0x403192
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x45]
inc eax
xor byte [edx], cl
cmp eax, 0xa
jb 0x403180
mov byte [esi + 0xb], 0
pop esi
ret

Function at 0x404f80
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x404fcc
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x404faf
cmp edi, 2
jb 0x404faf
cmp byte [esi], cl
jne 0x404faf
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x48c860]
test edi, edi
jne 0x404f95
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x404ffb
cmp cl, 0x23
jne 0x404fe2
cmp byte [esi], cl
jne 0x404fe2
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x48c860]
test cl, cl
jne 0x404fd3
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x4050e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
je 0x4050f4
mov dword [eax], 0
mov edx, 0x48c6b0
call fcn.00405010
mov edi, eax
test edi, edi
je 0x4051d1
push edi
call fcn.00459899
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x4051c8
push 2
push 0
push edi
call fcn.0045a1e3
add esp, 0xc
test eax, eax
jne 0x4051c8
push edi
call fcn.00459899
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x4051c8
push 0
push esi
push edi
call fcn.0045a1e3
add esp, 0xc
test eax, eax
jne 0x4051c8
cmp ebx, 0xffffffff
je 0x4051c8
mov eax, dword [0x4b4ca8]
test eax, eax
je 0x405169
inc dword [eax + 0x370]
push ebx
call fcn.0046180a
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x4051c8
push edi
push ebx
push 1
push eax
call fcn.0045ce40
push edi
mov esi, eax
call fcn.00459e88
add esp, 0x14
cmp esi, ebx
je 0x4051b5
mov eax, dword [0x4b4ca8]
test eax, eax
je 0x4051a1
dec dword [eax + 0x370]
push dword [ebp - 4]
call fcn.0045cc3f
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
test eax, eax
je 0x4051be
mov dword [eax], ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.00459e88
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ab90
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x40abcd
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x40abb3
cmp byte [esi], bl
jne 0x40abb3
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x48c860]
test bl, bl
jne 0x40aba4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0040ab20
Function at 0x40f310
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4b4ca8]
lea edx, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1b9c]
mov esi, 4
mov eax, dword [edi + 0xcc]
add edi, 0xc4
mov dword [ebp - 4], ecx
mov ebx, dword [edi]
mov dword [ebp - 8], ebx
mov ebx, dword [eax + ebx*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x48c860]
sub esi, 1
jne 0x40f346
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [ebp - 8]
cmp ecx, esi
jne 0x40f390
inc ecx
test esi, esi
je 0x40f37c
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x40f381
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.004151b0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413d30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x2eec], 0
lea esi, [edi + 0x2ef0]
je 0x413db1
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x413d6c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.004154b0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00405530
mov edx, dword [esi]
mov ecx, 0x4b4ca4
push dword [edi + 0x2eec]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2ef8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call fcn.0045aa33
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00405530
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41cf60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41cf96
mov eax, dword [0x4b4ca8]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x41cf86
dec dword [eax + 0x370]
push ecx
call fcn.0045cc3f
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41cfca
mov eax, dword [0x4b4ca8]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x41cfba
dec dword [eax + 0x370]
push ecx
call fcn.0045cc3f
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41cffe
mov eax, dword [0x4b4ca8]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x41cfee
dec dword [eax + 0x370]
push ecx
call fcn.0045cc3f
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x41d04e
mov eax, dword [0x4b4ca8]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x41d03e
dec dword [eax + 0x370]
push ecx
call fcn.0045cc3f
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x41d082
mov eax, dword [0x4b4ca8]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x41d072
dec dword [eax + 0x370]
push ecx
call fcn.0045cc3f
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x41d0b6
mov eax, dword [0x4b4ca8]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x41d0a6
dec dword [eax + 0x370]
push ecx
call fcn.0045cc3f
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0041f870
Function at 0x4291a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c2da
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.0043c22f
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x42922d
push eax
push esi
call fcn.0043c710
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
lea ecx, [ebp - 0x1c]
call fcn.00429140
push 0x4996d4
lea eax, [ebp - 0x1c]
push eax
call fcn.00455a47
int3

Function at 0x429cf0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 5], 0
je 0x429d12
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x43]
inc eax
xor byte [edx], cl
cmp eax, 4
jb 0x429d00
mov byte [esi + 5], 0
mov eax, esi
pop esi
ret

Function at 0x429d50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 4], edx
mov ebx, ecx
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x429de7
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [ebp - 0x130]
push eax
push esi
call edi
test eax, eax
je 0x429de7
nop dword [eax]
mov eax, ebx
lea ecx, [ebp - 0x10c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x429dc8
test dl, dl
je 0x429dc4
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x429dc8
add ecx, 2
add eax, 2
test dl, dl
jne 0x429da8
xor eax, eax
jmp 0x429dcd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x429dd9
cmp dword [ebp - 0x11c], eax
ja 0x429df0
lea eax, [ebp - 0x130]
push eax
push esi
call edi
test eax, eax
jne 0x429da0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x128]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x42a200
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x40], 0
je 0x42a222
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x43]
inc eax
xor byte [edx], cl
cmp eax, 0x3f
jb 0x42a210
mov byte [esi + 0x40], 0
mov eax, esi
pop esi
ret
Function at 0x42a500
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push esi
push edi
push 0x40
push 0x1000
push 0x1000
push 0
mov esi, edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
jne 0x42a525
pop edi
xor al, al
pop esi
ret 4
movups xmm0, xmmword [0x4b51a4]
push 0x1c
push esi
movups xmmword [edi], xmm0
push 1
movq xmm0, qword [0x4b51b4]
movq qword [edi + 0x10], xmm0
mov eax, dword [0x4b51bc]
mov dword [edi + 0x18], eax
mov ax, word [0x4b51c0]
mov word [edi + 0x1c], ax
call edi
push 0x1000
push 0
push edi
mov esi, eax
call fcn.004565c0
add esp, 0xc
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
test esi, esi
pop edi
setg al
pop esi
ret 4
Function at 0x42a580
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [0x4b50f4]
cmp ecx, 1
jne 0x42a592
mov dword [0x4b51e8], ecx
ret
cmp ecx, 2
jne 0x42a59e
mov dword [0x4b51e8], ecx
ret
cmp ecx, 3
jne 0x42a5ae
mov dword [0x4b51e8], 4
ret
cmp ecx, 4
jne 0x42a5be
mov dword [0x4b51e8], 5
ret
cmp ecx, 5
jne 0x42a5ce
mov dword [0x4b51e8], 6
ret
cmp ecx, 6
jne 0x42a5de
mov dword [0x4b51e8], 3
ret
cmp ecx, 7
jne 0x42a5ee
mov dword [0x4b51e8], 8
ret
cmp ecx, 8
jne 0x42a5fe
mov dword [0x4b51e8], 9
ret
cmp ecx, 9
jne 0x42a60e
mov dword [0x4b51e8], 0xc
ret
cmp ecx, 0xa
je 0x42a81c
cmp ecx, 0xb
jne 0x42a627
mov dword [0x4b51e8], 0x10
ret
cmp ecx, 0xc
jne 0x42a637
mov dword [0x4b51e8], 0x11
ret
cmp ecx, 0xd
jne 0x42a647
mov dword [0x4b51e8], 0x12
ret
cmp ecx, 0xe
jne 0x42a657
mov dword [0x4b51e8], 0x14
ret
cmp ecx, 0xf
jne 0x42a667
mov dword [0x4b51e8], 0x1b
ret
cmp ecx, 0x10
jne 0x42a677
mov dword [0x4b51e8], 0x20
ret
cmp ecx, 0x11
jne 0x42a687
mov dword [0x4b51e8], 0x41
ret
cmp ecx, 0x12
jne 0x42a697
mov dword [0x4b51e8], 0x42
ret
cmp ecx, 0x13
jne 0x42a6a7
mov dword [0x4b51e8], 0x43
ret
cmp ecx, 0x14
jne 0x42a6b7
mov dword [0x4b51e8], 0x44
ret
cmp ecx, 0x15
jne 0x42a6c7
mov dword [0x4b51e8], 0x45
ret
cmp ecx, 0x16
jne 0x42a6d7
mov dword [0x4b51e8], 0x46
ret
cmp ecx, 0x17
jne 0x42a6e7
mov dword [0x4b51e8], 0x47
ret
cmp ecx, 0x18
jne 0x42a6f7
mov dword [0x4b51e8], 0x48
ret
cmp ecx, 0x19
jne 0x42a707
mov dword [0x4b51e8], 0x49
ret
cmp ecx, 0x1a
jne 0x42a717
mov dword [0x4b51e8], 0x4a
ret
cmp ecx, 0x1b
jne 0x42a727
mov dword [0x4b51e8], 0x4b
ret
cmp ecx, 0x1c
jne 0x42a737
mov dword [0x4b51e8], 0x4c
ret
cmp ecx, 0x1d
jne 0x42a747
mov dword [0x4b51e8], 0x4d
ret
cmp ecx, 0x1e
jne 0x42a757
mov dword [0x4b51e8], 0x4e
ret
cmp ecx, 0x1f
jne 0x42a767
mov dword [0x4b51e8], 0x4f
ret
cmp ecx, 0x20
jne 0x42a777
mov dword [0x4b51e8], 0x50
ret
cmp ecx, 0x21
jne 0x42a787
mov dword [0x4b51e8], 0x51
ret
cmp ecx, 0x22
jne 0x42a797
mov dword [0x4b51e8], 0x52
ret
cmp ecx, 0x23
jne 0x42a7a7
mov dword [0x4b51e8], 0x53
ret
cmp ecx, 0x24
jne 0x42a7b7
mov dword [0x4b51e8], 0x54
ret
cmp ecx, 0x25
jne 0x42a7c7
mov dword [0x4b51e8], 0x55
ret
cmp ecx, 0x26
jne 0x42a7d7
mov dword [0x4b51e8], 0x56
ret
cmp ecx, 0x27
jne 0x42a7e7
mov dword [0x4b51e8], 0x57
ret
cmp ecx, 0x28
jne 0x42a7f7
mov dword [0x4b51e8], 0x58
ret
cmp ecx, 0x29
jne 0x42a807
mov dword [0x4b51e8], 0x59
ret
mov eax, dword [0x4b51e8]
cmp ecx, 0x2a
mov edx, 0x5a
cmove eax, edx
mov dword [0x4b51e8], eax
ret
Function at 0x42a820
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [0x4b20d4]
cmp ecx, 1
jne 0x42a832
mov dword [0x4b50dc], ecx
ret
cmp ecx, 2
jne 0x42a83e
mov dword [0x4b50dc], ecx
ret
cmp ecx, 3
jne 0x42a84e
mov dword [0x4b50dc], 4
ret
cmp ecx, 4
jne 0x42a85e
mov dword [0x4b50dc], 5
ret
cmp ecx, 5
jne 0x42a86e
mov dword [0x4b50dc], 6
ret
cmp ecx, 6
jne 0x42a87e
mov dword [0x4b50dc], 3
ret
cmp ecx, 7
jne 0x42a88e
mov dword [0x4b50dc], 8
ret
cmp ecx, 8
jne 0x42a89e
mov dword [0x4b50dc], 9
ret
cmp ecx, 9
jne 0x42a8ae
mov dword [0x4b50dc], 0xc
ret
cmp ecx, 0xa
je 0x42aabc
cmp ecx, 0xb
jne 0x42a8c7
mov dword [0x4b50dc], 0x10
ret
cmp ecx, 0xc
jne 0x42a8d7
mov dword [0x4b50dc], 0x11
ret
cmp ecx, 0xd
jne 0x42a8e7
mov dword [0x4b50dc], 0x12
ret
cmp ecx, 0xe
jne 0x42a8f7
mov dword [0x4b50dc], 0x14
ret
cmp ecx, 0xf
jne 0x42a907
mov dword [0x4b50dc], 0x1b
ret
cmp ecx, 0x10
jne 0x42a917
mov dword [0x4b50dc], 0x20
ret
cmp ecx, 0x11
jne 0x42a927
mov dword [0x4b50dc], 0x41
ret
cmp ecx, 0x12
jne 0x42a937
mov dword [0x4b50dc], 0x42
ret
cmp ecx, 0x13
jne 0x42a947
mov dword [0x4b50dc], 0x43
ret
cmp ecx, 0x14
jne 0x42a957
mov dword [0x4b50dc], 0x44
ret
cmp ecx, 0x15
jne 0x42a967
mov dword [0x4b50dc], 0x45
ret
cmp ecx, 0x16
jne 0x42a977
mov dword [0x4b50dc], 0x46
ret
cmp ecx, 0x17
jne 0x42a987
mov dword [0x4b50dc], 0x47
ret
cmp ecx, 0x18
jne 0x42a997
mov dword [0x4b50dc], 0x48
ret
cmp ecx, 0x19
jne 0x42a9a7
mov dword [0x4b50dc], 0x49
ret
cmp ecx, 0x1a
jne 0x42a9b7
mov dword [0x4b50dc], 0x4a
ret
cmp ecx, 0x1b
jne 0x42a9c7
mov dword [0x4b50dc], 0x4b
ret
cmp ecx, 0x1c
jne 0x42a9d7
mov dword [0x4b50dc], 0x4c
ret
cmp ecx, 0x1d
jne 0x42a9e7
mov dword [0x4b50dc], 0x4d
ret
cmp ecx, 0x1e
jne 0x42a9f7
mov dword [0x4b50dc], 0x4e
ret
cmp ecx, 0x1f
jne 0x42aa07
mov dword [0x4b50dc], 0x4f
ret
cmp ecx, 0x20
jne 0x42aa17
mov dword [0x4b50dc], 0x50
ret
cmp ecx, 0x21
jne 0x42aa27
mov dword [0x4b50dc], 0x51
ret
cmp ecx, 0x22
jne 0x42aa37
mov dword [0x4b50dc], 0x52
ret
cmp ecx, 0x23
jne 0x42aa47
mov dword [0x4b50dc], 0x53
ret
cmp ecx, 0x24
jne 0x42aa57
mov dword [0x4b50dc], 0x54
ret
cmp ecx, 0x25
jne 0x42aa67
mov dword [0x4b50dc], 0x55
ret
cmp ecx, 0x26
jne 0x42aa77
mov dword [0x4b50dc], 0x56
ret
cmp ecx, 0x27
jne 0x42aa87
mov dword [0x4b50dc], 0x57
ret
cmp ecx, 0x28
jne 0x42aa97
mov dword [0x4b50dc], 0x58
ret
cmp ecx, 0x29
jne 0x42aaa7
mov dword [0x4b50dc], 0x59
ret
mov eax, dword [0x4b50dc]
cmp ecx, 0x2a
mov edx, 0x5a
cmove eax, edx
mov dword [0x4b50dc], eax
ret