joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e0d0
Capabilities:
Create thread

Disassembly:
push ebx
push esi
test dl, dl
je 0x40e0de
add esp, 0xfffffff0
call fcn.004041b4
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.00403e78
mov dword [esi + 0xc], 0xffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [esi + 0x10], eax
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0xffffffff
mov dl, 1
mov eax, dword [0x407ff8]
call fcn.00403e78
mov dword [esi + 0x20], eax
mov eax, esi
test bl, bl
je 0x40e13d
call fcn.0040420c
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
ret

Function at 0x40e1c0
Capabilities:
Move file

Disassembly:
mov edx, dword [eax + 0x18]
push edx
mov eax, dword [eax + 0x14]
push eax
call sub.KERNEL32.DLL_MoveFileA
ret

Function at 0x419a3c
Capabilities:
Create thread

Disassembly:
push 0x44e9c4
call sub.KERNEL32.DLL_GetFullPathNameA
push 0x419a6c
push 0
push 0xffffffffffffffff
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x44e9ac], eax
cmp dword [0x44e9ac], 0
jne 0x419a69
call fcn.0040de34
ret
Function at 0x41a020
Capabilities:
Create thread
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
call sub.KERNEL32.DLL_EnumCalendarInfoA
mov edx, dword [0x449db8]
cmp eax, dword [edx]
jne 0x41a04a
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call dword [ebx + 8]
jmp 0x41a1b7
cmp byte [ebp - 5], 0
je 0x41a05f
mov eax, 0xc
call fcn.00402ec4
mov dword [ebp - 0xc], eax
jmp 0x41a065
lea eax, [ebp - 0x18]
mov dword [ebp - 0xc], eax
movzx ebx, byte [ebp - 5]
xor bl, 1
test bl, bl
je 0x41a085
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.KERNEL32.DLL_CreateThread
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], eax
jmp 0x41a08d
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 8], edx
xor eax, eax
push ebp
push 0x41a196
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x44e9c4
call sub.KERNEL32.DLL_lstrcpynA
xor eax, eax
push ebp
push 0x41a16f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
movzx edx, byte [ebp - 5]
mov byte [eax + 4], dl
cmp dword [0x448ab8], 0
jne 0x41a0d7
mov dl, 1
mov eax, dword [0x4128ac]
call fcn.00403e78
mov dword [0x448ab8], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [eax], edx
mov edx, dword [ebp - 0xc]
mov eax, dword [0x448ab8]
call fcn.00413c04
call fcn.00419ab0
cmp word [0x448aaa], 0
je 0x41a10e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
mov eax, dword [0x448aac]
call dword [0x448aa8]
test bl, bl
je 0x41a157
push 0x44e9c4
call sub.KERNEL32.DLL_GetLastError
xor eax, eax
push ebp
push 0x41a150
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
push eax
call sub.KERNEL32.DLL_MoveFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a157
push 0x44e9c4
call sub.KERNEL32.DLL_lstrcpynA
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a176
push 0x44e9c4
call sub.KERNEL32.DLL_GetLastError
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41a214
Capabilities:
Move file

Disassembly:
push ebx
push esi
add esp, 0xffffffd8
mov esi, eax
mov eax, dword [esi + 4]
mov dword [esp + 4], eax
call sub.KERNEL32.DLL_EnumCalendarInfoA
mov edx, dword [0x449db8]
cmp eax, dword [edx]
jne 0x41a289
xor ebx, ebx
mov eax, dword [0x44e9ac]
mov dword [esp + 8], eax
cmp ebx, 2
jne 0x41a253
push 0
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
call sub.KERNEL32.DLL_SetFileTime
push pe_nt_image_headers32
push 0x3e8
push 0
lea eax, [esp + 0x10]
push eax
push 2
call sub.KERNEL32.DLL_SetFilePointer
mov ebx, eax
cmp ebx, 0xffffffff
setne dl
mov eax, esi
call fcn.00419f20
cmp ebx, 1
jne 0x41a283
xor eax, eax
call fcn.00419ad4
test ebx, ebx
jne 0x41a23c
jmp 0x41a295
push 0xffffffffffffffff
mov eax, dword [esp + 8]
push eax
call sub.KERNEL32.DLL_MoveFileA
push esp
mov eax, dword [esp + 8]
push eax
call sub.KERNEL32.DLL_FindFirstFileA
cmp eax, 1
sbb edx, edx
inc edx
mov eax, esi
call fcn.00419f20
mov eax, dword [esp]
add esp, 0x28
pop esi
pop ebx
ret
Function at 0x41e778
Capabilities:
Query environment variable

