joyce8/EMBER2024-capa huggingface dataset:
Function at 0x515350
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
test dl, dl
je 0x51536b
add esp, 0xfffffff0
call fcn.00403ddc
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.00404e00
xor eax, eax
push ebp
push 0x515487
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402c50
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0040a0d4
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 4]
call fcn.004049a4
lea eax, [ebx + 0x18]
mov edx, dword [ebp - 8]
call fcn.004049a4
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4ca2f0]
call fcn.004ce928
mov dword [ebx + 8], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4ca210]
call fcn.004d3e18
mov dword [ebx + 0xc], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4cb1ac]
call fcn.004d21e0
mov dword [ebx + 0x10], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4ca770]
call fcn.004d1fa8
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov dword [esi + 0x58], eax
lea eax, [esi + 0x30]
mov edx, 0x5154b8
call fcn.004049a4
mov edx, dword [ebx + 4]
lea eax, [ebp - 0x14]
mov ecx, 0x5154c8
call fcn.00404c5c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 8]
call fcn.004cdbb8
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
add eax, 0x74
mov ecx, 0x5154d8
call fcn.00404c5c
mov eax, dword [ebx + 8]
add eax, 0x80
mov edx, 0x5154f0
call fcn.004049a4
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x1b8], edx
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x1e8], edx
xor edx, edx
mov eax, ebx
call fcn.00403a88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51548e
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404974
ret

Function at 0x515c74
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x515ce8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, 0x515cfc
mov edx, dword [ebx + 4]
call fcn.00404c5c
mov eax, dword [ebp - 4]
call fcn.00409d98
test al, al
je 0x515cc6
lea eax, [ebp - 8]
mov ecx, 0x515cfc
mov edx, dword [ebx + 4]
call fcn.00404c5c
mov eax, dword [ebp - 8]
call fcn.00404e10
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, ebx
call fcn.00515544
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x515cef
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404974
ret
Function at 0x5163e4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
mov esi, dword [0x54aaac]
xor eax, eax
push ebp
push 0x5165b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x51658d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 8]
call fcn.004ce654
mov eax, 0x5165d0
call fcn.00488364
mov eax, dword [esi]
mov eax, dword [eax + 0x68]
push eax
mov ecx, 0x5165f0
mov edx, 0x516600
mov eax, ebx
call fcn.005171b0
mov eax, dword [esi]
mov eax, dword [eax + 0x68]
push eax
mov ecx, 0x5165f0
mov edx, 0x516600
mov eax, ebx
call fcn.00515ec8
mov eax, 0x516618
call fcn.00488364
mov eax, dword [esi]
mov eax, dword [eax + 0x84]
push eax
mov ecx, 0x516638
mov edx, 0x516644
mov eax, ebx
call fcn.005167ec
mov eax, dword [esi]
mov eax, dword [eax + 0x84]
push eax
mov ecx, 0x516638
mov edx, 0x516644
mov eax, ebx
call fcn.00515d04
mov eax, 0x51665c
call fcn.00488364
push 0x51667c
mov eax, dword [esi]
mov eax, dword [eax + 0x98]
push eax
mov ecx, 0x516638
mov edx, 0x516690
mov eax, ebx
call fcn.00517e4c
push 0x51667c
mov ecx, 0x516638
mov edx, 0x516690
mov eax, ebx
call fcn.00516144
mov eax, 0x5166ac
call fcn.00488364
mov eax, dword [esi]
mov ecx, dword [eax + 0xb0]
mov edx, 0x5166cc
mov eax, ebx
call fcn.00518d0c
mov eax, 0x5166e4
call fcn.00488364
mov eax, dword [esi]
mov ecx, dword [eax + 0xa8]
mov edx, 0x516708
mov eax, ebx
call fcn.00518d0c
mov eax, 0x516724
call fcn.00488364
mov eax, dword [esi]
mov ecx, dword [eax + 0xc0]
mov edx, 0x516748
mov eax, ebx
call fcn.00518d0c
mov eax, 0x516764
call fcn.00488364
mov eax, dword [ebx + 8]
xor edx, edx
call fcn.004cdca0
mov eax, dword [ebx + 8]
call fcn.004ce6a4
mov eax, 0x516784
call fcn.00488364
mov edx, dword [ebx + 4]
lea eax, [ebp - 8]
mov ecx, 0x5167a4
call fcn.00404c5c
mov eax, dword [ebp - 8]
call fcn.00404e10
push eax
call sub.kernel32.dll_DeleteFileA
mov byte [ebp - 1], 1
mov eax, 0x5167b4
call fcn.00488364
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5165a1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5165be
lea eax, [ebp - 8]
call fcn.00404950
ret
Function at 0x521df8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c
push ebx
xor edx, edx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x521fb0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x370]
mov edx, 0x521fc4
call fcn.004520a4
mov dl, 1
mov eax, dword [0x43b634]
call fcn.0043b7a0
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x521f83
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x9c], 6
jne 0x521ec4
mov edx, 0x80000001
mov eax, dword [ebp - 4]
call fcn.0043b87c
mov cl, 1
mov edx, 0x521ff0
mov eax, dword [ebp - 4]
call fcn.0043b8e4
test al, al
je 0x521e9c
lea ecx, [ebp - 8]
mov edx, 0x522048
mov eax, dword [ebp - 4]
call fcn.0043baac
mov eax, dword [ebp - 8]
mov edx, 0x522058
call fcn.00404d5c
jne 0x521f6d
mov eax, dword [ebx + 0x370]
mov edx, 0x52206c
call fcn.004520a4
jmp 0x521f6d
mov edx, 0x80000000
mov eax, dword [ebp - 4]
call fcn.0043b87c
mov cl, 1
mov edx, 0x522098
mov eax, dword [ebp - 4]
call fcn.0043b8e4
test al, al
je 0x521ef9
lea ecx, [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0043baac
mov eax, dword [ebp - 4]
call fcn.0043b84c
mov cl, 1
mov edx, 0x5220c4
mov eax, dword [ebp - 4]
call fcn.0043b8e4
test al, al
je 0x521f21
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0043baac
mov eax, dword [ebp - 4]
call fcn.0043b84c
mov eax, dword [ebp - 8]
mov edx, 0x522058
call fcn.00404d5c
jne 0x521f6d
lea edx, [ebp - 0xa4]
xor eax, eax
call fcn.00402c50
lea eax, [ebp - 0xa4]
mov edx, 0x5220e4
call fcn.00404c18
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xc]
call fcn.00404d5c
jne 0x521f6d
mov eax, dword [ebx + 0x370]
mov edx, 0x52206c
call fcn.004520a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x521f8a
mov eax, dword [ebp - 4]
call fcn.00403ab8
ret

Function at 0x522114
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
xor edx, edx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x98], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5221cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x90], 6
jne 0x522187
lea edx, [ebp - 0x98]
xor eax, eax
call fcn.00402c50
lea eax, [ebp - 0x98]
mov edx, 0x5221e4
call fcn.00404c18
mov edx, dword [ebp - 0x98]
mov eax, ebx
call fcn.005221f0
jmp 0x5221b1
lea edx, [ebp - 0x9c]
xor eax, eax
call fcn.00402c50
lea eax, [ebp - 0x9c]
mov edx, 0x5221e4
call fcn.00404c18
mov edx, dword [ebp - 0x9c]
mov eax, ebx
call fcn.00522410
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5221d6
lea eax, [ebp - 0x9c]
mov edx, 2
call fcn.00404974
ret
Function at 0x52ef74
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff688
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x978], ecx
mov dword [ebp - 0x974], ecx
mov dword [ebp - 0x970], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov esi, eax
lea eax, [ebp - 0x16c]
mov edx, dword [0x4084c4]
call fcn.004053e4
xor eax, eax
push ebp
push 0x52f1a9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov ecx, 0x52f1c4
mov edx, ebx
call fcn.00404c5c
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0040a0d4
lea ecx, [ebp - 0x16c]
mov edx, 0x3f
mov eax, dword [ebp - 0xc]
call fcn.00409f18
test eax, eax
jne 0x52f0d4
lea eax, [ebp - 0x970]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x10]
call fcn.00404c5c
mov eax, dword [ebp - 0x970]
call fcn.00404e10
push eax
push 0x800
lea eax, [ebp - 0x96c]
push eax
push 0
push 0x52f1cc
push 0x52f1d0
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x96c]
lea eax, [ebp - 0x14]
call fcn.00404a40
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x160]
call fcn.00404c10
mov ecx, eax
sub ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x160]
call fcn.00404e70
mov eax, dword [esi + 0x30c]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 8]
xor edx, edx
call fcn.0044192c
mov edi, eax
lea eax, [ebp - 0x14]
mov edx, 0x52f1ec
call fcn.00404c18
mov eax, dword [ebp - 0x14]
call fcn.00404c10
call fcn.00402850
mov ebx, eax
mov eax, dword [ebp - 0x14]
call fcn.00404c10
push eax
lea eax, [ebp - 0x14]
call fcn.00404e68
mov edx, eax
mov eax, ebx
pop ecx
call fcn.00407e20
mov edx, ebx
mov eax, edi
call fcn.004406e4
lea eax, [ebp - 0x16c]
call fcn.00409f68
test eax, eax
je 0x52eff8
lea eax, [ebp - 0x974]
mov ecx, 0x52f1f8
mov edx, dword [ebp - 0x10]
call fcn.00404c5c
mov eax, dword [ebp - 0x974]
lea ecx, [ebp - 0x16c]
mov edx, 0x3f
call fcn.00409f18
test eax, eax
jne 0x52f152
test dword [ebp - 0x164], 0x10
jle 0x52f143
mov eax, dword [ebp - 0x160]
cmp byte [eax], 0x2e
je 0x52f143
push dword [ebp - 0x10]
push 0x52f208
push dword [ebp - 0x160]
lea eax, [ebp - 0x978]
mov edx, 3
call fcn.00404cd0
mov edx, dword [ebp - 0x978]
mov eax, esi
call fcn.0052ef74
lea eax, [ebp - 0x16c]
call fcn.00409f68
test eax, eax
je 0x52f101
lea eax, [ebp - 0x16c]
call fcn.00409f8c
mov eax, dword [esi + 0x2f8]
mov edx, 1
call fcn.00440388
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52f1b0
lea eax, [ebp - 0x978]
mov edx, 3
call fcn.00404974
lea eax, [ebp - 0x16c]
mov edx, dword [0x4084c4]
call fcn.004054b4
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404974
ret
Function at 0x52f528
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 0x110], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x52f5b2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 6
mov eax, ebx
call fcn.00458894
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
call fcn.0052f67c
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x109]
call fcn.0040a56c
mov edx, dword [ebp - 0x110]
mov eax, ebx
call fcn.0052ef74
mov eax, ebx
call fcn.0052f7c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52f5b9
lea eax, [ebp - 0x110]
call fcn.00404950
ret

Function at 0x532f5c
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404e00
xor eax, eax
push ebp
push 0x5330d7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x5330af
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x44
call fcn.004032b8
mov dword [ebp - 0x54], 0x44
mov word [ebp - 0x24], 1
mov dword [ebp - 0x28], 0x101
mov word [ebp - 0x24], 4
lea edx, [ebp - 8]
xor eax, eax
call fcn.00402c50
lea eax, [ebp - 0x10]
mov edx, dword [0x54a844]
mov edx, dword [edx]
call fcn.004049e8
cmp dword [ebp - 0x10], 0
jne 0x532fef
lea eax, [ebp - 0x10]
mov edx, 0x5330ec
call fcn.004049e8
mov eax, dword [0x54a56c]
push dword [eax]
push 0x533100
mov eax, dword [ebx + 0x2f8]
mov eax, dword [eax + 0x260]
mov edx, dword [eax]
call dword [edx + 0x14]
lea edx, [ebp - 0x68]
call fcn.0040982c
push dword [ebp - 0x68]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404cd0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
push dword [ebp - 8]
push 0x533114
push dword [ebp - 4]
push 0x53312c
push dword [ebp - 0xc]
push 0x533138
push dword [ebp - 0x10]
lea eax, [ebp - 0x6c]
mov edx, 7
call fcn.00404cd0
mov eax, dword [ebp - 0x6c]
call fcn.00404e10
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x533095
push 0
push 0x53313c
push 0x533144
mov eax, ebx
call fcn.00458894
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x5330af
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x4f0]
call fcn.0048ecc8
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5330de
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.00404974
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404974
ret
Function at 0x53435c
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
xor ebx, ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404e00
mov eax, dword [ebp - 8]
call fcn.00404e00
mov eax, dword [ebp + 0x14]
call fcn.00404e00
mov eax, dword [ebp + 0x10]
call fcn.00404e00
mov eax, dword [ebp + 0xc]
call fcn.00404e00
mov eax, dword [ebp + 8]
call fcn.00404e00
xor eax, eax
push ebp
push 0x534561
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jne 0x5343d0
lea eax, [ebp - 8]
mov edx, 0x534578
call fcn.004049e8
cmp dword [ebp + 8], 0
jne 0x5343e3
lea eax, [ebp + 8]
mov edx, 0x534578
call fcn.004049e8
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x44
call fcn.004032b8
mov dword [ebp - 0x5c], 0x44
mov word [ebp - 0x2c], 1
mov dword [ebp - 0x30], 0x101
mov word [ebp - 0x2c], 4
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00402c50
lea eax, [ebp - 0x14]
mov edx, dword [0x54a844]
mov edx, dword [edx]
call fcn.004049e8
cmp dword [ebp - 0x14], 0
jne 0x534439
lea eax, [ebp - 0x14]
mov edx, 0x534588
call fcn.004049e8
mov eax, dword [0x54a56c]
push dword [eax]
push 0x53459c
mov eax, dword [ebx + 0x2f8]
mov eax, dword [eax + 0x260]
mov edx, dword [eax]
call dword [edx + 0x14]
lea edx, [ebp - 0x70]
call fcn.0040982c
push dword [ebp - 0x70]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404cd0
push 0x5345b0
push dword [ebp + 0x14]
push 0x5345c8
push dword [ebp - 0x10]
push 0x5345d4
push dword [ebp - 0x14]
push 0x5345d4
push dword [ebp - 4]
push 0x5345e0
push dword [ebp - 8]
push 0x5345e0
push dword [ebp + 0x10]
push 0x5345e0
push dword [ebp + 0xc]
push 0x5345e0
push dword [ebp + 8]
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.00404cd0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
call fcn.00404c5c
mov eax, dword [ebp - 0x74]
call fcn.00404e10
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x534512
push 0
push 0x5345e4
push 0x5345ec
mov eax, ebx
call fcn.00458894
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x53452c
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x4f0]
call fcn.0048ecc8
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x534568
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404974
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00404974
lea eax, [ebp + 8]
mov edx, 4
call fcn.00404974
ret
Function at 0x5349f8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x534bce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404950
push 0
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [0x54aa1c]
mov eax, dword [eax]
mov ecx, 0x534be4
mov edx, 0x534bf8
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x2c]
call fcn.00409da8
test al, al
je 0x534a62
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x2c]
call fcn.004049a4
jmp 0x534b9b
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call sub.kernel32.dll_GetLogicalDrives
mov esi, eax
xor ebx, ebx
mov ecx, ebx
mov eax, 1
shl eax, cl
and eax, esi
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x534b19
lea eax, [ebp - 0x34]
mov edx, ebx
add dl, 0x41
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x38]
call fcn.0040319c
mov edx, 0x534c04
lea eax, [ebp - 0x38]
mov cl, 2
call fcn.0040316c
lea edx, [ebp - 0x38]
lea eax, [ebp - 8]
call fcn.00404bb4
mov eax, dword [ebp - 8]
call fcn.00404e10
mov edi, eax
push edi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x534b19
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
mov eax, dword [0x54a768]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0xc]
jne 0x534b00
cmp eax, dword [ebp - 0x10]
jae 0x534b19
jmp 0x534b02
jge 0x534b19
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.004049e8
inc ebx
cmp ebx, 0x1a
jne 0x534a79
lea eax, [ebp - 0x2c]
mov ecx, 0x534c10
mov edx, dword [ebp - 0x1c]
call fcn.00404c5c
mov eax, dword [ebp - 0x2c]
call fcn.00409dcc
mov eax, dword [ebp - 0x2c]
call fcn.00409da8
test al, al
jne 0x534b76
lea edx, [ebp - 0x30]
xor eax, eax
call fcn.00402c50
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
mov dl, byte [edx]
call fcn.00404b38
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov ecx, 0x534c20
call fcn.00404c5c
mov eax, dword [ebp - 0x2c]
call fcn.00409dcc
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [0x54aa1c]
mov eax, dword [eax]
mov ecx, 0x534be4
mov edx, 0x534bf8
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x2c]
call fcn.004049a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x534bd5
lea eax, [ebp - 0x3c]
call fcn.00404950
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00404974
lea eax, [ebp - 0x1c]
call fcn.00404950
lea eax, [ebp - 8]
call fcn.00404950
ret
Function at 0x53dfb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
mov eax, dword [eax + 8]
test eax, eax
jle 0x53e065
dec eax
cmp eax, 0
jl 0x53e065
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
mov edx, dword [ebp - 0xc]
call fcn.0041f1fc
mov ebx, eax
mov eax, ebx
call fcn.00458894
cmp eax, dword [ebp - 8]
jne 0x53e058
xor eax, eax
push ebp
push 0x53e04e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, ebx
call fcn.00458894
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.0052a870
xor edx, edx
mov eax, ebx
call fcn.0052a8c0
mov eax, ebx
call fcn.00403ab8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
mov edx, dword [ebp - 0xc]
call fcn.0041f0ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53e058
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x53dfe0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
cmp dword [eax + 8], 0
jne 0x53e07c
mov eax, dword [ebp - 4]
call fcn.0046e724
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100dc02
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov edi, edi
rdtsc
sub esp, 0x2c
mov dword [0x104c148], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0x80000000
cmp dword [0x104d40c], 0
mov dword [0x104c144], eax
jne 0x100dc46
push 0x104d520
call fcn.01038ff2
test eax, eax
jl 0x100dde9
mov dword [0x104d40c], 1
push esi
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, 0x1000000
mov eax, dword [0x100003c]
mov ecx, dword [eax + 0x1000050]
add ecx, edx
mov eax, dword [ebp - 0x24]
lea esi, [eax - 0x80000000]
cmp ecx, esi
jb 0x100dc76
lea eax, [ecx - 0x80000000]
add eax, 0xffff
mov ecx, dword [ebp - 0x20]
and eax, 0xffff0000
mov dword [0x104c120], eax
lea esi, [ecx - 0x80000000]
cmp esi, edx
pop esi
jb 0x100dc98
mov ecx, 0x81000000
mov dword [0x104d4b8], ecx
xor ecx, ecx
mov word [0x104d4b8], cx
mov ecx, dword [0x104d4b8]
sub ecx, eax
shr ecx, 0x10
mov dword [0x104c00c], ecx
xor eax, eax
test eax, eax
jl 0x100dde9
mov ecx, dword [0x104c5a8]
jmp 0x100dcea
imul ecx, ecx, 0x18
add ecx, 0x104c0c0
push ecx
call fcn.01038ff2
test eax, eax
jl 0x100dcef
mov ecx, dword [0x104c5a8]
inc ecx
mov dword [0x104c5a8], ecx
cmp ecx, 4
jb 0x100dcca
mov dword [ebp - 4], eax
test eax, eax
jl 0x100dde9
mov eax, dword [0x1040344]
test eax, eax
je 0x100dd89
lea eax, [ebp - 8]
push eax
mov eax, dword [0x1005bf8]
mov ecx, dword [0x1040344]
imul eax, ecx
push 0x40
push eax
push 0x1043008
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100dd4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100dd3c
mov eax, 0x54f
test eax, eax
jle 0x100dd8b
and eax, 0xffff
or eax, 0x80070000
jmp 0x100dd8b
xor edx, edx
mov eax, dword [0x1040344]
test eax, eax
jbe 0x100dd89
mov ecx, dword [0x1005bf8]
mov eax, dword [0x1005bf8]
imul eax, edx
test ecx, ecx
lea eax, [eax + 0x1043008]
je 0x100dd74
mov byte [eax], 0
inc eax
dec ecx
jne 0x100dd6d
mov eax, dword [0x1040344]
mov dword [edx*4 + 0x104d53c], 0xd1a4
inc edx
cmp edx, eax
jb 0x100dd55
xor eax, eax
test eax, eax
jl 0x100dde9
mov ecx, dword [0x104c4e0]
test ecx, ecx
je 0x100ddd2
mov eax, dword [0x104c4d8]
lea edx, [eax + 0x104c508]
add eax, dword [0x104c4dc]
mov dword [0x104c4f0], edx
mov dword [0x104c4e8], 0x104c508
lea edx, [eax + 0x104c508]
mov dword [0x104c4f8], edx
lea eax, [eax + ecx + 0x104c508]
mov dword [0x104c500], eax
and dword [ebp - 4], 0
push edi
lea edi, [ebp - 4]
mov eax, 0xbf4903be
mov eax, dword [ebp - 4]
test eax, eax
pop edi
jl 0x100dde9
xor eax, eax
leave
ret