joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4511f0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x451207
add esp, 0xfffffff0
call fcn.00403640
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419ea0
mov eax, dword [0x491e8c]
cmp word [eax + 2], 0
jne 0x45122f
mov eax, dword [0x491e8c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004528e0
mov eax, dword [0x491f50]
cmp word [eax + 2], 0
jne 0x451249
mov eax, dword [0x491f50]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00452ad8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411c08]
call fcn.004032ec
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411c08]
call fcn.004032ec
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 [0x41c3ec]
call fcn.00423d14
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4513d0
mov eax, dword [0x491d9c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004240e4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x453088
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x491d9c]
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.0040c794
test eax, eax
je 0x45133e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408a40
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c7bc
test eax, eax
je 0x451352
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404360
mov eax, dword [0x491c78]
cmp byte [eax], 0
jne 0x451386
mov eax, ebx
call fcn.004514f8
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.00453264
mov eax, ebx
call fcn.00453c28
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4513c6
call fcn.00403698
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451778
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x493bb4]
cmp dword [eax + 0x30], 0
je 0x451822
cmp dword [ebx + 0x94], 0
jne 0x45181c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451708
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45181c
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 0x4517e2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45181c
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.00413fcc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4517f1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452384
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 0x4523b9
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.004041e0
jmp 0x4523c6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404144
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453440
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453481
mov eax, esi
call fcn.00439be0
test al, al
je 0x453481
mov eax, dword [ebx + 0x84]
call fcn.004398dc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453481
push 0
mov eax, dword [ebx + 0x84]
call fcn.004398dc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x457908
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45798b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e]
xor ecx, ecx
mov edx, 0x1e
call fcn.00402d14
xor eax, eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], 3
lea eax, [ebp - 0x24]
mov ecx, 0x4579a4
mov edx, ebx
call fcn.004043fc
mov eax, dword [ebp - 0x24]
call fcn.004045b0
mov dword [ebp - 0x16], eax
mov eax, 0x4579a8
mov dword [ebp - 0x12], eax
mov word [ebp - 0xe], 0x14
lea eax, [ebp - 0x1e]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457992
lea eax, [ebp - 0x24]
call fcn.004040f0
ret

Function at 0x4591c4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x4591f3
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x459272
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00457a80
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x459240
mov cx, word [esp]
sub cx, si
jmp 0x459242
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x459229
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x459268
mov cx, word [esp]
sub cx, si
jmp 0x45926a
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x459251
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4592cf
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.00458e98
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4592ba
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x4592cf
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4591ce
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45f804
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x493bec
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x45f826
shr eax, 1
xor eax, 0xedb88320
jmp 0x45f828
shr eax, 1
dec edx
jne 0x45f814
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x45f80d
mov byte [0x493fec], 1
pop esi
pop ebx
ret

Function at 0x45f844
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x493fec], 0
jne 0x45f85b
call fcn.0045f804
mov eax, edi
dec eax
test eax, eax
jl 0x45f884
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x493bec]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x45f865
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4622e4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x462315
dec al
je 0x462351
dec al
je 0x462395
dec al
je 0x462400
jmp 0x46248a
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x46248a
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, 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 0x462325
jmp 0x46248a
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46248a
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x462361
jmp 0x46248a
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46248a
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4623c3
xor ebp, ebp
jmp 0x4623d4
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4623dd
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4623a5
jmp 0x46248a
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46248a
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x462458
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, 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 + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0045f88c
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x462414
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x467484
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
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4674d5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4674bc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4674ac
jmp 0x4674d5
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 0x4674bd
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4749a4
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.00414338
mov esi, eax
xor eax, eax
push ebp
push 0x474a1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [esi + 8]
dec ebx
cmp ebx, 0
jl 0x474a02
mov edx, ebx
mov eax, esi
call fcn.00413fcc
test byte [eax + 0x58], 1
je 0x4749fc
push 0
mov edx, ebx
mov eax, esi
call fcn.00413fcc
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov edx, ebx
mov eax, esi
call fcn.00413ebc
dec ebx
cmp ebx, 0xffffffff
jne 0x4749d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474a25
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.0041439c
ret

