joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e45c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
push 0x48e5c0
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48e5b6
xor eax, eax
push ebp
push 0x48e5af
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4001
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push 0x48e5cc
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
push 0x4000
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push 0x48e5cc
call sub.shell32.dll_SHGetFileInfoA
mov edi, eax
push 0x8000
push 0x10
push 0x10
push 1
push 0x1d
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 1
mov edx, ebx
mov eax, esi
call fcn.0042de4c
push eax
push esi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x20
push 0x20
push 1
push 0x1d
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 1
mov edx, ebx
mov eax, edi
call fcn.0042de4c
push eax
push edi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x10
push 0x10
push 1
push 0x1e
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 2
mov edx, ebx
mov eax, esi
call fcn.0042de4c
push eax
push esi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x20
push 0x20
push 1
push 0x1e
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 2
mov edx, ebx
mov eax, edi
call fcn.0042de4c
push eax
push edi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
mov byte [0x4be63c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e5b6
cmp dword [ebp - 4], 0
je 0x48e5ae
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48e5d0
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
call fcn.0048de44
test al, al
je 0x48e5fc
cmp dword [0x4c0d30], 0x40047
jl 0x48e5fc
cmp byte [0x4be63c], 0
jne 0x48e5fc
call fcn.0048e45c
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x4be640]
or eax, 0x4000
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x48e62c
call sub.shell32.dll_SHGetFileInfoA
add esp, 0x160
pop ebx
ret

Function at 0x48e617
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
call fcn.0048de44
test al, al
je 0x48e5fc
cmp dword [0x4c0d30], 0x40047
jl 0x48e5fc
cmp byte [0x4be63c], 0
jne 0x48e5fc
call fcn.0048e45c
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x4be640]
or eax, 0x4000
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x48e62c
call sub.shell32.dll_SHGetFileInfoA
add esp, 0x160
pop ebx
ret
Function at 0x494528
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x494530
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x494693
push dword fs:[eax]
mov dword fs:[eax], esp
test dl, dl
je 0x494591
lea edx, [ebp - 8]
mov eax, dword [0x4bf178]
call fcn.004065b0
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00491c7c
cmp ebx, 1
jbe 0x4945c8
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x4946ac
call fcn.00409c90
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00404924
jmp 0x4945c8
lea eax, [ebp - 4]
mov edx, 0x4946bc
call fcn.004046f4
cmp ebx, 1
jbe 0x4945c8
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x4946cc
call fcn.00409c90
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.00404924
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
call fcn.00404968
mov eax, dword [ebp - 0x1c]
call fcn.00404b1c
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x49465b
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0xb7
jne 0x494600
mov bl, 1
jmp 0x49466b
push 0
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.0040be34
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x4bf4b0]
call fcn.004065b0
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00491c7c
mov eax, dword [ebp - 0x28]
mov ecx, 1
pop edx
call fcn.0048f3b8
mov eax, dword [ebp - 0x20]
mov cx, word [0x4946d0]
xor edx, edx
call fcn.00432fe0
mov bl, 2
jmp 0x49466b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
call fcn.004046b0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49469a
lea eax, [ebp - 0x2c]
mov edx, 6
call fcn.00404680
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404680
ret

