joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4517e8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x451993
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x451974
mov dl, 1
mov eax, dword [0x411b44]
call fcn.004030c4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e2c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x451963
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043f758
test al, al
je 0x451956
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4519a4
lea eax, [ebp - 0x254]
call fcn.00408b50
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x451956
xor eax, eax
push ebp
push 0x45194f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4519dc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x451938
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040409c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x451938
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040409c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451956
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x451859
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415620
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45199a
lea eax, [ebp - 0x260]
call fcn.00403e2c
ret

Function at 0x4522c8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x461bb0]
cmp byte [eax + 0xa5], 0
jne 0x452339
cmp dword [0x461bc8], 0
jne 0x4522fa
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x452284
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x461bc8], eax
cmp dword [0x461bc4], 0
jne 0x452315
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x461bc4], eax
cmp dword [0x461bcc], 0
jne 0x452339
push esp
push 0
push 0
push 0x452228
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x461bcc], eax
pop edx
ret
Function at 0x452430
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x452447
add esp, 0xfffffff0
call fcn.00403400
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419430
mov eax, dword [0x460040]
cmp word [eax + 2], 0
jne 0x45246f
mov eax, dword [0x460040]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453b08
mov eax, dword [0x4600e8]
cmp word [eax + 2], 0
jne 0x452489
mov eax, dword [0x4600e8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453d00
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411728]
call fcn.004030c4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411728]
call fcn.004030c4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b624]
call fcn.00421638
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x452614
mov eax, dword [0x45ff64]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421a08
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x454350
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45ff64]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c2cc
test eax, eax
je 0x45257e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040851c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c2f4
test eax, eax
je 0x452592
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040409c
mov eax, dword [0x45fe60]
cmp byte [eax], 0
jne 0x4525cb
mov eax, ebx
call fcn.0045273c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045452c
mov eax, ebx
call fcn.00454ef0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45260b
call fcn.00403458
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4529bc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x461bb0]
cmp dword [eax + 0x30], 0
je 0x452a66
cmp dword [ebx + 0x94], 0
jne 0x452a60
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45294c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x452a60
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x452a26
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x452a60
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413a90
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x452a35
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4535c4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4535f9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f1c
jmp 0x453606
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403e80
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x454708
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x454749
mov eax, esi
call fcn.0043ad84
test al, al
je 0x454749
mov eax, dword [ebx + 0x84]
call fcn.0043aa80
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x454749
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043aa80
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x455090
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004042dc
xor eax, eax
push ebp
push 0x45519b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.0045502c
mov esi, eax
test esi, esi
jle 0x45517d
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040434c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.004042ec
push eax
push edi
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x45517d
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004040ec
mov ecx, eax
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.0040434c
cmp dword [ebp - 0xc], 0
jne 0x45514f
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
jmp 0x455174
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.004042ec
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4551a2
lea eax, [ebp - 0xc]
call fcn.00403e2c
lea eax, [ebp - 4]
call fcn.00403e2c
ret
Function at 0x4551b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004042dc
xor eax, eax
push ebp
push 0x4552e4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.0045502c
mov esi, eax
test esi, esi
jle 0x4552c6
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040434c
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0xc]
call fcn.004042ec
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4552c6
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004040ec
mov ecx, eax
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.0040434c
cmp dword [ebp - 0xc], 0
jne 0x45524d
xor esi, esi
jmp 0x455257
mov eax, dword [ebp - 0xc]
call fcn.004042ec
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4552bd
mov eax, dword [ebp - 0x18]
call fcn.004026bc
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
push 0
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4552b6
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jne 0x4552ad
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov bl, 1
jmp 0x4552bd
mov eax, edi
call fcn.004026dc
jmp 0x4552bd
mov eax, edi
call fcn.004026dc
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4552eb
lea eax, [ebp - 0xc]
call fcn.00403e2c
lea eax, [ebp - 4]
call fcn.00403e2c
ret
Function at 0x455510
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004042dc
xor eax, eax
push ebp
push 0x45566e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov eax, 0x455688
call fcn.00404430
test eax, eax
je 0x455648
lea eax, [ebp - 0xc]
push eax
push 0x2000e
push 0
mov eax, dword [ebp - 4]
call fcn.004042ec
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
mov esi, eax
cmp byte [ebp - 5], 0
je 0x45562b
test esi, esi
jne 0x455648
mov eax, dword [0x45fe20]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.00404478
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
call fcn.00404344
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov esi, eax
cmp esi, 0x103
jne 0x4555e0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [ebp - 4]
call fcn.004042ec
push eax
push edi
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
jmp 0x455621
test esi, esi
jne 0x455621
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.00404478
push dword [ebp - 4]
push 0x455688
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004041ac
mov edx, dword [ebp - 0x18]
mov cl, byte [ebp - 5]
mov eax, edi
call fcn.00455510
test al, al
je 0x45561c
xor esi, esi
jmp 0x455621
mov esi, 0x3f2
test esi, esi
je 0x455584
jmp 0x455648
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [ebp - 4]
call fcn.004042ec
push eax
push edi
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455675
lea eax, [ebp - 0x18]
call fcn.00403e2c
lea eax, [ebp - 0x10]
call fcn.00403e2c
lea eax, [ebp - 4]
call fcn.00403e2c
ret
Function at 0x402a28
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x423f50]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x407010]
cmp eax, ebx
jne 0x402abc
mov esi, dword [0x407008]
mov edi, 0x105
jmp 0x402a79
cmp dword [ebp + 0x10], ebx
jne 0x402ab0
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402a28
test eax, eax
jne 0x402a8b
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402a60
push dword [ebp - 4]
call dword [0x40701c]
push 2
call fcn.00405d61
cmp eax, ebx
je 0x402ac3
push ebx
push dword [0x423f50]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402abc
push dword [ebp - 4]
call dword [0x40701c]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x423f50], ebx
jne 0x402ab9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x407014]
test eax, eax
jne 0x402ab9
jmp 0x402abc

Function at 0x40592a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov byte [esi], bl
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x407010]
test eax, eax
jne 0x40599b
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x400
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [section..rdata]
test eax, eax
jne 0x40598a
cmp dword [ebp + 0x14], 1
je 0x40598c
cmp dword [ebp + 0x14], 2
je 0x40598c
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x3ff], bl
call dword [0x40701c]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x405a65
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
test eax, eax
jge 0x405a83
mov ecx, dword [0x42367c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ecx]
mov ecx, dword [0x423ed8]
mov edx, dword [ebp + 8]
add ecx, eax
mov eax, 0x422e40
push ebx
sub edx, eax
push esi
push edi
cmp edx, 0x800
mov edi, eax
jae 0x405c7e
mov edi, dword [ebp + 8]
and dword [ebp + 8], 0
jmp 0x405c7e
mov esi, edi
sub esi, eax
cmp esi, 0x400
jge 0x405c88
inc ecx
cmp dl, 0xfc
mov dword [ebp + 0xc], ecx
jbe 0x405c71
movsx eax, byte [ecx + 1]
movsx ecx, byte [ecx]
mov esi, eax
add dword [ebp + 0xc], 2
and esi, 0x7f
mov ebx, ecx
shl esi, 7
and ebx, 0x7f
mov dword [ebp - 0x10], eax
or esi, ebx
mov ebx, ecx
or ch, 0x80
or ah, 0x80
cmp dl, 0xfe
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], eax
jne 0x405c1b
push 2
pop esi
call dword [0x4070e8]
test eax, eax
jns 0x405b2b
cmp ax, 0x5a04
je 0x405b2b
cmp dword [ebp - 0x10], 0x23
je 0x405b2b
cmp dword [ebp - 0x10], 0x2e
je 0x405b2b
and dword [ebp - 4], 0
jmp 0x405b32
mov dword [ebp - 4], 1
cmp dword [0x423f24], 0
je 0x405b3e
push 4
pop esi
test bl, bl
jns 0x405b79
mov eax, ebx
and ebx, 0x3f
add ebx, dword [0x423ed8]
and eax, 0x40
push eax
push edi
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call fcn.0040592a
cmp byte [edi], 0
jne 0x405c02
push dword [ebp - 0x10]
push edi
call fcn.00405a65
jmp 0x405bfd
cmp ebx, 0x25
jne 0x405b8c
push 0x400
push edi
call dword [0x4070e4]
jmp 0x405bfd
cmp ebx, 0x24
jne 0x405bf9
push 0x400
push edi
call dword [0x407148]
xor esi, esi
jmp 0x405bf9
mov eax, dword [0x423ea4]
xor ecx, ecx
dec esi
cmp eax, ecx
je 0x405bc5
cmp dword [ebp - 4], ecx
je 0x405bc5
push edi
push ecx
push ecx
push dword [ebp + esi*4 - 0x18]
push dword [0x423ea8]
call eax
test eax, eax
je 0x405bfd
lea eax, [ebp - 8]
push eax
push dword [ebp + esi*4 - 0x18]
push dword [0x423ea8]
call dword [0x407164]
test eax, eax
jne 0x405bf6
push edi
push dword [ebp - 8]
call dword [0x407150]
push dword [ebp - 8]
mov ebx, eax
call dword [0x407278]
test ebx, ebx
jne 0x405bfd
and byte [edi], 0
test esi, esi
jne 0x405ba1
cmp byte [edi], 0
je 0x405c13
cmp dword [ebp - 0x10], 0x1a
jne 0x405c13
push str.MicrosoftInternet_ExplorerQuick_Launch
push edi
call fcn.00405a5f
push edi
call fcn.00405ca1
jmp 0x405c5f
cmp dl, 0xfd
jne 0x405c4e
cmp esi, 0x1d
jne 0x405c33
push dword [0x423ea8]
push edi
call fcn.004059a1
jmp 0x405c44
mov eax, esi
shl eax, 0xa
add eax, section..ndata
push eax
push edi
call fcn.00405a43
add esi, 0xffffffeb
cmp esi, 7
jae 0x405c5f
jmp 0x405c13
cmp dl, 0xff
jne 0x405c5f
or eax, 0xffffffff
sub eax, esi
push eax
push edi
call fcn.00405a65
push edi
call fcn.00405a59
mov ecx, dword [ebp + 0xc]
add edi, eax
mov eax, 0x422e40
jmp 0x405c7e
jne 0x405c7b
mov dl, byte [ecx]
mov byte [edi], dl
inc edi
inc ecx
jmp 0x405c7e
mov byte [edi], dl
inc edi
mov dl, byte [ecx]
test dl, dl
jne 0x405ab2
and byte [edi], 0
cmp dword [ebp + 8], 0
pop edi
pop esi
pop ebx
je 0x405c9d
push eax
push dword [ebp + 8]
call fcn.00405a43
leave
ret 8
Function at 0x501711
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esp
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov ax, word [esp + 2]
mov dword [0x504b40], eax
xor eax, eax
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x4c], 0x30
call fcn.00501709
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x50134a
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], str.Jungo
mov dword [ebp - 0x20], eax
call fcn.00501706
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test eax, eax
je 0x5017f5
mov eax, 0x80000000
push edi
push dword [ebp - 0x38]
push edi
push edi
push eax
push eax
push eax
push eax
push 0
push str.180000
push str.Jungo
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x504b38], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x504b38]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x5017f5
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x5017da
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
lea ecx, [esp]
push ecx
push 0xf003f
push 0
push str.Console
push 0x80000001
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401098
mov al, byte [esp + 0x14]
test al, al
jne 0x40106f
lea edx, [esp + 4]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 4]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push str.QuickEdit
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
add esp, 0xc
ret
mov eax, dword [esp + 4]
mov edx, dword [esp]
lea ecx, [esp + 0x10]
push eax
push ecx
push 4
push 0
push str.QuickEdit
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
add esp, 0xc
ret
Function at 0x4010a0
Capabilities:
Create process on windows
Create process suspended
Get common file path

