joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4272a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x88
push ebx
push ebp
push edi
mov edi, eax
add dword [esi + 0xc4], edi
cmp dword [esi + 0xc4], edi
mov ebx, ecx
sbb eax, eax
neg eax
add dword [esi + 0xc8], eax
cmp dword [esi + 0xc8], eax
sbb eax, eax
neg eax
add dword [esi + 0xcc], eax
cmp dword [esi + 0xcc], eax
sbb eax, eax
neg eax
add dword [esi + 0xd0], eax
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x427317
lea ecx, [eax + edi]
cmp ecx, 0x80
jge 0x427317
push edi
lea edx, [eax + esi + 0x40]
push ebx
push edx
call fcn.004657b0
add esp, 0xc
add dword [esi + 0xc0], edi
pop edi
pop ebp
pop ebx
add esp, 0x88
ret
add eax, edi
cmp eax, 0x80
jl 0x4274b4
jmp 0x427330
mov eax, dword [esi + 0xc0]
mov ecx, 0x80
sub ecx, eax
push ecx
lea edx, [eax + esi + 0x40]
push ebx
push edx
call fcn.004657b0
mov eax, dword [esi + 0xc0]
mov ecx, 0x80
sub ecx, eax
add esp, 0xc
add ebx, ecx
lea edi, [edi + eax - 0x80]
xor ecx, ecx
lea eax, [esi + 0x41]
movzx edx, byte [eax - 1]
shl edx, 8
movzx ebp, byte [eax]
or edx, ebp
shl edx, 8
movzx ebp, byte [eax + 1]
or edx, ebp
shl edx, 8
movzx ebp, byte [eax + 2]
or edx, ebp
mov dword [esp + ecx*8 + 0x10], edx
movzx edx, byte [eax + 3]
shl edx, 8
movzx ebp, byte [eax + 4]
or edx, ebp
shl edx, 8
movzx ebp, byte [eax + 5]
or edx, ebp
shl edx, 8
movzx ebp, byte [eax + 6]
or edx, ebp
mov dword [esp + ecx*8 + 0x14], edx
movzx edx, byte [eax + 7]
shl edx, 8
movzx ebp, byte [eax + 8]
or edx, ebp
movzx ebp, byte [eax + 9]
shl edx, 8
or edx, ebp
movzx ebp, byte [eax + 0xa]
shl edx, 8
or edx, ebp
mov dword [esp + ecx*8 + 0x18], edx
movzx edx, byte [eax + 0xb]
movzx ebp, byte [eax + 0xc]
shl edx, 8
or edx, ebp
movzx ebp, byte [eax + 0xd]
shl edx, 8
or edx, ebp
movzx ebp, byte [eax + 0xe]
shl edx, 8
or edx, ebp
movzx ebp, byte [eax + 0x10]
mov dword [esp + ecx*8 + 0x1c], edx
movzx edx, byte [eax + 0xf]
shl edx, 8
or edx, ebp
movzx ebp, byte [eax + 0x11]
shl edx, 8
or edx, ebp
movzx ebp, byte [eax + 0x12]
shl edx, 8
or edx, ebp
movzx ebp, byte [eax + 0x14]
mov dword [esp + ecx*8 + 0x20], edx
movzx edx, byte [eax + 0x13]
shl edx, 8
or edx, ebp
movzx ebp, byte [eax + 0x15]
shl edx, 8
or edx, ebp
movzx ebp, byte [eax + 0x16]
shl edx, 8
or edx, ebp
movzx ebp, byte [eax + 0x18]
mov dword [esp + ecx*8 + 0x24], edx
movzx edx, byte [eax + 0x17]
shl edx, 8
or edx, ebp
movzx ebp, byte [eax + 0x19]
shl edx, 8
or edx, ebp
movzx ebp, byte [eax + 0x1a]
shl edx, 8
or edx, ebp
movzx ebp, byte [eax + 0x1c]
mov dword [esp + ecx*8 + 0x28], edx
movzx edx, byte [eax + 0x1b]
shl edx, 8
or edx, ebp
movzx ebp, byte [eax + 0x1d]
shl edx, 8
or edx, ebp
movzx ebp, byte [eax + 0x1e]
shl edx, 8
or edx, ebp
mov dword [esp + ecx*8 + 0x2c], edx
add ecx, 4
add eax, 0x20
cmp ecx, 0x10
jl 0x427364
push esi
lea eax, [esp + 0x14]
call fcn.00425b20
mov dword [esi + 0xc0], 0
mov eax, dword [esi + 0xc0]
add eax, edi
add esp, 4
cmp eax, 0x80
jge 0x427330
push edi
lea ecx, [esi + 0x40]
push ebx
push ecx
call fcn.004657b0
add esp, 0xc
mov dword [esi + 0xc0], edi
pop edi
pop ebp
pop ebx
add esp, 0x88
ret
Function at 0x427750
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x42a920
Capabilities:
Hash data with md5