Function at 0x494cfc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x164], ebx
mov ebx, ecx
mov esi, eax
xor eax, eax
push ebp
push 0x494d96
push dword fs:[eax]
mov dword fs:[eax], esp
test edx, 0x40000000
jne 0x494d48
lea edx, [ebp - 0x164]
mov eax, dword [0x4bf4ac]
call fcn.004065b0
mov eax, dword [ebp - 0x164]
mov edx, ebx
call fcn.00491c7c
jmp 0x494d7d
push 0x408
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0
push esi
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x494d76
mov eax, ebx
lea edx, [ebp - 0x50]
mov ecx, 0x50
call fcn.004048cc
jmp 0x494d7d
mov eax, ebx
call fcn.0040465c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494d9d
lea eax, [ebp - 0x164]
call fcn.0040465c
ret
Function at 0x4957a8
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x158], ebx
mov ebx, ecx
test ebx, ebx
js 0x4957db
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4957d4
mov edx, esp
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b0c
mov ecx, dword [ebp - 0xc]
inc ecx
mov eax, dword [ebp - 8]
mov edx, dword [0x4010cc]
call fcn.00405270
xor eax, eax
push ebp
push 0x495969
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
test eax, eax
jl 0x495931
inc eax
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 4]
push 0x495990
push dword [esi]
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.004049dc
mov eax, dword [ebp - 0x158]
call fcn.00404b1c
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x495925
mov eax, dword [ebp - 0x154]
test al, 0x10
jne 0x49590a
test al, 2
jne 0x49590a
xor eax, eax
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push 0x495990
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.004048cc
push dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.004049dc
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x10]
call fcn.0048dfc8
call fcn.00416b0c
test al, al
je 0x4958c8
or edi, 0xffffffff
jmp 0x4958d7
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.0048e164
mov edi, eax
mov eax, dword [ebp - 0x10]
call fcn.0048df2c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.004048cc
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax]
mov ecx, edi
mov edi, dword [eax]
call dword [edi + 0x3c]
lea eax, [ebp - 0x154]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x49585d
push ebx
call sub.kernel32.dll_FindClose_1
add esi, 4
dec dword [ebp - 0x14]
jne 0x495820
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495970
lea eax, [ebp - 0x164]
mov edx, 4
call fcn.00404680
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
inc ecx
mov edx, dword [0x4010cc]
call fcn.00405130
lea eax, [ebp - 4]
call fcn.0040465c
ret

Function at 0x496ac0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x496b42
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x700f0037
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00496bc8
mov eax, dword [ebp - 8]
call fcn.004948a0
test al, al
je 0x496b13
mov eax, dword [ebp - 8]
call fcn.00404b1c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x496b13
and dword [ebp - 4], 0xfffbffff
lea eax, [ebp - 4]
push eax
lea eax, [ebx + 0xc]
push eax
push 1
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x3c0]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496b49
lea eax, [ebp - 8]
call fcn.0040465c
ret
Function at 0x496b68
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffea0
mov esi, edx
mov ebx, eax
cmp dword [ebx + 0x14], 0
jne 0x496bb3
push 0x208
push 0x160
lea eax, [esp + 8]
push eax
push 0
mov eax, ebx
call fcn.00496a9c
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x496bb3
lea eax, [esp + 0xc]
call fcn.004095b4
mov ecx, eax
lea edx, [esp + 0xc]
lea eax, [ebx + 0x14]
call fcn.0040474c
mov eax, esi
mov edx, dword [ebx + 0x14]
call fcn.004046b0
add esp, 0x160
pop esi
pop ebx
ret

Function at 0x49a6bc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b0c
xor eax, eax
push ebp
push 0x49a71b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b1c
push eax
call sub.kernel32.dll_GetDriveTypeA
add eax, 0xfffffffd
sub eax, 2
jb 0x49a6f3
dec eax
jne 0x49a705
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 4]
mov si, 0xff9f
call fcn.00403a44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a722
lea eax, [ebp - 4]
call fcn.0040465c
ret

