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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5d609b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5d607c
mov dl, 1
mov eax, dword [0x48b730]
call fcn.004aecd4
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00409bc4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5d606b
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.00531858
test al, al
je 0x5d605e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5d60ac
lea eax, [ebp - 0x394]
call fcn.004245c0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x5d605e
xor eax, eax
push ebp
push 0x5d6057
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x5d611c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x5d6040
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a7f8
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x5d6040
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a7f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d605e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5d5f61
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004aebf8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d60a2
lea eax, [ebp - 0x3a0]
call fcn.00409bc4
ret

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

Disassembly:
push ecx
mov eax, dword [0x6230e0]
cmp byte [eax + 0xc5], 0
jne 0x5d6cc6
cmp dword [0x623104], 0
jne 0x5d6c86
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x61c2ec]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x623104], eax
cmp dword [0x623100], 0
jne 0x5d6ca1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x623100], eax
cmp dword [0x623108], 0
jne 0x5d6cc6
push esp
push 0
push 0
mov eax, dword [0x61c2e8]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x623108], eax
pop edx
ret
Function at 0x5d70e8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5d70ff
add esp, 0xfffffff0
call fcn.0040847c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004bf594
mov eax, dword [0x61c5f0]
cmp byte [eax], 0
jne 0x5d712c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x61c9f4]
cmp word [eax + 2], 0
jne 0x5d7146
mov eax, dword [0x61c9f4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005d93c0
mov eax, dword [0x61cb58]
cmp word [eax + 2], 0
jne 0x5d7160
mov eax, dword [0x61cb58]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005d95c4
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4f188c]
call fcn.004f79f0
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5d9b3c
mov dl, 1
mov eax, dword [0x487db0]
call fcn.00407dc4
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x487db0]
call fcn.00407dc4
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x4f62b4]
call fcn.00501110
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5d7348
mov eax, dword [0x61c850]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.005015a8
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5d9e24
mov dl, 1
mov eax, dword [0x487db0]
call fcn.00407dc4
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x61c850]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004243c0
test eax, eax
je 0x5d727a
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00424218
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004243a4
test eax, eax
je 0x5d7292
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040a7f8
push ebx
push 0x5d8d9c
call fcn.005cc54c
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x61c5f0]
cmp byte [eax], 0
jne 0x5d72e3
mov eax, ebx
call fcn.005d7530
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005da05c
mov eax, ebx
call fcn.005dacbc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5d7340
call fcn.004084d4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5d7874
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5d7916
cmp dword [ebx + 0xac], 0
jne 0x5d7910
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5d77b0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5d7910
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_GetWindowLongW
test al, 8
je 0x5d78d6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5d7910
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004aa294
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5d78e5
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5d7b54
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x6230e0]
cmp dword [eax + 0x188], 0
je 0x5d7cce
test bl, bl
jne 0x5d7c19
cmp dword [esi + 0xb4], 0
jne 0x5d7c0e
mov eax, esi
call fcn.005dab0c
push eax
push 0x5d7a48
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5d7bdf
mov eax, dword [0x6230e0]
cmp byte [eax + 0xeb], 0
je 0x5d7bdf
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x5d7bc0
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5d7bdf
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5d7bc8
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5d7c0e
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004aa294
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5d7bee
inc dword [esi + 0xb4]
jmp 0x5d7cce
cmp dword [esi + 0xb4], 0
jle 0x5d7cce
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5d7cce
cmp dword [esi + 0x58], 0
je 0x5d7c83
mov eax, dword [0x6230e0]
cmp byte [eax + 0xeb], 0
je 0x5d7c83
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5d7c64
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5d7c83
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5d7c6c
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5d7cb2
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004aa294
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5d7c92
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5c8dc0]
call fcn.0040c06c
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5d8928
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5d8985
cmp byte [ebx + 0xeb], 0
jne 0x5d8985
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409d4c
mov eax, dword [esi]
test eax, eax
je 0x5d8972
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5d8992
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409fa4
jmp 0x5d8992
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409fa4
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5da244
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5da2b5
mov eax, esi
call fcn.0052b368
test al, al
je 0x5da2b5
mov eax, dword [ebx + 0x98]
call fcn.0052af94
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5da2b5
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x128]
test al, al
je 0x5da2a6
push 0
mov eax, dword [ebx + 0x98]
call fcn.0052af94
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.00521ac4
jmp 0x5da2b5
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005da07c
pop esi
pop ebx
ret
Function at 0x5e10ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x5e1126
mov eax, dword [ebx + 8]
call fcn.0052af94
mov ecx, eax
mov dl, 1
mov eax, dword [0x5392ac]
call fcn.00525170
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.0053fd40
mov dword [esi + 0x2c4], ebx
mov dword [esi + 0x2c0], 0x5e097c
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0052af94
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0052af94
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5e119c
mov eax, dword [ebx + 8]
call fcn.0052af94
mov ecx, eax
mov dl, 1
mov eax, dword [0x5392ac]
call fcn.00525170
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.0053fd40
mov dword [esi + 0x2c4], ebx
mov dword [esi + 0x2c0], 0x5e09c8
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0052af94
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0052af94
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x5e1208
mov eax, dword [ebx + 8]
call fcn.0052af94
mov ecx, eax
mov dl, 1
mov eax, dword [0x539d3c]
call fcn.00525170
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x298], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.0052af94
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.0052af94
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5eb444
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x5eb495
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x5eb47c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x5eb46c
jmp 0x5eb495
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x5eb47d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x602784
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x623558], 0
jne 0x60279b
call fcn.00602740
mov eax, edi
dec eax
test eax, eax
jl 0x6027c3
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x623158]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x6027a5
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x6054b4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x605550.0
jmp dword [ecx*4 + 0x6054e9]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x60551b
sub dl, 8
je 0x60552a
jmp case.0x605550.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x605180
jmp case.0x605550.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6051d4
jmp case.0x605550.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x605550.0
movzx ecx, byte [ecx + 0x605557]
jmp dword [ecx*4 + 0x605568]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x605274
jmp case.0x605550.0
cmp dl, 3
jne 0x605595
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6052cc
jmp case.0x605550.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x605288
jmp case.0x605550.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x605310
jmp case.0x605550.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x6055c0
sub dl, 8
je 0x6055cc
jmp case.0x605550.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x60533c
jmp case.0x605550.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6053a0
jmp case.0x605550.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x6055eb
sub dl, 8
je 0x6055f7
jmp case.0x605550.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x605450
jmp case.0x605550.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x605478
mov ecx, dword [eax + 0x468]
mov edx, dword [ebx + 0x1c]
dec edx
imul ecx, edx
mov esi, ecx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add ecx, dword [eax + 0x44c]
mov dword [ebp - 0x10], ecx
mov esi, edx
test esi, esi
jb 0x605699
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.006046d8
test eax, eax
je 0x605699
mov eax, ebx
call fcn.006056a4
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x605632
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x6056a4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x6056d5
dec al
je 0x605710
dec al
je 0x605754
dec al
je 0x6057c6
jmp 0x605861
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x605861
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x6056e5
jmp 0x605861
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x605861
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
movzx ecx, al
mov ecx, dword [ebx + ecx*4 + 0x40]
add dl, byte [ecx + esi]
and dl, 0xff
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x605720
jmp 0x605861
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x605861
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
jbe 0x605787
xor edx, edx
mov dword [esp + 4], edx
jmp 0x60579c
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov ebp, dword [ebx + edx*4 + 0x40]
movzx edx, byte [ebp + esi]
add eax, dword [esp + 4]
sar eax, 1
jns 0x6057b4
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x605764
jmp 0x605861
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x605861
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
ja 0x60582d
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 8], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 8]
push eax
movzx eax, byte [esp + 8]
pop edx
call fcn.006027cc
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [esp]
and al, 0xff
mov byte [edx + esi], al
inc esi
dec edi
jne 0x6057e2
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x60a174
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x60a27d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x62355c]
call fcn.005d422c
push 0x60a29c
push ebx
push 0x60a2ac
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040aa30
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004077cc
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], di
mov eax, dword [0x61cb10]
mov eax, dword [eax]
call fcn.005d8f7c
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
call fcn.00423fa4
mov eax, dword [ebp - 0x5c]
call fcn.0040a73c
push eax
push 0
push 0x30
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040a73c
push eax
push 0
call sub.kernel32.dll_CreateProcessW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
test bl, bl
je 0x60a255
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
push 0x623560
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x62355c]
call fcn.005d4234
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60a284
lea eax, [ebp - 0x5c]
call fcn.00409bc4
lea eax, [ebp - 4]
call fcn.00409bc4
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x402c20
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fa4
call fcn.00447e30
mov eax, dword [0x732694]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x804]
push esi
push edi
push 0x800
push 0
push eax
call fcn.005175d0
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.005175d0
add esp, 0x18
lea eax, [ebp - 0x1fa4]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ecx, 0x17
lea edi, [ebp - 0x1fa0]
mov esi, str.Program_FilesInternet_Exploreriexplore.exe
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
nop
movzx ecx, word [ebp + eax - 0x1fa4]
lea eax, [eax + 2]
mov word [ebp + eax - 0x1006], cx
test cx, cx
jne 0x402c90
lea edx, [ebp - 0x804]
mov ecx, ebx
sub edx, ebx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x402cb2
mov edx, ebx
mov esi, ebx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x402cc6
lea edi, [ebp - 0x1fa4]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x402ce0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 1
push 0
push 0
push ebx
mov ecx, edx
and ecx, 3
push str.open
rep movsb byte es:[edi], byte [esi]
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
pop ebx
cmp eax, 0x20
ja 0x402d30
push 0
push 0
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.004e54e5
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00447de7
mov esp, ebp
pop ebp
ret 4

Function at 0x4031b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0x568]
mov dword [esi], vtable.DuiLib::CCefBrowserUI.0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40320a
push 0
push dword [esi + 0x568]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x568]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x4031f8
push 0
push dword [esi + 0x568]
call dword [sym.imp.USER32.dll_SetParent]
push 0
push 0
push 0x10
push dword [esi + 0x568]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esi + 0x578]
call fcn.0044b190
mov dword [esi], vtable.CNativeCtrl.0
mov ecx, esi
mov dword [esi + 0x568], 0
call fcn.0045aac0
test byte [ebp + 8], 1
je 0x403240
push 0x618
push esi
call fcn.00447d89
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4