Disassembly:
jmp 0x42abf0
xor ecx, ecx
mov byte [eax + 0x68], cl
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x4516b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
mov edi, eax
test ebp, ebp
jne 0x4516cf
push ebp
push ebp
push ebp
push edi
lea eax, [ebp + 2]
call fcn.00452d10
pop edi
xor al, al
pop ebp
ret 4
push ebx
call fcn.00450e80
push 2
or eax, 0xffffffff
push 0
push ebp
mov dword [edi + 8], eax
mov dword [edi + 4], eax
call fcn.00464fd2
push ebp
call fcn.00464eda
push 0
push 0
push ebp
mov ebx, eax
call fcn.00464fd2
add esp, 0x1c
test ebx, ebx
jg 0x45171a
push 0
push 0
push 0
push edi
mov eax, 0xc
call fcn.00452d10
pop ebx
pop edi
xor al, al
pop ebp
ret 4
lea eax, [ebx + 1]
push esi
push eax
call fcn.00462d82
push ebp
push 1
mov esi, eax
push ebx
push esi
mov byte [esi], 0
call fcn.00464692
add esp, 0x14
cmp eax, 1
je 0x45175e
push esi
call fcn.00462b9f
add esp, 4
push 0
push 0
push 0
push edi
mov eax, 2
call fcn.00452d10
pop esi
pop ebx
pop edi
xor al, al
pop ebp
ret 4
mov byte [esi + ebx], 0
cmp byte [esi], 0
mov eax, esi
mov ecx, esi
je 0x45178c
jmp 0x451770
mov dl, byte [eax]
cmp dl, 0xd
jne 0x451783
mov byte [ecx], 0xa
inc eax
inc ecx
cmp byte [eax], 0xa
jne 0x451787
jmp 0x451786
mov byte [ecx], dl
inc ecx
inc eax
cmp byte [eax], 0
jne 0x451770
push 0
mov byte [ecx], 0
mov edx, dword [edi]
mov eax, dword [edx + 8]
push 0
push esi
mov ecx, edi
call eax
push esi
call fcn.00462b9f
add esp, 4
pop esi
xor eax, eax
cmp byte [edi + 0x2c], al
pop ebx
pop edi
sete al
pop ebp
ret 4
Function at 0x4033a0
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.00404d14
test esi, esi
jne 0x4033d6
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.00404e04
jmp 0x4033f4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403244
mov edi, eax
test esi, esi
je 0x4033f4
cmp dword [ebx], 0
je 0x4033f4
dec esi
jmp 0x4033dd
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403428
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4d8008], 0x8088405
inc edx
mov dword [ebx + 0x4d8008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403c0c
Capabilities:
Query or enumerate registry value

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

Function at 0x404ac0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4dd04c], 0
je 0x404b21
cmp word [0x4dd220], 0xd7b2
jne 0x404ae9
cmp dword [0x4dd228], 0
jbe 0x404ae9
mov eax, 0x4dd21c
call dword [0x4dd238]
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 0x404b48
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4d8030], 0
jne 0x404b3d
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404c98
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 [0x4d8034], 0
je 0x404cbe
mov edx, esi
mov eax, ebx
call dword [0x4d8034]
jmp 0x404ccd
mov eax, 8
call fcn.00402f1c
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4dd04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404c60
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 0x4065a8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4067d8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40662b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4067d8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40662b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4067f4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4066b4
xor eax, eax
push ebp
push 0x4066ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004063e4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406692
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406814
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406692
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4066b4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4067ce
cmp byte [ebp - 0xd], 0
jne 0x4066fb
cmp byte [ebp - 0x12], 0
je 0x4067ce
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406714
dec ebx
cmp byte [ebx], 0x2e
je 0x406723
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406713
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4067ce
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406760
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4067ce
cmp byte [ebp - 0xd], 0
je 0x4067ce
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4067ce
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409158
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4091aa
test eax, edx
je 0x4091ad
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x40916d
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 0x409193
add ecx, 4
js 0x409183
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x409190
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 0x4091b9
test edx, edx
jne 0x409160
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.004051a4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409e6a
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x409e8b
cmp ebx, 3
je 0x409e8b
cmp ebx, 0x7b
je 0x409e8b
mov eax, esi
call fcn.00409e0c
test al, al
jne 0x409e8f
xor eax, eax
jmp 0x409e91
mov al, 1
pop esi
pop ebx
ret