Function at 0x49a728
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49a7d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c8], 0
jne 0x49a776
push 0x465
mov eax, dword [ebp - 4]
call fcn.0045e560
mov ecx, eax
mov dl, 1
mov eax, dword [0x496d5c]
call fcn.00496dc8
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
call fcn.00497290
lea eax, [ebp - 8]
mov edx, 0x49a7ec
call fcn.004046f4
call sub.kernel32.dll_GetLogicalDrives
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x49a7c1
test bl, 1
je 0x49a7ba
lea eax, [ebp - 8]
call fcn.00404b74
lea edx, [esi + 0x41]
mov byte [eax], dl
push ebp
mov eax, dword [ebp - 8]
call fcn.0049a6bc
pop ecx
shr ebx, 1
inc esi
test ebx, ebx
jne 0x49a79e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a7de
lea eax, [ebp - 8]
call fcn.0040465c
ret
Function at 0x49b36c
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404b0c
xor eax, eax
push ebp
push 0x49b48a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49b45d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
or eax, 1
push eax
call sub.kernel32.dll_SetErrorMode
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404b1c
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x49b43a
test byte [ebp - 0x14c], 0x10
jne 0x49b41d
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.004048cc
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.004089ec
mov edx, dword [ebp - 0x150]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x49b3e0
push ebx
call sub.kernel32.dll_FindClose_1
mov byte [ebp - 5], 1
jmp 0x49b446
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b464
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x4a022c
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, eax
mov al, byte [ebx + 4]
sub al, 1
jb 0x4a023a
je 0x4a023f
jmp 0x4a0264
mov eax, dword [ebx + 8]
pop ebx
ret
cmp dword [ebx + 8], 0
jne 0x4a025f
lea eax, [ebx + 8]
push eax
xor eax, eax
mov al, byte [ebx + 0xc]
push eax
mov eax, dword [0x4bf42c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebx + 8]
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x4a7ad8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a7b06
mov eax, ebx
call fcn.004a858c
cmp dword [ebx + 0x40], 0
je 0x4a7aff
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a7b77
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a7b69
cmp dword [ebx + 8], 0
je 0x4a7b28
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 0x4a7b3a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a7b69
cmp dword [ebx + 8], 0
je 0x4a7b1b
cmp eax, 3
je 0x4a7b4d
dec eax
jne 0x4a7b1b
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 0x4a7b1b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a7b1b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a7b95
cmp dword [ebx + 0x14], 0xcc
je 0x4a7b95
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.004a7ba0
pop ebx
ret
Function at 0x461539
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x461520
push 0xffffffffffffffff
push 0x4464e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x449bbc
lea edi, [esi + 4]
mov dword [edi], 1
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x24]
xor ebx, ebx
mov eax, edx
cmp eax, edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc], edi
je 0x461592
push ebp
mov edi, eax
mov ebp, dword [edi]
mov ebx, ecx
mov dword [ebx], ebp
mov ebp, dword [edi + 4]
mov dword [ebx + 4], ebp
mov ebp, dword [edi + 8]
mov dword [ebx + 8], ebp
mov edi, dword [edi + 0xc]
add eax, 0x10
add ecx, 0x10
cmp eax, edx
mov dword [ebx + 0xc], edi
jne 0x461567
mov edi, dword [esp + 0x10]
xor ebx, ebx
pop ebp
mov eax, dword [esi + 0x28]
mov dword [esi + 0x28], ecx
mov ecx, 0x455b68
mov dword [esp + 0xc], eax
mov dword [esi + 0x30], ebx
call fcn.0044ee08
mov eax, dword [esi + 0x24]
push eax
mov dword [esp + 0x14], eax
call 0x482396
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
add esp, 4
neg esi
sbb esi, esi
and esi, edi
add esi, 4
push esi
call dword [fcn.00458978]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4077cc
Capabilities:
Encode data using xor

Disassembly:
mov ah, 0x21
mov edx, 0x1c9ac3be
adc byte [edi], bh
nop
in eax, 0x36
scasd eax, dword es:[edi]
sub dh, byte [edx + 0x33520fe0]
invalid
Function at 0x67ea85
Capabilities:
Execute anti-debugging instructions

Disassembly:
ror dh, 7
jmp 0x67eab8
ror dh, 7
jmp 0x67eab8
or cx, 0xb5a0
jbe 0x67ea66
ja 0x67ea6f
mov ebx, ebp
mov ax, cx
mov cl, ch
sete dh
mov edx, esi
jmp 0x67e735