Disassembly:
sub esp, 0x284
push esi
push edi
xor esi, esi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x34]
mov dword [esp + 0x30], esi
push 0x104
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x18c]
mov dword [esp + 0x14], eax
push ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x188]
lea eax, [esp + 0x74]
push edx
push str._scmd.exe
push eax
call fcn.004018be
mov ecx, dword [0x40a934]
mov dword [esp + 0x3c], 0x44
push str._NOWINDOW
mov edx, dword [ecx + 4]
push edx
call fcn.00401730
add esp, 0x14
test eax, eax
je 0x40123d
push ebx
push ebp
push esi
push 1
call fcn.00401000
push 1
push 1
mov ebp, eax
call fcn.00401000
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_AllocConsole]
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea eax, [esp + 0x20]
push eax
push 0xfffffffffffffff5
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov word [esp + 0x22], 0x7d0
mov ecx, dword [esp + 0x20]
push ecx
push 0xfffffffffffffff5
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0xfffffffffffffff5
call ebx
push 0x4000
push eax
call fcn.00401689
push 0x408048
push eax
call fcn.004013ea
push 0
mov ecx, 8
mov esi, eax
mov edi, 0x408088
push 4
push 0
rep movsd dword es:[edi], dword [esi]
push 0x408088
call fcn.00401290
add esp, 0x20
push 0xfffffffffffffff6
call ebx
push 0x4000
push eax
call fcn.00401689
push 0x408044
push eax
call fcn.004013ea
push 0
mov ecx, 8
mov esi, eax
mov edi, 0x408068
push 4
push 0
rep movsd dword es:[edi], dword [esi]
push 0x408068
call fcn.00401290
add esp, 0x20
lea edx, [esp + 0x10]
mov ecx, dword [esp + 0x2a0]
lea eax, [esp + 0x38]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x9c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40121d
mov eax, dword [esp + 0x10]
push 0xfa
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
push ebp
call fcn.00401000
add esp, 8
call dword [sym.imp.KERNEL32.dll_FreeConsole]
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x284
ret 0x10
mov eax, dword [esp + 0x298]
lea ecx, [esp + 8]
lea edx, [esp + 0x30]
push ecx
push edx
push esi
push esi
push 0x8000000
push esi
push esi
add eax, 9
push esi
lea ecx, [esp + 0x94]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40127e
mov edx, dword [esp + 8]
push 0xfa
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
xor eax, eax
pop esi
add esp, 0x284
ret 0x10