Function at 0x40d48c
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 0x40d4c5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404e04
jmp 0x40d4ce
mov eax, ebx
mov edx, esi
call fcn.00404d68
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40db8c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40da04
mov eax, dword [0x4dc5c4]
cmp byte [eax], 0
je 0x40dc08
mov eax, dword [0x4dc20c]
call fcn.004034fc
call fcn.00403078
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.0040a31c
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 0x40dc50
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40dc3e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4dc17c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4df7f8]
call fcn.0040638c
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 0x40e510
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 0x40e5e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404dac
lea eax, [ebp - 4]
call fcn.004051fc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004051a4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40e5d0
mov eax, ebx
call fcn.00402f1c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40e5c9
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.004051a4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40e5b3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40e5f8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40e5b3
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 0x40e5d0
mov eax, dword [ebp - 0x10]
call fcn.00402f38
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e5ed
lea eax, [ebp - 4]
call fcn.00404d14
ret

Function at 0x423f5c
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.00423c98
dec esi
jne 0x423f7e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x4250f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e19f0
cmp dword [edi], 0
jne 0x42516c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4e19ec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4d8c00
mov ecx, 2
call fcn.00403144
mov edx, 0x4250c8
lea eax, [esi + 5]
call fcn.004250e8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004250e8
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 0x425141
mov dword [0x4e19ec], 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 0x427d28
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.004051a4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x427d80
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4dc7cc]
mov dl, 1
mov eax, dword [0x427710]
call fcn.0040dd4c
call fcn.00404688
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00427818
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 0x428f10
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 0x428f16
ret
Function at 0x43ba20
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.00405194
xor eax, eax
push ebp
push 0x43bb55
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43bb28
xor edx, edx
push ebp
push 0x43bb21
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x43ba6d
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 0x43baf6
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 0x43bae5
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x43baac
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.004051a4
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00403144
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 0x43baec
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4dc0ac]
mov dl, 1
mov eax, dword [0x40823c]
call fcn.0040dd10
call fcn.00404688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43bb5c
lea eax, [ebp - 4]
call fcn.00404d14
ret
Function at 0x43bb64
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 0x43bd1f
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405498
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x43bd38
call fcn.0040502c
mov eax, ebx
call fcn.00424670
mov edi, eax
dec edi
test edi, edi
jl 0x43bc1c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00424644
mov edx, dword [0x434570]
call fcn.00403fa0
test al, al
je 0x43bc18
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00424644
lea edx, [ebp - 0x14]
call fcn.0044af34
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405498
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004050a8
inc esi
dec edi
jne 0x43bbca
movzx eax, byte [0x43bd3c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x43bd48
mov eax, dword [ebp - 8]
call fcn.0040f068
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404dac
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.0044af34
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x43bd38
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.0044af34
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x43bd38
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, 0x43bd38
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, 0x43bd54
call fcn.0040ade8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43bd26
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404d38
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404d38
lea eax, [ebp - 0x14]
call fcn.00404d14
lea eax, [ebp - 0x10]
call fcn.00404d14
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404d38
ret