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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
cmp dword [sym.WMIADAP.exe_unsigned_long_int_CRegistry::s_dwPlatform], 2
mov ecx, dword [ebp + 0x10]
mov eax, dword [0x10309f4]
mov edx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x20]
push ebx
push edi
push esi
mov dword [ebp - 0x210], ecx
mov ecx, dword [ebp + 0x14]
push edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ecx
jne 0x101e4ae
push dword [ebp - 0x210]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x101e53f
lea ecx, [ebp - 0x20c]
push ecx
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
mov dword [ebp - 0x214], eax
jne 0x101e539
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.msvcrt.dll_mbstowcs]
mov esi, dword [esi]
add esp, 0xc
cmp esi, 1
je 0x101e4fa
cmp esi, 7
jne 0x101e539
push edi
push 0x208
lea eax, [ebp - 0x20c]
push eax
call fcn.0101cf13
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.msvcrt.dll_mbstowcs]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebx], eax
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01014c6a
leave
ret 0x20

Function at 0x101e937
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x52c
mov edx, dword [ebp + 0xc]
mov eax, dword [0x10309f4]
push ebx
mov dword [ebp - 0x528], edx
lea edx, [ebp - 0x524]
push edx
lea edx, [ebp - 0x318]
push edx
lea edx, [ebp - 0x52c]
push edx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
push ebx
push ecx
push dword [eax + 4]
mov dword [ebp - 0x52c], 3
mov dword [ebp - 0x524], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x101ea1d
push esi
push 0x1004b98
mov esi, 0x106
push esi
lea eax, [ebp - 0x210]
push eax
call fcn.01009e2c
cmp dword [ebp - 0x524], ebx
jbe 0x101e9f6
movzx eax, byte [ebp + ebx - 0x318]
push eax
push 0x1004c04
lea eax, [ebp - 0x520]
push 0x104
push eax
call fcn.01005fe2
add esp, 0x10
lea eax, [ebp - 0x520]
push eax
push esi
lea eax, [ebp - 0x210]
push eax
call fcn.0101c713
inc ebx
cmp ebx, dword [ebp - 0x524]
jb 0x101e9b7
push 0x1004b98
push esi
lea eax, [ebp - 0x210]
push eax
call fcn.0101c713
mov ecx, dword [ebp - 0x528]
lea eax, [ebp - 0x210]
push eax
call fcn.01020077
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.01014c6a
leave
ret 8
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x2fa97745
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x48cf0044
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40ba92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x40bb67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0x40bb31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0x40bb5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040bb71
test eax, eax
je 0x40bb67
add ebx, 0x14
jmp 0x40bb3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8
Function at 0x40bb71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x40bddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0x40bddd
mov eax, 1
test eax, eax
je 0x40bddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x40bddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x40bdd3
mov ebx, eax
and eax, 0x80000000
jne 0x40bd4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x40bddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x40bddd
mov eax, 1
test eax, eax
je 0x40bddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x40bddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x40bca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x40bddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x40bb67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x40bddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x40bca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0x40be9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0x40bfee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x40bfee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.0040bff8
test eax, eax
je 0x40bfee
add ebx, 0x28
dec ecx
jne 0x40bfc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0x40c09e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x40c0c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0x40c12e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x40c0e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0x40c12e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x40c105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0x40c12e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x40c123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0x40c12e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x40c16b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10
Function at 0x40c172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x40c1a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x40c1a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x40cdff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.0040cf04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.0040cf20
push edx
push dword [ebp + 0x10]
push eax
call fcn.0040ceec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0040cf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0040cecb
push ecx
push dword [ebp + 8]
call fcn.0040cf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0040cf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0040cecb
push ecx
push dword [ebp + 8]
call fcn.0040cf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0040cf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0040cecb
push ecx
push dword [ebp + 8]
call fcn.0040cf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0040cf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0040cecb
cmp ecx, 0x2b
jne 0x40ce0f
leave
ret 0xc

Function at 0x40e4b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x40e544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x3010
push 0
call dword [eax + 0x20]
test eax, eax
je 0x40e5d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x3010
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x3010
call fcn.0040e3fa
push 0x3010
push dword [ebp + 0xc]
call fcn.0040c1a8
test eax, eax
jne 0x40e5b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x3010
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.0040e5dd
test eax, eax
je 0x40e5d6
jmp 0x40e574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x40e5d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x40e60b
Capabilities:
Terminate process

Disassembly:
call fcn.0040e618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x401abb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45b090]
jne 0x401ac5
repz ret
jmp fcn.004029b8

Function at 0x40b545
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407895
and dword [ebp - 4], 0
cmp dword [0x45d2f8], 0
mov ebx, eax
jne 0x40b5f6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b6a7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b6a7
push eax
call fcn.00407823
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45d2f8], eax
call esi
push eax
call fcn.00407823
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45d2fc], eax
call esi
push eax
call fcn.00407823
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45d300], eax
call esi
push eax
call fcn.00407823
pop ecx
mov dword [0x45d308], eax
test eax, eax
je 0x40b5f6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00407823
pop ecx
mov dword [0x45d304], eax
mov eax, dword [0x45d304]
cmp eax, ebx
je 0x40b64e
cmp dword [0x45d308], ebx
je 0x40b64e
push eax
call fcn.0040789e
push dword [0x45d308]
mov esi, eax
call fcn.0040789e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b64e
test edi, edi
je 0x40b64e
call esi
test eax, eax
je 0x40b645
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b645
test byte [ebp - 0xc], 1
jne 0x40b64e
or dword [ebp + 0x10], 0x200000
jmp 0x40b687
mov eax, dword [0x45d2fc]
cmp eax, ebx
je 0x40b687
push eax
call fcn.0040789e
pop ecx
test eax, eax
je 0x40b687
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b687
mov eax, dword [0x45d300]
cmp eax, ebx
je 0x40b687
push eax
call fcn.0040789e
pop ecx
test eax, eax
je 0x40b687
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45d2f8]
call fcn.0040789e
pop ecx
test eax, eax
je 0x40b6a7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b6a9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d84b
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x45b090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [0x1bd392c], 0x930
jne 0x40d880
push str.farowufa
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x1bd392c], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x1bd3648], eax
jne 0x40d8b7
push esi
lea eax, [ebp - 0x804]
push eax
push esi
call sub.KERNEL32.dll_VerLanguageNameW
lea eax, [ebp - 0x820]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401abb
leave
ret
Function at 0x426350
Capabilities:
Encode data using xor

Disassembly:
sub al, 0x26
xor dword cs:[ebx], esi
popal
insw word es:[edi], dx
jo 0x4263cc
cmc
push edx
push ss
ljmp 0xdae6
inc edi
dec ecx
dec eax
dec eax
inc edi
aas
cmp eax, 0x5c3d
add byte [eax], bh
cmp dword [0x3e3d3d3d], edi
cmp edi, dword [edx]
xor dword [ecx], esi
xor esp, dword [ebp + 0x6c]
cmp eax, 0x313a3b3e
xor dword [ebx], esi
insb byte es:[edi], dx
outsb dx, byte [esi]
jb 0x4263dd
div edi
std
push ecx
sbb ebx, edi
cli
cmpsd dword [esi], dword es:[edi]
sbb al, byte [ebx + eax]
add eax, dword [edi + ecx]
sbb byte [esi + edx*4 + 0x47433e41], dl
inc edi
inc edi
aas
cmp eax, 0x57393d
add byte [eax], al
cmp byte [ecx], bh
cmp eax, 0x3e3d3d3d
cmp edi, dword [eax]
sub eax, 0x6d656133
jo 0x426408
hlt
Function at 0x44f769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x453190
cmp edx, dword [eax]
je 0x44f78b
add eax, 8
inc ecx
cmp eax, 0x453220
jl 0x44f77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x453190]
jne 0x44f8b9
mov eax, dword [0x453bb0]
cmp eax, 1
je 0x44f893
test eax, eax
jne 0x44f7bc
cmp dword [0x4530e4], 1
je 0x44f893
cmp edx, 0xfc
je 0x44f8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44f7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00450670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00450490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x44f836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00450490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x45245c
push edi
call fcn.00450f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00450670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00450680
lea eax, [ebp - 0xa0]
push 0x45243c
push eax
call fcn.00450680
push dword [esi + 0x453194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00450680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00450e75
add esp, 0x2c
pop edi
jmp 0x44f8b9
lea eax, [ebp + 8]
lea esi, [esi + 0x453194]
push 0
push eax
push dword [esi]
call fcn.00450490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4096a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48c80b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004812af
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409722
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047ea1a
mov eax, dword [eax]
push 0x4d9cf8
push eax
call fcn.004702c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048153a
test bl, bl
je 0x409722
push 0x4d9cf8
lea ecx, [esp + 0xc]
call fcn.004818ca
push 0x4d9d04
lea ecx, [esp + 0xc]
call fcn.004818ca
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40975e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048153a
jmp 0x409829
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4097e2
lea edx, [esp + 0x7c]
push 0x4d9d00
push edx
call fcn.004702c4
add esp, 8
test eax, eax
je 0x4097e2
lea eax, [esp + 0x7c]
push 0x4d9cfc
push eax
call fcn.004702c4
add esp, 8
test eax, eax
je 0x4097e2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x409772
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0048153a
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40a020
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40a082
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc