joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406080
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4231d8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x42b740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov ecx, 0x5b
xor eax, eax
mov dl, byte [eax + 0x424810]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x7c], dl
jns 0x4060d0
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x3e
jl 0x4060b3
push 0x522354
push 0xf003f
push ebx
lea eax, [ebp - 0x7c]
push eax
push 0x80000002
mov byte [ebp - 0x3e], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 1
push 0x42480c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00401600
push 5
mov dword [ebp - 4], ebx
call fcn.00402160
mov ecx, eax
add esp, 4
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x406121
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404c10
push 1
push 0x424808
lea ecx, [ebp - 0x2c]
call fcn.00404c10
push 5
call fcn.00402160
mov ecx, eax
add esp, 4
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x406152
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404c10
push 1
push 0x424808
lea ecx, [ebp - 0x2c]
call fcn.00404c10
push 5
call fcn.00402160
mov ecx, eax
add esp, 4
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x406183
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404c10
push 1
push 0x424808
lea ecx, [ebp - 0x2c]
call fcn.00404c10
push 5
call fcn.00402160
mov ecx, eax
add esp, 4
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x4061b4
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404c10
push 1
push 0x424808
lea ecx, [ebp - 0x2c]
call fcn.00404c10
push 5
call fcn.00402160
mov ecx, eax
add esp, 4
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x4061e5
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404c10
push 1
push 0x424804
lea ecx, [ebp - 0x2c]
call fcn.00404c10
mov ecx, 0x5b
xor eax, eax
mov edi, edi
mov dl, byte [eax + 0x4247f4]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x3c], dl
jns 0x40622d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xd
jl 0x406210
mov eax, dword [ebp - 0x2c]
mov esi, 0x10
mov byte [ebp - 0x2f], bl
cmp dword [ebp - 0x18], esi
jae 0x406246
lea eax, [ebp - 0x2c]
mov ecx, dword [0x522354]
push 0x1f
push eax
push 1
push ebx
lea eax, [ebp - 0x3c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [0x522354]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], esi
jb 0x40627b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0040b7df
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040c734
mov esp, ebp
pop ebp
ret
Function at 0x407830
Capabilities:
Create process on windows
Delete file
Get disk information
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42353b
mov eax, dword fs:[0]
push eax
sub esp, 0x618
mov eax, dword [0x42b740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.C:HWID.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 0xff
mov dword [ebp - 0x618], eax
mov dword [ebp - 0x61c], eax
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x4079ab
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x620]
push edx
push 0
push 0
push 0x424374
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x4079ab
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x4079ab
lea edx, [ebp - 0x110]
push edx
call fcn.00401f90
mov esi, eax
lea eax, [ebp - 0x210]
push eax
call fcn.00401f90
mov ecx, dword [ebp - 0x620]
add eax, esi
lea eax, [eax + ecx + 0x1f3a7]
push eax
lea edx, [ebp - 0x5f8]
push 0x424b20
push edx
call fcn.0040cbea
sub esp, 8
mov ecx, esp
lea eax, [ebp - 0x5f8]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov dword [ebp - 0x624], esp
mov byte [ecx], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407936
sub eax, esi
push eax
lea eax, [ebp - 0x5f8]
push eax
call fcn.00401600
lea ecx, [ebp - 0x614]
push ecx
call fcn.00409310
add esp, 0x20
mov esi, 0x10
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], esi
jb 0x40796e
mov eax, dword [eax]
push eax
push str.Connection_Failure..._nTelah_terjadi_kesalahan___Mungkin_:_n___Server_down_n___Cheat_disuspend_n___Anda_belum_terdaftar._n___Durasi_Anda_telah_habis._n___Hubungi_Seller_Anda_untuk_info_lebih_lanjut___n___Terima_Kasih____n_n_nYour_HWID_:__s
call fcn.00406aa0
add esp, 8
cmp dword [ebp - 0x600], esi
jb 0x407993
mov edx, dword [ebp - 0x614]
push edx
call fcn.0040b7df
add esp, 4
push 1
push 0
push 0
push str.C:HWID.txt
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040c734
mov esp, ebp
pop ebp
ret
Function at 0x409310
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4237b8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x42b740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x80], eax
cmp dword [ebp + 0x20], 0x10
mov dword [ebp - 4], eax
mov byte [ebp - 0x7c], al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
jae 0x409375
lea eax, [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.004090d0
lea ecx, [ebp - 0x7c]
call fcn.00409180
push esi
lea ecx, [ebp - 0x7c]
call fcn.00409260
cmp dword [ebp + 0x20], 0x10
jb 0x4093a5
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040b7df
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040c734
mov esp, ebp
pop ebp
ret

Function at 0x40c734
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b740]
jne 0x40c73e
repz ret
jmp fcn.004126cc

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4179da
call fcn.0040f454
mov dword [eax], esi
call fcn.0040f441
push 0x16
pop esi
mov dword [eax], esi
call fcn.00412d38
mov eax, esi
jmp 0x417a2f
test dword [ebp + 0xc], 0xfffffff9
jne 0x4179c0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x417a07
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040f467
pop ecx
call fcn.0040f441
mov eax, dword [eax]
jmp 0x417a2f
test al, 0x10
jne 0x417a2d
test al, 1
je 0x417a2d
test byte [ebp + 0xc], 2
je 0x417a2d
call fcn.0040f454
mov dword [eax], 5
call fcn.0040f441
mov dword [eax], 0xd
jmp 0x4179fe
xor eax, eax
pop esi
pop ebp
ret
Function at 0x417d3c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b740]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00412082
and dword [ebp - 0x14], 0
cmp dword [0x523484], 0
mov dword [ebp - 0x18], eax
jne 0x417def
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x417e97
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x417e97
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x523484], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x523488], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x52348c], eax
call edi
push eax
call esi
mov dword [0x523494], eax
test eax, eax
je 0x417def
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x523490], eax
mov eax, dword [0x523490]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x417e48
cmp dword [0x523494], ecx
je 0x417e48
push eax
call esi
push dword [0x523494]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x417e48
test ebx, ebx
je 0x417e48
call edi
test eax, eax
je 0x417e3f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x417e3f
test byte [ebp - 8], 1
jne 0x417e48
or dword [ebp + 0x10], 0x200000
jmp 0x417e7b
mov eax, dword [0x523488]
cmp eax, dword [ebp - 0x18]
je 0x417e7b
push eax
call esi
test eax, eax
je 0x417e7b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x417e7b
mov eax, dword [0x52348c]
cmp eax, dword [ebp - 0x18]
je 0x417e7b
push eax
call esi
test eax, eax
je 0x417e7b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x523484]
call esi
test eax, eax
je 0x417e97
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x417e99
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c734
leave
ret
Function at 0x40644e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406472
xor eax, eax
test eax, eax
je 0x406485
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406485
xor ecx, ecx
jmp 0x406488
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x40656f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4318ec], 0
push esi
jne 0x4065a6
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406580
mov dword [ecx*4 + 0x4318e8], eax
inc ecx
cmp ecx, 0x100
jl 0x40657b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4065d7
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4318e8]
xor eax, esi
inc ecx
dec edx
jne 0x4065b9
pop edi
not eax
pop esi
ret 0xc

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, 0x10003028
xor esi, esi
push edi
cmp ebx, 0x10002034
jne 0x1000116a
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x10002038]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x10001172
push 1
push esi
push esi
push ebx
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x1000203c]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x1000119d
push 0x40
mov eax, 0x1000
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10003018], eax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x100011cb
push 5
pop ecx
mov esi, str.sktop.ini
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
cmp eax, 0xffffffff
je 0x10001222
push esi
push 0x10003020
push 0x1000
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x4437e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x443805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x443878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x44383a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x44386d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x44386b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x443831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x4437fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
jmp loc.00401219

Function at 0x43b64c
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov esi, 0x43b3c1
and edx, ecx
and ecx, edx
call fcn.0043b680
and ecx, edx
xor dword [ebx], esi
or edx, edx
sub edx, edx
and edx, ecx
inc ebx
add edx, 0x8b1c7081
mov ecx, edx
and edx, ecx
cmp ebx, eax
jne fcn.0043b64c
sub edx, 0x5f7c5af2
or ecx, ecx
sub edx, ecx
ret
Function at 0x40233a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41dff0]
jne 0x402344
repz ret
jmp fcn.00407f92

Function at 0x409c12
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.00404304
and dword [ebp - 4], 0
cmp dword [0x41fff0], 0
mov ebx, eax
jne 0x409cc3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409d74
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409d74
push eax
call fcn.00404292
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41fff0], eax
call esi
push eax
call fcn.00404292
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41fff4], eax
call esi
push eax
call fcn.00404292
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41fff8], eax
call esi
push eax
call fcn.00404292
pop ecx
mov dword [0x420000], eax
test eax, eax
je 0x409cc3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404292
pop ecx
mov dword [0x41fffc], eax
mov eax, dword [0x41fffc]
cmp eax, ebx
je 0x409d1b
cmp dword [0x420000], ebx
je 0x409d1b
push eax
call fcn.0040430d
push dword [0x420000]
mov esi, eax
call fcn.0040430d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409d1b
test edi, edi
je 0x409d1b
call esi
test eax, eax
je 0x409d12
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409d12
test byte [ebp - 0xc], 1
jne 0x409d1b
or dword [ebp + 0x10], 0x200000
jmp 0x409d54
mov eax, dword [0x41fff4]
cmp eax, ebx
je 0x409d54
push eax
call fcn.0040430d
pop ecx
test eax, eax
je 0x409d54
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409d54
mov eax, dword [0x41fff8]
cmp eax, ebx
je 0x409d54
push eax
call fcn.0040430d
pop ecx
test eax, eax
je 0x409d54
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41fff0]
call fcn.0040430d
pop ecx
test eax, eax
je 0x409d74
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409d76
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x36f06445
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1ac1688f
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40653b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x20019
push edi
movzx eax, cl
mov esi, edx
push 0x405ac0
sub eax, 0x7fffffff
mov dword [ebp - 4], edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x406578
jle 0x4065d5
movzx eax, ax
or eax, 0x80070000
jmp 0x4065d5
or dword [ebp - 0x10], 0xffffffff
mov ecx, esi
push 0x32
pop eax
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esi
call fcn.00406936
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x14], eax
push ecx
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x405aac
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00406910
test esi, esi
je 0x4065c8
jle 0x4065c4
movzx esi, si
or esi, 0x80070000
mov eax, esi
jmp 0x4065d5
mov eax, dword [ebp - 8]
dec eax
neg eax
sbb eax, eax
and eax, 0x8000ffff
pop edi
pop esi
leave
ret

Function at 0x4083fd
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x408438
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40841f
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x408430
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x40843a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x408415
xor eax, eax
pop edi
pop esi
ret

Function at 0x40a335
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.004083bd
mov dl, 0xa3
popal
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x40a3a0
lea eax, [ebp - 0x714]
push eax
call fcn.004083cd
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00408382
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x40a3a0
jmp 0x409d5f
cmp dword [ebp - 0x37c], 0
je 0x40a3ae
jmp 0x40a463
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x40a407
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x40a40c
jmp 0x409d5f
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x40a453
lea eax, [ebp - 0x714]
push eax
call fcn.004083cd
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00408382
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x40a45e
jmp 0x40a463
jmp 0x409d5f
cmp dword [ebp - 0x37c], 0
jne 0x40a50d
Function at 0x40288c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x4028bb
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403af4
jmp 0x4028d9
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402820
mov edi, eax
test ebx, ebx
je 0x4028d9
cmp dword [esi], 0
je 0x4028d9
dec ebx
jmp 0x4028c2
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

Disassembly:
imul edx, dword [0x5c7040], 0x8088405
inc edx
mov dword [0x5c7040], edx
mul edx
mov eax, edx
ret

Function at 0x402ce4
Capabilities:
Query or enumerate registry value

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