joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f7330
Capabilities:
Parse pe header

Disassembly:
mov al, byte [esp + 4]
movsx ecx, al
add ecx, 0xffffff9f
cmp ecx, 0x19
ja case.default.0x4f733f
jmp dword [ecx*4 + 0x4f7394]
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret

Function at 0x4f7520
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.004c7307
add esp, 4
test eax, eax
mov byte [esp], 0
je 0x4f7585
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp byte [esp], 0
je 0x4f7585
lea edx, [esp]
push edx
call dword [0x652e44]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004aeca3
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.004aeca3
add esp, 0x108
ret
jmp 0x4f7520

Function at 0x4f75a0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.004c7307
add esp, 4
test eax, eax
mov byte [esp], 0
je 0x4f7585
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp byte [esp], 0
je 0x4f7585
lea edx, [esp]
push edx
call dword [0x652e44]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004aeca3
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.004aeca3
add esp, 0x108
ret
jmp 0x4f7520

Function at 0x4fa030
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x531af0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push esi
push edi
mov esi, eax
mov eax, dword [esi + 0x4c]
mov edi, dword [esi + 0x40]
push 0
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
mov dword [esp + 0x28], edi
call fcn.0052e2b0
add esp, 0x14
test eax, eax
jne 0x531c46
mov ecx, dword [esi + 0x44]
movzx eax, byte [esi + 8]
add eax, ecx
mov dword [esp + 0xc], ecx
xor ecx, ecx
mov ch, byte [eax + 5]
push ebx
movzx ebx, word [edi + 0x1e]
mov edi, dword [esp + 0xc]
mov edx, dword [edi + 0x44]
mov cl, byte [eax + 6]
push ebp
mov dword [esp + 0x10], edx
movzx edx, word [esi + 0xe]
mov ebp, ecx
movzx ecx, word [esi + 0x14]
lea edx, [edx + ecx*2]
movzx ecx, byte [esi + 8]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.004b07c0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
sub ebx, ebp
push ebx
lea edx, [ecx + ebp]
push edx
add eax, ebp
push eax
call fcn.004b07c0
push esi
push edi
call fcn.0052c6a0
mov ebx, eax
add esp, 0x20
test ebx, ebx
jne 0x531c36
movzx ecx, byte [esi + 2]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
lea edx, [esi + 0x18]
push edx
lea eax, [edi + 0x18]
push eax
call fcn.004b07c0
mov al, byte [esi + 2]
add esp, 0xc
test al, al
mov byte [edi + 2], al
je 0x531bb8
mov word [edi + 0x12], bx
mov ecx, dword [edi + 0x44]
movzx edx, byte [ecx]
and edx, 0xfffffff7
push edx
call fcn.0052c810
movzx ecx, byte [esi + 8]
mov eax, dword [esp + 0x1c]
mov edx, dword [esi + 0x44]
push eax
lea eax, [ecx + edx + 8]
push eax
call fcn.00526f20
mov ecx, dword [esp + 0x28]
add esp, 0xc
cmp byte [ecx + 0x16], 0
je 0x531c2b
mov edx, dword [esi + 0x4c]
mov eax, dword [edi + 0x4c]
push edx
mov bl, 5
call fcn.0052be60
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x531c36
xor esi, esi
cmp word [edi + 0x14], si
jbe 0x531c2b
lea esp, [esp]
mov eax, esi
call fcn.0052c050
call fcn.0052c1f0
test eax, eax
jne 0x531c44
movzx eax, word [edi + 0x14]
add esi, 1
cmp esi, eax
jl 0x531c10
push edi
call fcn.00530f20
add esp, 4
mov ebx, eax
mov ecx, dword [edi + 0x48]
push ecx
call fcn.0053f150
add esp, 4
mov eax, ebx
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x542110
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
mov eax, dword [esp + 0x64]
push ebx
mov ebx, dword [eax + 0x20]
test ebx, ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x64]
mov ebp, dword [edi]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
je 0x5422e8
lea esp, [esp]
movzx edx, byte [ebx + 8]
mov ecx, dword [esp + 0x68]
cmp edx, ecx
jne 0x5422dd
movzx eax, byte [ebx + 9]
cmp eax, dword [esp + 0x70]
jne 0x5422dd
mov eax, dword [ebx + 0x1c]
cmp eax, dword [ebx + 0x20]
je 0x542172
mov edx, dword [ebp + 8]
cmp eax, dword [edx + 0x2c]
jne 0x5422dd
cmp ecx, 0x64
jne 0x542193
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x542193
mov esi, dword [esp + 0x6c]
push eax
call fcn.00541dd0
add esp, 4
test eax, eax
je 0x5422dd
mov eax, dword [edi + 0x188]
test eax, eax
je 0x5421b0
lea ecx, [ecx]
cmp ebx, dword [eax + 0x1c]
je 0x5422dd
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x5421a0
mov eax, dword [ebx]
push 0xffffffffffffffff
push eax
push str.___TRIGGER__s
push ebp
call fcn.00522020
mov ecx, dword [edi + 0xc]
add esp, 0xc
push eax
push 0
push 0
push 0
push 0x14
push ecx
call fcn.00524c10
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x38], edx
mov edx, dword [edi + 0x188]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], edx
mov dword [edi + 0x188], ecx
mov edx, dword [ebx]
push edx
lea eax, [esp + 0x30]
push eax
push edi
mov dword [esp + 0x64], edi
call fcn.00544220
mov ecx, dword [edi + 0xc]
push ecx
call fcn.005228a0
mov edx, dword [ebx + 0xc]
push edx
push ebp
mov dword [esp + 0x98], eax
call fcn.0054afa0
add esp, 0x34
cmp byte [ebp + 0x1e], 0
mov esi, eax
jne 0x542314
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.0054baf0
add esp, 8
test eax, eax
jne 0x542314
mov ecx, dword [esp + 0x64]
push 8
push ecx
push esi
push edi
call fcn.0054d070
push esi
call fcn.0054a540
mov edx, dword [esp + 0x94]
mov eax, dword [ebx + 0x24]
push edx
push eax
call fcn.00541f10
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x2c]
push edx
mov dword [edi + 0x188], ecx
call fcn.00544250
mov eax, dword [esp + 0x84]
mov ecx, dword [edi + 0xc]
push eax
push ecx
call fcn.005228f0
add esp, 0x28
mov ebx, dword [ebx + 0x28]
test ebx, ebx
jne 0x542140
mov eax, dword [esp + 0x88]
test eax, eax
je 0x5422f9
mov ecx, dword [esp + 0x28]
or dword [eax], ecx
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x54230a
mov edx, dword [esp + 0x24]
or dword [eax], edx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret
mov edx, dword [esp + 0x38]
push esi
mov dword [edi + 0x188], edx
call fcn.0054a540
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x50
ret
Function at 0x54a710
Capabilities:
Enumerate pe sections

Disassembly:
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x54a71d
xor eax, eax
pop edi
ret
push ebp
mov ebp, dword [esp + 0xc]
push esi
push 0x48
push ebp
call fcn.00525e50
mov esi, eax
add esp, 8
test esi, esi
jne 0x54a738
pop esi
pop ebp
pop edi
ret
mov al, byte [edi + 5]
mov byte [esi + 5], al
mov ecx, dword [edi]
push ecx
push ebp
call fcn.00549630
mov dword [esi], eax
mov edx, dword [edi + 0xc]
push edx
push ebp
call fcn.0054a5e0
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
push eax
push ebp
call fcn.0054afa0
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
push ecx
push ebp
call fcn.00549630
mov dword [esi + 0x14], eax
mov edx, dword [edi + 0x18]
push edx
push ebp
call fcn.0054afa0
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
push eax
push ebp
call fcn.00549630
mov dword [esi + 0x1c], eax
movzx ecx, byte [edi + 4]
mov byte [esi + 4], cl
mov edx, dword [edi + 0x20]
push edx
push ebp
call fcn.0054a710
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x2c]
push eax
push ebp
call fcn.0054afa0
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x30]
add esp, 0x40
push ecx
push ebp
call fcn.0054afa0
mov dword [esi + 0x30], eax
or eax, 0xffffffff
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dl, byte [edi + 6]
mov byte [esi + 6], dl
movzx ecx, byte [edi + 7]
add esp, 8
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov byte [esi + 7], cl
mov byte [esi + 8], 0
mov byte [esi + 9], 0
mov dword [esi + 0x28], 0
mov eax, esi
pop esi
pop ebp
pop edi
ret
Function at 0x40324c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404a90
test esi, esi
jne 0x403282
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404b80
jmp 0x4032a0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403150
mov edi, eax
test esi, esi
je 0x4032a0
cmp dword [ebx], 0
je 0x4032a0
dec esi
jmp 0x403289
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4039b0
Capabilities:
Query or enumerate registry value

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