Function at 0x6c266e
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x6c269e
mov eax, dword [0x67e61c]
sub esp, 0x16
rcl ecx, 3
mov ch, 0xa6
pop edx
jmp 0x6c2701
push dword [esp + 2]
lea esp, [esp + 8]
call dword [eax + 0x94]
rdtsc
ror dx, cl
jmp 0x6c2670
mov ecx, dword [eax]
lea edx, [esp + ebx]
jmp 0x6c27b4
lea esp, [esp + 2]
jmp 0x6c26eb
mov dword [eax + ecx + 4], ebx
neg eax
lea ecx, [edi + edi]
rdtsc
jmp 0x6c27fd
lea esp, [esp + 0x10]
imul ecx, ecx, 0xc
mov edx, 0xec4e064e
sub esp, 0x12
pop dx
jmp 0x6c2793
mov edx, dword [edi + 0x18]
push edx
add esp, 3
stc
call fcn.006c283e
wait
or eax, 0xa317e49d
or ebx, dword [esi + 0x18a66b0c]
outsd dx, dword [esi]
jbe 0x6c27f2
bswap edx
lea edx, [ebp + 0x36018807]
jmp 0x6c27c7
retf 0x958d
mov ecx, 0x22d7b022
xchg ecx, eax
jecxz 0x6c2814
jne 0x6c2860
xchg edi, eax
mov eax, dword [0x67e61c]
cmc
mov ecx, dword [eax]
bsf dx, ax
mov dx, 0x578f
jmp 0x6c27e2
lea esp, [esp + 2]
jmp 0x6c2868
lea esp, [esp + 1]
mov eax, dword [edi + 0x18]
clc
cmc
call fcn.006c287e
lea esp, [esp + 0x10]
imul eax, eax, 0x14
jmp 0x6c2884
add al, 0x2d
mov dl, 0x20
inc edi
mov dl, 0x77
xor ecx, dword [ecx + 0x66080854]
mov eax, dword [esp]
mov dword [eax + ecx + 8], edx
mov ax, word [esp]
mov eax, 0x5af660ec
sub esp, 0xa
lea esp, [esp + 5]
jmp 0x6c2844
push eax
pushal
pop dword [esp + 0xe]
pop dword [esp + 2]
push esp
jmp 0x6c29f8
call dword [fcn.0067e6c8]
bswap ecx
lea ecx, [eax + edi]
jmp 0x6c2a9b
push dword [0x67e6b4]
jmp 0x6c29ca
lea esp, [esp + 0x1c]
push 8
push esp
lea esp, [esp + 4]
jmp 0x6c29e1
inc edx
imul edx, edx, 0xc
call fcn.006c2a05
mov dword [ecx + edx], eax
push esi
mov esi, edi
jmp 0x6c2a4a
lea esi, [esi + 0x20]
mov eax, dword [esi]
pop esi
call fcn.006c2a83
sub eax, 0xa95a3faf
add byte [edx - 3], al
int3
push edi
mov edi, ecx
mov edx, dword [edi]
pop edi
jmp 0x6c2a22
mov ecx, dword [0x67e61c]
mov edx, 0xcf9a5834
lea edx, [edx + edi]
lea edx, [esp + edx]
mov dh, ch
jmp 0x6c2a60

Function at 0x79a242
Capabilities:
Encode data using xor
Parse pe header

Disassembly:
call fcn.00799009
jmp 0x79ade0
mov eax, dword [eax + 8]
push eax
jmp 0x799004
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x79a829
mov dword [esp + 0xb], esi
mov dword [esp + 0x6c], edi
lea esp, [esp + 0x6c]
mov eax, dword fs:[0x30]
jmp 0x79a86c
Function at 0x4010a0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [ecx + 0x18]
mov edx, 0x10
cmp eax, edx
jb 0x4010b1
mov eax, dword [ecx + 4]
jmp 0x4010b4
lea eax, [ecx + 4]
cmp dword [ecx + 0x34], edx
jb 0x4010be
mov ecx, dword [ecx + 0x20]
jmp 0x4010c1
add ecx, 0x20
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x10]
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
ret 0x10

Function at 0x4016b0
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
sub esp, 0x408
mov eax, dword [0x4120e0]
push 0
push str._nry
mov dword [esp + 0x40c], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.00401000
add esp, 0xc
test al, al
je 0x401729
lea eax, [esp + 4]
push edi
push eax
call fcn.00403d80
lea edi, [esp + 0xc]
add esp, 4
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4016f0
mov ecx, dword [0x40f25c]
push 0x20
lea edx, [esp + 0xc]
push 0
push edx
mov dword [edi], ecx
call fcn.00402960
add esp, 0xc
pop edi
xor eax, eax
mov ecx, dword [esp + 0x404]
call fcn.00404e96
add esp, 0x408
ret 0x10
call fcn.004031d0
test eax, eax
jne 0x401798
push 0x4015d0
push eax
lea eax, [esp + 8]
push eax
call fcn.00402ad0
mov ecx, dword [esp + 0xc]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.E1BE136E16F348a38576B1D7987725E3M
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401784
or eax, 0xffffffff
mov ecx, dword [esp + 0x404]
call fcn.00404e96
add esp, 0x408
ret 0x10
call fcn.004017b0
mov ecx, 0x412ca0
call fcn.004043c0
call fcn.00401820
mov ecx, dword [esp + 0x404]
xor eax, eax
call fcn.00404e96
add esp, 0x408
ret 0x10

Function at 0x4018a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4018ba
test al, 0x10
jne 0x4018ba
mov eax, 1
ret
xor eax, eax
ret

Function at 0x4018c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4018da
test al, 0x10
je 0x4018da
mov eax, 1
ret
xor eax, eax
ret

Function at 0x4019b0
Capabilities:
Copy file

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
ret
Function at 0x4019f0
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x40e8fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x548
mov eax, dword [0x4120e0]
push ebp
mov ebp, dword [esp + 0x55c]
push esi
push ebp
mov dword [esp + 0x550], eax
lea eax, [esp + 0x150]
push str._s.
push eax
call fcn.00404e0d
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401a57
mov al, 1
jmp 0x401af0
push edi
mov dword [esp + 0xc], esi
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [esp + 0x55c], 0
lea ecx, [ecx]
lea eax, [esp + 0x3c]
push 0x40f280
push eax
call fcn.00405580
add esp, 8
test eax, eax
je 0x401acf
lea ecx, [esp + 0x3c]
push 0x40f27c
push ecx
call fcn.00405580
add esp, 8
test eax, eax
je 0x401acf
test byte [esp + 0x10], 0x10
je 0x401b13
lea edx, [esp + 0x3c]
push edx
push ebp
lea eax, [esp + 0x158]
push str._s_s
push eax
call fcn.00404e0d
lea ecx, [esp + 0x160]
push ecx
call fcn.004019f0
add esp, 0x14
test al, al
je 0x401b13
lea edx, [esp + 0x10]
push edx
push esi
call edi
test eax, eax
jne 0x401a70
test esi, esi
je 0x401ae6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov al, 1
pop edi
mov ecx, dword [esp + 0x550]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x548]
pop ebp
call fcn.00404e96
add esp, 0x554
ret
test esi, esi
je 0x401b1e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x401aef

Function at 0x4028a0
Capabilities:
Read file via mapping

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x10]
test ecx, ecx
mov eax, 6
jne 0x4028b4
mov eax, 4
mov ecx, dword [esp + 8]
mov edx, dword [esi + 4]
push ecx
push 0
push 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0xc], eax
pop esi
mov eax, ecx
ret 4

Function at 0x402960
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push edi
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0x18]
push edx
push eax
push eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x74]
or eax, 0x8000000
push eax
push 0
push 0
push 0
push ecx
push 0
mov dword [esp + 0x3c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
jne 0x4029bb
add esp, 0x54
ret
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4029cf
mov edx, dword [esp]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 8]
push ecx
call esi
mov eax, 1
pop esi
add esp, 0x54
ret