Disassembly:
add esp, 0xfffffff0
lea eax, [esp + 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
test eax, eax
je 0x41e7bb
push esp
call sub.KERNEL32.DLL_GetModuleHandleA
test eax, eax
je 0x41e7b4
fild qword [esp]
fild qword [esp + 8]
fdivp st(1)
fmul dword [0x41e7c4]
call fcn.00403210
xor edx, edx
test edx, edx
je 0x41e7c0
call fcn.00403d70
jmp 0x41e7c0
call sub.KERNEL32.DLL_GetEnvironmentVariableA
jmp 0x41e7c0
call sub.KERNEL32.DLL_GetEnvironmentVariableA
add esp, 0x10
ret

Function at 0x41f87c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41f912
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x448b38], 0
jne 0x41f8e2
push 0x276d
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
mov eax, dword [0x449ca4]
call fcn.00406d30
mov eax, dword [ebp - 8]
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0xb
lea edx, [ebp - 0x10]
xor ecx, ecx
pop eax
call fcn.00409a78
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x41f724]
call fcn.0041f7a4
mov eax, ebx
call fcn.00405200
push eax
mov eax, dword [0x448b38]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
mov dword [esi], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f919
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404d94
ret

Function at 0x421a14
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x421ae1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x448b38], 0
jne 0x421ac4
push 0x421af4
call sub.KERNEL32.DLL_GetLocalTime
mov dword [0x448b38], eax
cmp dword [0x448b38], 0
jne 0x421a9c
call sub.KERNEL32.DLL_InterlockedDecrement
push eax
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
mov eax, dword [0x449bf0]
call fcn.00406d30
mov eax, dword [ebp - 8]
push eax
mov eax, 0x421b08
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
lea edx, [ebp - 0x10]
xor ecx, ecx
pop eax
call fcn.00409a78
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x41f724]
call fcn.0041f7a4
call fcn.00404704
push 0x421b14
mov eax, dword [0x448b38]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
mov dword [0x44eba8], eax
mov eax, dword [ebp + 0xc]
push eax
movzx eax, word [ebp + 8]
push eax
call dword [0x44eba8]
mov ebx, eax
jmp 0x421ac6
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421ae8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404d94
ret
Function at 0x44262c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4426a7
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x442687
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040aacc
call fcn.00403210
push eax
call fcn.0040aaa0
call fcn.00403210
pop edx
call fcn.0041c910
push eax
call sub.KERNEL32.DLL_ResumeThread
xor edx, edx
push edx
push eax
lea eax, [ebp - 4]
call fcn.00408824
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x442691
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4426ae
lea eax, [ebp - 4]
call fcn.00404d70
ret

Function at 0x442988
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x442a22
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4429fa
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040ab00
fstp qword [ebp - 0x10]
wait
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov edx, dword [0x449bc8]
mov edx, dword [edx]
lea eax, [ebp - 4]
call fcn.0040b700
call sub.KERNEL32.DLL_DeleteFileA
lea edx, [ebp - 0x14]
call fcn.00409248
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00405088
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x442a04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442a29
lea eax, [ebp - 0x14]
call fcn.00404d70
lea eax, [ebp - 4]
call fcn.00404d70
ret

