joyce8/EMBER2024-capa huggingface dataset:
Function at 0x63d6d4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x63d6dc
push ecx
push ebx
xor eax, eax
push ebp
push 0x63d826
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.005f26e0
mov edx, dword [ebp - 0x10]
mov eax, 0x6641a4
call fcn.00408038
lea eax, [ebp - 0x14]
mov ecx, dword [0x6641a4]
mov edx, 0x63d840
call fcn.00408f70
mov eax, dword [ebp - 0x14]
call fcn.005faf10
mov eax, dword [0x65b54c]
cmp byte [eax], 0
je 0x63d737
mov eax, dword [0x6641a4]
call fcn.005fa630
lea edx, [ebp - 0x18]
mov eax, dword [0x6641a4]
call fcn.00599bf0
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0x63d888
call fcn.00408f70
push 0
mov eax, dword [ebp - 4]
call fcn.00408d1c
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x63d7cd
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov al, 0x3b
call fcn.005a1198
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.004220cc
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.0059c210
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
mov ecx, 2
mov al, 0x70
call fcn.005a1168
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x41d264]
call fcn.00427be0
call fcn.00407354
lea eax, [ebp - 8]
call fcn.00613ee0
cmp dword [ebp - 8], 0
je 0x63d7fe
lea eax, [ebp - 0xc]
mov ecx, 0x63d8a4
mov edx, dword [ebp - 4]
call fcn.00408f70
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0063d67c
mov eax, dword [ebp - 0xc]
call fcn.00613f38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63d82d
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00407cb8
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00407cb8
ret

Function at 0x6402cc
Capabilities:
Hide graphical window

Disassembly:
mov byte [0x664499], 1
call fcn.005f4504
test al, al
jne 0x64031e
push 5
mov eax, dword [0x65b440]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x65b440]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
call sub.user32.dll_SetForegroundWindow
push 0
push 1
push 1
mov eax, dword [0x65b454]
mov eax, dword [eax + 0x138]
mov cl, 2
xor edx, edx
call fcn.0064006c
ret

Function at 0x643c44
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, 3
lea ebx, [ebp - 8]
lea esi, [ebp - 0xc]
lea edi, [ebp - 4]
movzx eax, byte [esi]
movzx edx, byte [ebx]
sub eax, edx
imul dword [ebp - 0x10]
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
movzx edx, byte [ebx]
add eax, edx
mov byte [edi], al
inc edi
inc esi
inc ebx
dec ecx
jne 0x643c69
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x645b7c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x645ba8
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jae 0x645bb1
call fcn.00644868
mov eax, 0xa
call fcn.0059c614
call fcn.00644868
call fcn.00645b48
test al, al
jne 0x645b86
pop ebx
ret

Function at 0x6460e4
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x65ae98]
cmp dword [eax], 0
je 0x646193
mov eax, dword [0x65ae98]
mov eax, dword [eax]
call fcn.004f9fcc
test al, al
je 0x646193
mov eax, dword [0x65ae98]
mov eax, dword [eax]
cmp byte [eax + 0x1fd], 0
je 0x646139
cmp byte [ebx + 0x3b1], 0
jne 0x646139
mov eax, dword [0x65b440]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x64613d
xor eax, eax
jmp 0x64613f
mov al, 1
mov ebx, eax
mov eax, dword [0x65ae98]
mov eax, dword [eax]
call fcn.004f9c18
mov edx, 0xfffffff0
push edx
push eax
call sub.user32.dll_GetWindowLongW
test eax, 0x10000000
setne al
cmp bl, al
je 0x646193
test bl, bl
je 0x64617f
push 5
mov eax, dword [0x65ae98]
mov eax, dword [eax]
call fcn.004f9c18
push eax
call sub.user32.dll_ShowWindow
jmp 0x646193
push 0
mov eax, dword [0x65ae98]
mov eax, dword [eax]
call fcn.004f9c18
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x646244
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
add esp, 0xffffffd4
mov byte [0x664451], 0
push 0x6463d0
call sub.kernel32.dll_GetModuleHandleW_2
mov ebx, eax
push 0x6463ec
push ebx
call fcn.0040f4e8
mov esi, eax
test esi, esi
je 0x6462ec
lea eax, [esp + 2]
push eax
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x6462ec
cmp word [esp], 0
je 0x6462ec
mov byte [0x664451], 1
movzx eax, word [esp + 2]
sub ax, 0x14c
je 0x6462b0
sub ax, 0xb4
je 0x6462bc
sub ax, 0x8464
je 0x6462c8
sub ax, 0x2400
je 0x6462d4
jmp 0x6462e0
mov byte [0x65acc9], 1
jmp 0x646388
mov byte [0x65acc9], 3
jmp 0x646388
mov byte [0x65acc9], 2
jmp 0x646388
mov byte [0x65acc9], 4
jmp 0x646388
mov byte [0x65acc9], 0
jmp 0x646388
push 0x64640c
push ebx
call fcn.0040f4e8
test eax, eax
je 0x646334
lea edx, [esp + 8]
push edx
call eax
push 0x646434
push ebx
call fcn.0040f4e8
mov esi, eax
test esi, esi
je 0x64633e
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x64633e
cmp dword [esp + 4], 0
je 0x64633e
mov byte [0x664451], 1
jmp 0x64633e
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetSystemInfo_1
movzx eax, word [esp + 8]
sub ax, 1
jb 0x64635d
sub ax, 5
je 0x646366
sub ax, 3
je 0x64636f
sub ax, 3
je 0x646378
jmp 0x646381
mov byte [0x65acc9], 1
jmp 0x646388
mov byte [0x65acc9], 3
jmp 0x646388
mov byte [0x65acc9], 2
jmp 0x646388
mov byte [0x65acc9], 4
jmp 0x646388
mov byte [0x65acc9], 0
cmp byte [0x664451], 0
je 0x6463c9
call fcn.005f1130
test al, al
je 0x6463c2
push 0x646454
push ebx
call fcn.0040f4e8
test eax, eax
je 0x6463c2
push 0x646488
push 0x6464a8
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.0040f4e8
test eax, eax
jne 0x6463c9
mov byte [0x664451], 0
add esp, 0x2c
pop esi
pop ebx
ret

Function at 0x6464c4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push 0
push 1
lea eax, [ebp - 4]
push eax
mov ecx, 0x646534
mov edx, 0x80000002
xor eax, eax
call fcn.0059b68c
test eax, eax
jne 0x64652d
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x646588
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x646524
cmp dword [ebp - 0xc], 4
jne 0x646524
cmp dword [ebp - 8], 4
jne 0x646524
movzx eax, word [ebp - 0x10]
mov word [0x664468], ax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov esp, ebp
pop ebp
ret
Function at 0x646730
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffdd0
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x6467df
movzx eax, byte [esp + 4]
shl eax, 0x18
movzx edx, byte [esp + 8]
shl edx, 0x10
or eax, edx
movzx edx, word [esp + 0xc]
or eax, edx
mov dword [0x664464], eax
cmp byte [0x664450], 0
je 0x6467df
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x6467d0
mov dword [esp + 0x114], 0x11c
lea eax, [esp + 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x6467df
movzx eax, byte [esp + 0x228]
shl eax, 8
movzx edx, byte [esp + 0x22a]
or ax, dx
mov word [0x664468], ax
movzx eax, byte [esp + 0x22e]
mov byte [0x66446a], al
movzx eax, word [esp + 0x22c]
mov word [0x66446c], ax
jmp 0x6467df
cmp eax, 4
jne 0x6467df
call fcn.006464c4
call fcn.006465a0
add esp, 0x230
ret

Function at 0x64771c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6477c4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x6477e0
push ebx
push 0x6477f0
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00408ff8
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004053f4
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00408d1c
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x6477a2
mov eax, dword [0x65b454]
mov eax, dword [eax + 0x1c8]
call fcn.00647674
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [ebp - 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6477cb
lea eax, [ebp - 4]
call fcn.00407c58
ret
Function at 0x648138
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x64832b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.0059b244
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.005f2564
test al, al
jne 0x6481a5
xor eax, eax
push ebp
push 0x64819b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
xor eax, eax
call fcn.005f2a54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6481a5
push 0
mov eax, dword [ebp - 4]
call fcn.00408d1c
push eax
mov eax, dword [0x664544]
call fcn.00408d1c
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x6481d4
mov eax, dword [0x65b454]
mov eax, dword [eax + 0x1c4]
call fcn.00647674
push 0x80
mov eax, dword [ebp - 4]
call fcn.00408d1c
push eax
call sub.kernel32.dll_SetFileAttributesW
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x65ec50]
push eax
push 0
mov ecx, 0x64833c
mov edx, 0x648340
xor eax, eax
call fcn.0041036c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, 0xfffffffc
mov ecx, 0x647834
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
mov dword [0x664570], eax
xor eax, eax
push ebp
push 0x6482f4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x65b440]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.0059ac2c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x64835c
call fcn.0042359c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
call fcn.0059ab0c
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00408f18
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0064771c
mov dword [ebp - 0xc], eax
call fcn.006477f8
test al, al
jne 0x6482d4
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x6482b2
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6482fb
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyWindow
ret
Function at 0x6496f8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x6499ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x65b440]
mov eax, dword [eax]
mov edx, 0x6499c8
call fcn.0058edc0
push 5
mov eax, dword [0x65b440]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
push ebp
push 0x649973
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.00640558
lea eax, [ebp - 0x10]
call fcn.0059b0bc
mov eax, dword [ebp - 0x10]
call fcn.00423028
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0059ac2c
mov edx, dword [ebp - 0x14]
mov eax, 0x664544
call fcn.00408038
call fcn.00647a04
lea ecx, [ebp - 0x18]
mov edx, 0x6499e8
mov eax, dword [0x664544]
call fcn.00599ce0
mov edx, dword [ebp - 0x18]
mov eax, 0x664548
call fcn.00408038
lea ecx, [ebp - 0x1c]
mov edx, 0x649a00
mov eax, dword [0x664544]
call fcn.00599ce0
mov edx, dword [ebp - 0x1c]
mov eax, 0x66454c
call fcn.00408038
push 2
push 0
push 1
mov ecx, dword [0x664544]
mov dl, 1
mov eax, dword [0x59f2a4]
call fcn.0059fc00
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x649850
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebp - 0x24]
sub edx, 8
mov eax, dword [ebp - 4]
call fcn.0059fbc0
lea edx, [ebp - 0xc]
mov ecx, 8
mov eax, dword [ebp - 4]
call fcn.0059fb98
cmp dword [ebp - 0xc], 0x67734d49
je 0x64982b
mov cl, 1
xor edx, edx
mov eax, dword [0x66454c]
call fcn.005a1348
jmp 0x64983a
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [0x664544]
call fcn.005a1348
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x649857
mov eax, dword [ebp - 4]
call fcn.004060a0
ret
Function at 0x649b44
Capabilities:
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x649c81
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x25c]
mov ecx, 0x649c9c
mov edx, ebx
call fcn.00408f70
mov eax, dword [ebp - 0x25c]
call fcn.00408d1c
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x649c5b
xor eax, eax
push ebp
push 0x649c54
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x649cb8
lea eax, [ebp - 0x22c]
mov ecx, 5
call fcn.00423238
test eax, eax
jne 0x649c25
test byte [ebp - 0x258], 0x10
jne 0x649c25
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x22c]
mov ecx, 0x104
call fcn.00408dc0
mov ecx, dword [ebp - 0x260]
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00408f70
mov esi, dword [ebp - 0x258]
test esi, 1
je 0x649c1d
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 4]
call fcn.00408d1c
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, dword [ebp - 4]
call fcn.004229ac
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x649bb5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x649c5b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x649c88
lea eax, [ebp - 0x260]
mov edx, 2
call fcn.00407cb8
lea eax, [ebp - 4]
call fcn.00407c58
ret
Function at 0x649cc4
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x649dc2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.00407c58
lea edx, [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0059a17c
xor edi, edi
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x649ddc
call fcn.0042359c
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00408f70
mov eax, dword [ebp - 8]
call fcn.00408d1c
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x649d62
test esi, 0x10
jne 0x649d92
test esi, 1
je 0x649d62
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 8]
call fcn.00408d1c
push eax
call sub.kernel32.dll_SetFileAttributesW
push 1
mov eax, dword [ebp - 8]
call fcn.00408d1c
push eax
mov eax, dword [ebp - 0xc]
call fcn.00408d1c
push eax
call sub.kernel32.dll_MoveFileExW
test eax, eax
je 0x649d8c
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00408038
jmp 0x649d9f
inc edi
cmp edi, 0xa
je 0x649d9f
inc ebx
cmp ebx, 0x3e8
jne 0x649d03
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x649dc9
lea eax, [ebp - 0x14]
call fcn.00407c58
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407cb8
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x653666ec
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x115b4fb4
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x1168370
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 0x116838e
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 0x1191074
push ecx
mov edi, eax
call fcn.0117c198
mov esi, eax
add esp, 8
test esi, esi
jne 0x11683cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0117c02e
push esi
call fcn.0117bfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x116b850
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 0x116b8ae
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 0x1196720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x116b8ba
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.0117c1e1
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 0x116b8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x1196720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x116b92a
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.0117d082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x116b957
mov word [eax], si
add eax, 2
push eax
call fcn.0117d030
add esp, 4
jmp 0x116b959
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 0x116b8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x116b8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x116bff0
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 0x116c080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x116c0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x1191458
push ecx
call fcn.0117c1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.0117c1e1
add esp, 0x10
jmp 0x116c0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0117c20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.0117bdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0116c050
mov eax, dword [0x1196728]
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 0x116c13b
push esi
call fcn.0116bfb0
add esp, 4
mov dword [0x1196728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x116c14c
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.0116bff0
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 0x116f440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x116f4b7
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 0x116f48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x116f471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x116f47e
add edx, ecx
cmp ebx, edx
jb 0x116f48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x116f467
xor ecx, ecx
jmp 0x116f4a2
test eax, eax
jne 0x116f492
xor ecx, ecx
jmp 0x116f4a2
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.0116f3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x116f8f0
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 0x116f921
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 0x116f946
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 0x116f96e
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 0x116f993
push ecx
push esi
call fcn.0116f4c0
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