Function at 0x40485c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x483048], 0
je 0x4048bd
cmp word [0x48321c], 0xd7b2
jne 0x404885
cmp dword [0x483224], 0
jbe 0x404885
mov eax, 0x483218
call dword [0x483234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
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 0x4048e4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48002c], 0
jne 0x4048d9
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404a14
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x480030], 0
je 0x404a3a
mov edx, esi
mov eax, ebx
call dword [0x480030]
jmp 0x404a49
mov eax, 8
call fcn.00402e60
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x483049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4049dc
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x408738
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40878a
test eax, edx
je 0x40878d
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x40874d
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x408773
add ecx, 4
js 0x408763
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408770
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x408799
test edx, edx
jne 0x408740
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x408fe0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404f20
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408ff9
test al, 0x10
je 0x408ffd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40bb60
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 0x40bb99
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404b80
jmp 0x40bba2
mov eax, ebx
mov edx, esi
call fcn.00404ae4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bbac
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 0x40bbce
movzx eax, byte [esp]
jmp 0x40bbd0
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c260
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c0d8
mov eax, dword [0x482628]
cmp byte [eax], 0
je 0x40c2dc
mov eax, dword [0x482410]
call fcn.00403378
call fcn.00402fbc
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.004091bc
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 0x40c324
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c312
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4823b8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4857f4]
call fcn.00405c34
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 0x40cb88
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40cc5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404b28
lea eax, [ebp - 4]
call fcn.00404f78
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f20
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cc48
mov eax, ebx
call fcn.00402e60
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cc41
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 - 4]
call fcn.00404f20
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cc2b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cc70
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cc2b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc48
mov eax, dword [ebp - 0x10]
call fcn.00402e7c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc65
lea eax, [ebp - 4]
call fcn.00404a90
ret

Function at 0x41b280
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041afbc
dec esi
jne 0x41b2a2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x41c414
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x487a00
cmp dword [edi], 0
jne 0x41c490
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4879fc]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x480b5c
mov ecx, 2
call fcn.00403050
mov edx, 0x41c3ec
lea eax, [esi + 5]
call fcn.0041c40c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041c40c
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 0x41c465
mov dword [0x4879fc], 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 0x41fde4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.0041f830
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404f20
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x41fe43
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x482540]
mov dl, 1
mov eax, dword [0x41f728]
call fcn.0040c420
call fcn.00404424
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41fe4c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404f20
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41fea4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x482764]
mov dl, 1
mov eax, dword [0x41f728]
call fcn.0040c420
call fcn.00404424
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041f860
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x421044
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 0x42104a
ret
Function at 0x431f14
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.00404f10
xor eax, eax
push ebp
push 0x432049
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43201c
xor edx, edx
push ebp
push 0x432015
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x431f61
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x431fea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x431fd9
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x431fa0
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00404f20
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00403050
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 0x431fe0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x482354]
mov dl, 1
mov eax, dword [0x407994]
call fcn.0040c3e4
call fcn.00404424
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432050
lea eax, [ebp - 4]
call fcn.00404a90
ret
Function at 0x432058
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x432213
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405214
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x43222c
call fcn.00404da8
mov eax, ebx
call fcn.0041b994
mov edi, eax
dec edi
test edi, edi
jl 0x432110
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041b968
mov edx, dword [0x42c4f8]
call fcn.00403d3c
test al, al
je 0x43210c
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.0041b968
lea edx, [ebp - 0x14]
call fcn.00441138
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405214
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404e24
inc esi
dec edi
jne 0x4320be
movzx eax, byte [0x432230]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x43223c
mov eax, dword [ebp - 8]
call fcn.0040d64c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404b28
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00441138
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x43222c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.00441138
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x43222c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x43222c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x432248
call fcn.004098ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43221a
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404ab4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404ab4
lea eax, [ebp - 0x14]
call fcn.00404a90
lea eax, [ebp - 0x10]
call fcn.00404a90
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ab4
ret