Function at 0x443258
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4432a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x100
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.advapi32.dll_RegQueryValueExA
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, 0x100
call fcn.00404fe0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4432b1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4434f0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4436a0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x44367b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404d70
lea edx, [ebp - 0x24]
mov eax, 0x4436b8
call fcn.00442ab4
mov eax, dword [ebp - 0x24]
call fcn.00405200
push eax
call sub.KERNEL32.DLL_GetLocalTime
mov ebx, eax
test ebx, ebx
je 0x443671
lea edx, [ebp - 0x28]
mov eax, 0x4436d8
call fcn.00442ab4
mov eax, dword [ebp - 0x28]
call fcn.00405200
push eax
push ebx
call sub.KERNEL32.DLL_GetComputerNameA
mov esi, eax
test esi, esi
je 0x443671
lea eax, [ebp - 0x10]
push eax
call esi
test eax, eax
jne 0x443671
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x443671
movzx eax, byte [ebp - 6]
cmp al, byte [ebp - 0x16]
jne 0x443671
movzx eax, byte [ebp - 5]
cmp al, byte [ebp - 0x15]
jne 0x443671
movzx eax, byte [ebp - 4]
cmp al, byte [ebp - 0x14]
jne 0x443671
movzx eax, byte [ebp - 3]
cmp al, byte [ebp - 0x13]
jne 0x443671
movzx eax, byte [ebp - 2]
cmp al, byte [ebp - 0x12]
jne 0x443671
movzx eax, byte [ebp - 1]
cmp al, byte [ebp - 0x11]
jne 0x443671
lea ecx, [ebp - 0x2c]
movzx eax, byte [ebp - 6]
mov edx, 2
call fcn.0040884c
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x30]
movzx eax, byte [ebp - 5]
mov edx, 2
call fcn.0040884c
push dword [ebp - 0x30]
lea ecx, [ebp - 0x34]
movzx eax, byte [ebp - 4]
mov edx, 2
call fcn.0040884c
push dword [ebp - 0x34]
lea ecx, [ebp - 0x38]
movzx eax, byte [ebp - 3]
mov edx, 2
call fcn.0040884c
push dword [ebp - 0x38]
lea ecx, [ebp - 0x3c]
movzx eax, byte [ebp - 2]
mov edx, 2
call fcn.0040884c
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x40]
movzx eax, byte [ebp - 1]
mov edx, 2
call fcn.0040884c
push dword [ebp - 0x40]
mov eax, edi
mov edx, 6
call fcn.00405104
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x443685
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4436a7
lea eax, [ebp - 0x40]
mov edx, 8
call fcn.00404d94
ret
Function at 0x443704
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff50
push ebx
xor edx, edx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xac], edx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4439b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
lea edx, [ebp - 4]
mov eax, 0x4439cc
call fcn.00442ab4
mov eax, dword [ebp - 0x88]
sub eax, 1
jb 0x443783
je 0x443795
dec eax
je 0x4438bf
jmp case.default.0x4438d1
lea edx, [ebp - 4]
mov eax, 0x4439f0
call fcn.00442ab4
jmp case.default.0x4438d1
mov eax, dword [ebp - 0x90]
sub eax, 1
jb 0x4437b3
sub eax, 9
je 0x44381f
sub eax, 0x50
je 0x44388b
jmp 0x4438ad
lea eax, [ebp - 0xa0]
movzx edx, byte [ebp - 0x83]
call fcn.00404f58
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x9c]
call fcn.00408454
mov eax, dword [ebp - 0x9c]
push eax
lea edx, [ebp - 0xa4]
mov eax, 0x443a14
call fcn.00442ab4
mov edx, dword [ebp - 0xa4]
pop eax
call fcn.00405198
jne 0x44380d
lea eax, [ebp - 4]
mov edx, 0x443a20
call fcn.00404e08
jmp case.default.0x4438d1
lea edx, [ebp - 4]
mov eax, 0x443a2c
call fcn.00442ab4
jmp case.default.0x4438d1
lea eax, [ebp - 0xac]
movzx edx, byte [ebp - 0x83]
call fcn.00404f58
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xa8]
call fcn.00408454
mov eax, dword [ebp - 0xa8]
push eax
lea edx, [ebp - 0xb0]
mov eax, 0x443a40
call fcn.00442ab4
mov edx, dword [ebp - 0xb0]
pop eax
call fcn.00405198
jne 0x443879
lea eax, [ebp - 4]
mov edx, 0x443a4c
call fcn.00404e08
jmp case.default.0x4438d1
lea edx, [ebp - 4]
mov eax, 0x443a58
call fcn.00442ab4
jmp case.default.0x4438d1
cmp dword [ebp - 0x8c], 0x45a0bb8
jne case.default.0x4438d1
lea edx, [ebp - 4]
mov eax, 0x443a6c
call fcn.00442ab4
jmp case.default.0x4438d1
lea edx, [ebp - 4]
mov eax, 0x443a80
call fcn.00442ab4
jmp case.default.0x4438d1
mov eax, dword [ebp - 0x94]
add eax, 0xfffffffd
cmp eax, 4
ja case.default.0x4438d1
jmp dword [eax*4 + 0x4438d8]
lea edx, [ebp - 4]
mov eax, 0x443a94
call fcn.00442ab4
jmp case.default.0x4438d1
lea edx, [ebp - 4]
mov eax, 0x443aac
call fcn.00442ab4
jmp case.default.0x4438d1
mov eax, dword [ebp - 0x90]
sub eax, 1
jb 0x44391f
je 0x44392e
dec eax
je 0x44393d
jmp 0x44394c
lea edx, [ebp - 4]
mov eax, 0x443ac4
call fcn.00442ab4
jmp case.default.0x4438d1
lea edx, [ebp - 4]
mov eax, 0x443adc
call fcn.00442ab4
jmp case.default.0x4438d1
lea edx, [ebp - 4]
mov eax, 0x443af0
call fcn.00442ab4
jmp case.default.0x4438d1
lea eax, [ebp - 4]
mov edx, 0x443b08
call fcn.00404e08
jmp case.default.0x4438d1
lea edx, [ebp - 4]
mov eax, 0x443b18
call fcn.00442ab4
mov byte [0x44f8fd], 1
jmp case.default.0x4438d1
lea edx, [ebp - 4]
mov eax, 0x443b34
call fcn.00442ab4
mov byte [0x44f8fd], 1
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404dc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4439bc
lea eax, [ebp - 0xb0]
mov edx, 6
call fcn.00404d94
lea eax, [ebp - 4]
call fcn.00404d70
ret
Function at 0x40d0e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40d10d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d10d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0xae89f4
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00ae89f4
ret
Function at 0x5de370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x5de38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x607074
push ecx
mov edi, eax
call fcn.005f2198
mov esi, eax
add esp, 8
test esi, esi
jne 0x5de3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.005f202e
push esi
call fcn.005f1fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x5e1850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x5e18ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x60c720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x5e18ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.005f21e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x5e18ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x60c720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x5e192a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.005f3082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x5e1957
mov word [eax], si
add eax, 2
push eax
call fcn.005f3030
add esp, 4
jmp 0x5e1959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x5e18ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x5e18b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x5e1ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x5e2080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x5e20c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x607458
push ecx
call fcn.005f21e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.005f21e1
add esp, 0x10
jmp 0x5e20d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.005f220b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.005f1dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.005e2050
mov eax, dword [0x60c728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x5e213b
push esi
call fcn.005e1fb0
add esp, 4
mov dword [0x60c728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x5e214c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.005e1ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x5e5440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x5e54b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x5e548e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5e5471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x5e547e
add edx, ecx
cmp ebx, edx
jb 0x5e548a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x5e5467
xor ecx, ecx
jmp 0x5e54a2
test eax, eax
jne 0x5e5492
xor ecx, ecx
jmp 0x5e54a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.005e53c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x5e58f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5e5921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x5e5946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x5e596e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x5e5993
push ecx
push esi
call fcn.005e54c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0x5e6c00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x5e6c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x5e6c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x5e6c38
add edx, eax
cmp ebx, edx
jb 0x5e6c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x5e6c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x5e6c50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0x5e6c70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x5e6cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5e6c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x5e6ca8
add edx, ecx
cmp ebx, edx
jb 0x5e6cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x5e6c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x5e6f60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.005f3145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x5e6ffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x5e6fdd
lea eax, [esp + 0x18]
push eax
jmp 0x5e6fe2
push 0x60c720
call fcn.005f2fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x5e6fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x5e6f40
push 4
push ecx
push eax
call fcn.005f343f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret