joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54d624
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
ret

Function at 0x54d634
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x54d649
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x54d74c
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov ebx, eax
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, ebx
call fcn.0054d6b8
mov esi, eax
mov eax, ebx
call fcn.004035cc
mov eax, esi
pop esi
pop ebx
ret

Function at 0x54dc0c
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048cc
lea esi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x54dd93
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x54ddb0
call fcn.00404a20
test eax, eax
jne 0x54dc57
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x54ddbc
call fcn.00404728
mov eax, esi
mov edx, 0x3c
call fcn.0054e6e8
mov dword [esi + 8], 0x21
mov dword [esi + 0x14], 0x101
mov dword [esi + 0x20], 0x81
mov dword [esi + 0x28], 0x81
mov dword [esi + 0x30], 0x801
mov dword [esi + 0x38], 0x801
mov eax, 0x21
call fcn.00402874
mov dword [esi + 4], eax
mov eax, 0x101
call fcn.00402874
mov dword [esi + 0x10], eax
mov eax, 0x81
call fcn.00402874
mov dword [esi + 0x1c], eax
mov eax, 0x81
call fcn.00402874
mov dword [esi + 0x24], eax
mov eax, 0x801
call fcn.00402874
mov dword [esi + 0x2c], eax
mov eax, 0x801
call fcn.00402874
mov dword [esi + 0x34], eax
push esi
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.004046dc
push eax
mov eax, dword [ebp - 4]
call fcn.004048dc
push eax
call sub.wininet.dll_InternetCrackUrlA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x54dd4d
mov eax, edi
mov edx, dword [esi + 4]
call fcn.00404614
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x10]
call fcn.00404614
mov eax, dword [ebp + 0x18]
mov edx, dword [esi + 0x2c]
call fcn.00404614
mov eax, dword [ebp + 0x14]
mov edx, dword [esi + 0x1c]
call fcn.00404614
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 0x24]
call fcn.00404614
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x34]
call fcn.00404614
mov eax, dword [ebp + 8]
mov dx, word [esi + 0x18]
mov word [eax], dx
mov eax, dword [esi + 4]
call fcn.00402894
mov eax, dword [esi + 0x10]
call fcn.00402894
mov eax, dword [esi + 0x1c]
call fcn.00402894
mov eax, dword [esi + 0x24]
call fcn.00402894
mov eax, dword [esi + 0x2c]
call fcn.00402894
mov eax, dword [esi + 0x34]
call fcn.00402894
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54dd9a
lea eax, [ebp - 4]
call fcn.0040441c
ret
Function at 0x54fdf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov ebx, eax
push esi
push edi
mov esi, ecx
mov eax, esi
test eax, eax
je 0x54fe09
mov eax, dword [esi - 4]
push eax
push esi
mov esi, edx
mov ecx, esi
test ecx, ecx
je 0x54fe16
mov ecx, dword [esi - 4]
add al, cl
inc eax
lea edi, [ebp - 0x100]
mov edx, eax
stosb byte es:[edi], al
mov al, cl
stosb byte es:[edi], al
rep movsb byte es:[edi], byte [esi]
pop esi
pop ecx
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
std
dec edi
mov esi, edi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x54fe34
cld
pop edi
pop esi
xor ecx, ecx
mov cl, byte [ebp - 0x100]
inc ecx
lea edx, [ebp - 0x100]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x54fe58
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
push edi
mov dword [ebp - 0x184], ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0x80]
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
xor ecx, ecx
mov cl, byte [ebp - 0x80]
lea edx, [ebp - 0x7f]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
push esi
push edi
xor eax, eax
lea esi, [ebp - 0x80]
lodsb al, byte [esi]
push esi
push eax
mov ecx, eax
mov edx, eax
mov edi, esi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x54fe9f
pop eax
pop esi
lea edi, [ebp - 0x100]
mov cl, byte [esi]
inc ecx
sub eax, ecx
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x180]
stosb byte es:[edi], al
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, esi
lea edx, [ebp - 0x100]
call fcn.00404680
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.00404680
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x550430
Capabilities:
Read data from internet
Read file on windows
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp byte [eax - 0x1009], 0
je 0x550481
push 0
mov eax, dword [ebp + 8]
add eax, 0xffffeff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1010]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1004]
mov eax, dword [eax + 0x130]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1004]
mov eax, dword [eax + 0x168]
push eax
call sub.kernel32.dll_ReadFile
cmp eax, 1
sbb eax, eax
inc eax
pop ebp
ret
mov eax, dword [ebp + 8]
add eax, 0xffffeff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1010]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1004]
mov eax, dword [eax + 0x130]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1004]
mov eax, dword [eax + 0x164]
push eax
call sub.wininet.dll_InternetReadFile
cmp eax, 1
sbb eax, eax
inc eax
pop ebp
ret
Function at 0x5551f4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x5552d9
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x3d8]
call fcn.00466994
mov ecx, dword [ebp - 8]
mov eax, dword [ebx + 0x3e8]
mov edx, dword [eax + 0x80]
lea eax, [ebp - 4]
call fcn.00404728
mov eax, dword [ebp - 4]
call fcn.004048dc
push eax
push 0x5552e8
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja 0x5552a3
push 1
push 0
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0x3d8]
call fcn.00466994
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x3e8]
mov edx, dword [eax + 0x80]
lea eax, [ebp - 0xc]
call fcn.00404728
mov eax, dword [ebp - 0xc]
call fcn.004048dc
push eax
lea eax, [ebp - 0x14]
call fcn.005a5368
mov eax, dword [ebp - 0x14]
call fcn.004048dc
push eax
push 0x5552e8
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5552e0
lea eax, [ebp - 0x14]
call fcn.0040441c
lea eax, [ebp - 0x10]
call fcn.0040441c
lea eax, [ebp - 0xc]
call fcn.0040441c
lea eax, [ebp - 8]
call fcn.0040441c
lea eax, [ebp - 4]
call fcn.0040441c
ret

Function at 0x55aa80
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
ja 0x55aaac
cmp dword [esp + 4], 5
jne 0x55aaa8
cmp dword [esp + 8], 1
jae 0x55aaac
xor eax, eax
jmp 0x55aaae
mov al, 1
mov byte [0x5cf944], al
add esp, 0x94
ret
Function at 0x55e170
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
call fcn.0055fb00
test al, al
je 0x55e264
push 2
xor eax, eax
mov al, bl
push eax
mov eax, dword [0x5cfc78]
push eax
call sub.kernel32.dll_FindResourceA
mov ebx, eax
test ebx, ebx
jbe 0x55e264
mov word [ebp - 0x1a], 0x4d42
push ebx
mov eax, dword [0x5cfc78]
push eax
call sub.kernel32.dll_LoadResource
mov esi, eax
push esi
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x41bd88]
call fcn.0040359c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x55e25d
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [0x5cfc78]
push eax
call sub.kernel32.dll_SizeofResource
mov ebx, eax
lea edx, [ebx + 0xe]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 4]
lea edx, [ebp - 0x1a]
mov ecx, 0xe
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0x10]
mov edx, dword [ebp - 8]
mov ecx, ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x10]
push esi
call sub.kernel32.dll_FreeResource
push 0
push 0
xor edx, edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dl, 1
mov eax, dword [0x429554]
call fcn.00430274
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55e264
mov eax, dword [ebp - 0xc]
call fcn.004035cc
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x55e270
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, esi
call fcn.0040441c
call fcn.0055fb00
test al, al
je 0x55e37c
push edi
push ebx
mov eax, dword [0x5cfc78]
push eax
call sub.kernel32.dll_FindResourceA
mov ebx, eax
test ebx, ebx
jbe 0x55e37c
push ebx
mov eax, dword [0x5cfc78]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_LockResource
mov edi, eax
mov dl, 1
mov eax, dword [0x41bd88]
call fcn.0040359c
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x55e375
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
mov eax, dword [0x5cfc78]
push eax
call sub.kernel32.dll_SizeofResource
mov edx, edi
mov ecx, eax
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FreeResource
push 0
push 0
xor edx, edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dl, 1
mov eax, dword [0x41ba74]
call fcn.0040359c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x55e358
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov edx, esi
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55e35f
mov eax, dword [ebp - 0xc]
call fcn.004035cc
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x578d50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x578d76
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x578d74
cmp dword [ebx + 0x10], 0
je 0x578d74
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0xc]
jmp 0x578d76
xor eax, eax
pop ebx
ret
Function at 0x5897a8
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048cc
xor eax, eax
push ebp
push 0x5898ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00408d08
mov edx, dword [ebp - 0x28]
mov eax, 0x5898e8
call fcn.00404a20
test eax, eax
jne 0x589805
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x5898e8
call fcn.00404728
push 0
push 0
push 0
push 0
push 0x5898f0
call sub.wininet.dll_InternetOpenA
mov ebx, eax
test ebx, ebx
je 0x5898ab
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004048dc
push eax
push ebx
call sub.wininet.dll_InternetOpenUrlA
mov esi, eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0xa
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x13
push esi
call sub.wininet.dll_HttpQueryInfoA
lea edi, [ebp - 0x24]
lea eax, [ebp - 0x2c]
mov edx, edi
call fcn.00404614
mov eax, dword [ebp - 0x2c]
mov edx, 0x589908
call fcn.00404828
je 0x589896
lea eax, [ebp - 0x30]
mov edx, edi
call fcn.00404614
mov eax, dword [ebp - 0x30]
mov edx, 0x589914
call fcn.00404828
je 0x589896
xor eax, eax
jmp 0x589898
mov al, 1
mov byte [ebp - 5], al
test esi, esi
je 0x5898a5
push esi
call sub.wininet.dll_InternetCloseHandle
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5898d5
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404440
lea eax, [ebp - 4]
call fcn.0040441c
ret
Function at 0x59a830
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push esp
push 0xff
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.0040a3c4
add esp, 0x100
pop ebx
ret

Function at 0x5a019c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbfc
push ebx
xor ecx, ecx
mov dword [ebp - 0x404], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x5a027c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x5a0288
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
jne 0x5a01dd
mov eax, ebx
call fcn.0040441c
jmp 0x5a0263
push 0
push 0x5a0290
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
jne 0x5a01f9
mov eax, ebx
call fcn.0040441c
jmp 0x5a0263
push 0
push 0x5a02a0
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
jne 0x5a0215
mov eax, ebx
call fcn.0040441c
jmp 0x5a0263
lea edx, [ebp - 0x400]
push edx
push 0x3ff
push 0xd
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x404]
lea edx, [ebp - 0x400]
mov ecx, 0x400
call fcn.0040468c
cmp dword [ebp - 0x404], 0
je 0x5a025c
mov eax, ebx
lea edx, [ebp - 0x400]
mov ecx, 0x400
call fcn.0040468c
jmp 0x5a0263
mov eax, ebx
call fcn.0040441c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a0283
lea eax, [ebp - 0x404]
call fcn.0040441c
ret

Function at 0x5a02b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbfc
push ebx
xor ecx, ecx
mov dword [ebp - 0x404], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x5a039f
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x5a03ac
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
jne 0x5a02f1
mov eax, ebx
call fcn.0040441c
jmp 0x5a0386
push 0
push 0x5a03b4
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
jne 0x5a030d
mov eax, ebx
call fcn.0040441c
jmp 0x5a0386
push 0
push 0x5a03c4
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push 0x5a03d8
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
jne 0x5a0338
mov eax, ebx
call fcn.0040441c
jmp 0x5a0386
lea edx, [ebp - 0x400]
push edx
push 0x3ff
push 0xd
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x404]
lea edx, [ebp - 0x400]
mov ecx, 0x400
call fcn.0040468c
cmp dword [ebp - 0x404], 0
je 0x5a037f
mov eax, ebx
lea edx, [ebp - 0x400]
mov ecx, 0x400
call fcn.0040468c
jmp 0x5a0386
mov eax, ebx
call fcn.0040441c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a03a6
lea eax, [ebp - 0x404]
call fcn.0040441c
ret
Function at 0x5a0d9c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor ecx, ecx
mov dword [ebp - 0x108], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x5a0e39
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [0x5b3894]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.0040a3c4
lea ecx, [ebp - 0x108]
mov eax, dword [ebx]
mov edx, 1
call fcn.0043bac4
mov eax, dword [ebp - 0x108]
mov edx, 0x5a0e50
call fcn.00404828
je 0x5a0e20
mov eax, ebx
mov edx, 0x5a0e50
call fcn.004046e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a0e40
lea eax, [ebp - 0x108]
call fcn.0040441c
ret

Function at 0x5a25c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048cc
xor eax, eax
push ebp
push 0x5a2678
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x5a2633
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004048dc
mov ebx, eax
push ebx
push 0x5a2684
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja 0x5a265d
push 1
push 0
push ebx
lea eax, [ebp - 8]
call fcn.005a5368
mov eax, dword [ebp - 8]
call fcn.004048dc
push eax
push 0x5a2684
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x5a265d
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.004048dc
push eax
lea eax, [ebp - 0xc]
call fcn.005a5368
mov eax, dword [ebp - 0xc]
call fcn.004048dc
push eax
push 0x5a2684
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a267f
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404440
ret

Function at 0x5a5368
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
mov dword [esp + 4], 1
push esp
push 0xf003f
push 0
push 0x5a53ec
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [esp + 8], pe_nt_image_headers32
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x5a5430
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x5a53ce
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, pe_nt_image_headers32
call fcn.0040468c
jmp 0x5a53da
mov eax, ebx
mov edx, 0x5a543c
call fcn.00404470
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0x10c
pop ebx
ret
Function at 0x101d0d00
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x101d0ede
pushal
mov esi, section.UPX1
lea edi, [esi - 0xdc000]
push edi
or ebp, 0xffffffff
jmp 0x101d0d2a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x101d0d31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101d0d20
mov eax, 1
add ebx, ebx
jne 0x101d0d43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x101d0d54
jne 0x101d0d73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101d0d73
dec eax
add ebx, ebx
jne 0x101d0d60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x101d0d38
add ebx, ebx
jne 0x101d0d6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x101d0dc5
xor ecx, ecx
sub eax, 3
jb 0x101d0d8b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x101d0dfa
sar eax, 1
mov ebp, eax
jmp 0x101d0d96
add ebx, ebx
jne 0x101d0d96
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101d0d64
inc ecx
add ebx, ebx
jne 0x101d0da4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101d0d64
add ebx, ebx
jne 0x101d0db1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x101d0da6
jne 0x101d0dc2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x101d0da6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x101d0de4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x101d0dd6
jmp 0x101d0d26
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x101d0de4
add edi, ecx
jmp 0x101d0d26
pop esi
mov edi, esi
mov ecx, 0xe10f1
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x101d0e1f
cmp byte [edi], 0x5a
jne 0x101d0e04
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x101d0e02
lea edi, [esi + 0x1c8000]
mov eax, dword [edi]
or eax, eax
je 0x101d0e70
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e1e10]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e1f3c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x101d0e25
mov ecx, edi
jns 0x101d0e54
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e1f40]
or eax, eax
je 0x101d0e6a
mov dword [ebx], eax
add ebx, 4
jmp 0x101d0e42
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x101d0ea1
cmp al, 0xef
ja 0x101d0e94
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x101d0e76
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x101d0e83
mov ebp, dword [esi + 0x1e1f44]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x257]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x101d0ed5
sub esp, 0xffffff80
jmp 0x100ab435
Function at 0x401b40
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x401b60
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x401b74
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
inc eax
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x401ba0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x401bb6
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x401bc3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8