Function at 0x477c30
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x477c5e
mov eax, ebx
call fcn.004786e4
cmp dword [ebx + 0x40], 0
je 0x477c57
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x477ccf
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x477cc1
cmp dword [ebx + 8], 0
je 0x477c80
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x477c92
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x477cc1
cmp dword [ebx + 8], 0
je 0x477c73
cmp eax, 3
je 0x477ca5
dec eax
jne 0x477c73
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x477c73
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x477c73
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x477ced
cmp dword [ebx + 0x14], 0xcc
je 0x477ced
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00477cf8
pop ebx
ret

Function at 0x488890
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
xor ebx, ebx
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 6
jb 0x4888af
mov bl, 1
mov eax, ebx
add esp, 0x94
pop ebx
ret
Function at 0x488964
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc9c
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004045a0
xor eax, eax
push ebp
push 0x488a64
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x488a3f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20d]
mov edx, dword [ebp - 4]
call fcn.00408a9c
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.004028b8
lea eax, [ebp - 0x30d]
mov edx, dword [ebp - 0xc]
call fcn.00408a9c
lea eax, [ebp - 0x354]
xor ecx, ecx
mov edx, 0x44
call fcn.00402d14
mov dword [ebp - 0x354], 0x44
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x354]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x20d]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x488a13
xor eax, eax
mov dword [ebp - 8], eax
call fcn.00403b54
jmp 0x488a46
push 0xffffffffffffffff
mov eax, dword [ebp - 0x364]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x364]
push eax
call sub.kernel32.dll_GetExitCodeProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488a46
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488a6b
lea eax, [ebp - 0xc]
call fcn.004040f0
lea eax, [ebp - 4]
call fcn.004040f0
ret

Function at 0x488a74
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004045a0
xor eax, eax
push ebp
push 0x488aec
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404144
mov eax, dword [ebp - 4]
call fcn.004043b0
mov esi, eax
test esi, esi
jle 0x488ad6
mov ebx, 1
mov eax, edi
call fcn.00404608
movzx edx, word [ebp - 6]
shr edx, 8
mov ecx, dword [ebp - 4]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x488ab9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488af3
lea eax, [ebp - 4]
call fcn.004040f0
ret

Function at 0x488afc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
mov ebx, eax
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
lea eax, [ebp - 0x105]
call fcn.00408bf0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x3c883cfc
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
mov ecx, 0x642961e9
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x4011c0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.zulu_crash_dump.txt
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
pop esi
je 0x4011f4
test al, 0x10
jne 0x4011f4
mov eax, 1
ret
xor eax, eax
ret
Function at 0x407a20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x407a2f
pop dword [ebp - 0x18]
mov eax, 0x2dab5fed
add eax, 0xd2951a42
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xb147857f
sub dword [ebp - 0x28], 0x62f54034
mov dword [ebp - 0x24], 0x9c40cfa7
sub dword [ebp - 0x24], 0x6a0d8362
mov dword [ebp - 0x20], 0x5817d85e
sub dword [ebp - 0x20], 0xbcb9430
mov dword [ebp - 0x1c], 0x7a28ce50
add dword [ebp - 0x1c], 0x85d731b0
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x17bd46c1
sub dword [ebp - 0x28], 0xa34add6b
mov dword [ebp - 0x24], 0x14c9f4a9
add dword [ebp - 0x24], 0x2ca26ccc
mov dword [ebp - 0x20], 0xc6fd09f7
add dword [ebp - 0x20], 0x9c726275
mov dword [ebp - 0x1c], 0xa4ba3e2f
sub dword [ebp - 0x1c], 0xa4ba3e2f
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x992bdf61
add eax, 0x671570eb
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3733f
push 0
call eax
mov ecx, 0xbea8d2de
sub ecx, 0xbea8973b
xor ebx, ebx
add ebx, eax
mov edx, 0x41f400
add edx, dword [ebp - 0x18]
mov edi, 0x15d0cdb9
xor dword [ebp - 0xc], 0xbeaf36c2
mov esi, dword [edx]
add dword [ebp - 0x14], ecx
add esi, edi
add dword [ebp - 4], 0x220411fb
mov dword [ebx], esi
sub dword [ebp - 4], 0x76e9d886
add ebx, 4
add edx, 0x793ab518
add edx, 0x86c54aec
loop 0x407b42
add eax, 0xe15f
xor ebx, ebx
add ebx, eax
add eax, 0xda58bf93
sub eax, 0xda58bf8e
mov ecx, 0x32807e1
sub ecx, 0x2e807e1
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x10001340
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100083a7
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x1000d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x414], edi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x420], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [ebp - 0x41c]
mov dword [ebp - 4], 0
push ecx
push 0xf003f
push 0
push eax
push 0x80000001
mov dword [ebp - 0x420], 1
mov dword [ebp - 0x414], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push esi
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001420
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, edi
call fcn.10006b00
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100074c4
mov esp, ebp
pop ebp
ret
Function at 0x10001ce0
Capabilities:
Delete registry value
Encode data using xor
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4268
call fcn.10008340
mov eax, dword [0x1000d040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_UnloadKeyboardLayout]
test eax, eax
je 0x10001e88
movaps xmm0, xmmword [0x100095c0]
xor ecx, ecx
mov dword [ebp - 0x4248], 0
movups xmmword [ebp - 0x4264], xmm0
mov dword [ebp - 0x4254], 0x1700222e
mov dword [ebp - 0x4250], 0x16131d1e
mov byte [ebp - 0x424c], 0
mov al, byte [ebp - 0x4264]
xor byte [ebp + ecx - 0x4263], al
inc ecx
cmp ecx, 0x17
jb 0x10001d41
lea eax, [ebp - 0x4248]
mov byte [ebp - 0x424c], 0
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x4263]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001e88
push 0x103
push eax
mov byte [ebp - 0x114], al
lea eax, [ebp - 0x113]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x4220], 0x104
lea eax, [ebp - 0x4244]
mov dword [ebp - 0x421c], 0
push eax
lea eax, [ebp - 0x422c]
push eax
lea eax, [ebp - 0x4230]
push eax
lea eax, [ebp - 0x4234]
push eax
lea eax, [ebp - 0x4218]
push eax
lea eax, [ebp - 0x4238]
push eax
lea eax, [ebp - 0x423c]
push eax
lea eax, [ebp - 0x421c]
push eax
push 0
lea eax, [ebp - 0x4220]
push eax
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x4248]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0x4218]
test eax, eax
je 0x10001e88
xor esi, esi
test eax, eax
je 0x10001e88
mov ebx, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
lea eax, [ebp - 0x4224]
mov dword [ebp - 0x4228], 0x3fff
push eax
lea eax, [ebp - 0x214]
mov byte [ebp - 0x4214], 0
push eax
push 0
push 0
lea eax, [ebp - 0x4228]
mov dword [ebp - 0x4224], 0xff
push eax
lea eax, [ebp - 0x4214]
push eax
push esi
push dword [ebp - 0x4248]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x10001e7f
push 0x10
push eax
lea eax, [ebp - 0x214]
push eax
call ebx
add esp, 0xc
cmp eax, edi
je 0x10001e9d
inc esi
cmp esi, dword [ebp - 0x4218]
jb 0x10001e20
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100074c4
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x4214]
push eax
push dword [ebp - 0x4248]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [ebp - 8]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100074c4
mov esp, ebp
pop ebp
ret 4