joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447510
Capabilities:
Create process on windows
Set current directory
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x693b54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov eax, dword [0x6ce36c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x40], ecx
push 1
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x88c]
call fcn.0049e800
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 0xe
je 0x447558
jmp 0x447665
cmp dword [0x6f0404], 0
je 0x447566
call fcn.00402010
push 0
call fcn.004f34a0
add esp, 4
push 0
call fcn.00517970
add esp, 4
call fcn.0050fdc0
call fcn.005085a0
mov edx, dword [0x6f5770]
movsx eax, byte [edx]
cmp eax, 1
jne 0x447597
call fcn.00401080
mov ecx, dword [0x6f5448]
push ecx
mov edx, dword [0x6f237c]
push edx
push 0
call fcn.0040fc70
add esp, 0xc
mov ecx, 0x6f4550
call fcn.0049cd70
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [ebp - 0x30], 0
jmp 0x4475d2
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, 0x6f3b34
call fcn.0049d450
cmp dword [ebp - 0x30], eax
jge 0x447603
push 0
push 0x10
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, 0x6f3b34
call fcn.0049d4e0
mov ecx, eax
call fcn.0049cd70
push eax
call dword [sym.imp.GDI32.dll_RemoveFontResourceExA]
jmp 0x4475c9
mov ecx, 0x6f5718
call fcn.0048cf80
mov ecx, 0x6f4550
call fcn.0049cd70
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x6f4550
lea ecx, [ebp - 0x2c]
call fcn.0049ca60
mov dword [ebp - 4], 0
push 0x69d4dc
lea ecx, [ebp - 0x2c]
call fcn.0049cb70
push 1
push 0x69d4e5
push 0x69d4e6
lea ecx, [ebp - 0x2c]
call fcn.0049cd70
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call fcn.004cbce7
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x69d4e7
call fcn.0049cab0
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 4], 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x69d4e8
call fcn.0049cab0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0x69d528
call fcn.0049cab0
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040ffb0
add esp, 0x54
mov dword [0x6f3fa8], 0xffffffff
mov ecx, dword [ebp - 0x40]
call fcn.00432480
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cac87
mov esp, ebp
pop ebp
ret
Function at 0x448940
Capabilities:
Set current directory
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x6f0404], 0
je 0x448952
call fcn.00402010
push 0
call fcn.004f34a0
add esp, 4
call fcn.0050fdc0
push 0
call fcn.00517970
add esp, 4
call fcn.005085a0
mov eax, dword [0x6f5770]
movsx ecx, byte [eax]
cmp ecx, 1
jne 0x448982
call fcn.00401080
mov edx, dword [0x6f5448]
push edx
mov eax, dword [0x6f237c]
push eax
push 0
call fcn.0040fc70
add esp, 0xc
mov ecx, 0x6f4550
call fcn.0049cd70
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [ebp - 4], 0
jmp 0x4489bc
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov ecx, 0x6f3b34
call fcn.0049d450
cmp dword [ebp - 4], eax
jge 0x4489ed
push 0
push 0x10
mov edx, dword [ebp - 4]
push edx
mov ecx, 0x6f3b34
call fcn.0049d4e0
mov ecx, eax
call fcn.0049cd70
push eax
call dword [sym.imp.GDI32.dll_RemoveFontResourceExA]
jmp 0x4489b3
mov ecx, 0x6f5718
call fcn.0048cf80
push 0
call fcn.004cbce7
mov esp, ebp
pop ebp
ret
Function at 0x44e960
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69578a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
push fcn.0044ebc0
push fcn.0049d030
push 3
push 0xc
mov eax, dword [ebp - 0x10]
push eax
call fcn.004cd08d
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0049d030
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0049d030
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.0049ef20
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0xa0
call fcn.0049d690
mov byte [ebp - 4], 4
push fcn.0049e600
push fcn.0049ef20
push 3
push 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 0xac
push ecx
call fcn.004cd08d
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0xe0
call fcn.0049ef20
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0xf0
call fcn.0049ef20
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x100
call fcn.0049ef20
mov byte [ebp - 4], 8
push fcn.0049e600
push fcn.0049ef20
push 2
push 0x10
mov edx, dword [ebp - 0x10]
add edx, 0x130
push edx
call fcn.004cd08d
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0x150
call fcn.0049ef20
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x50], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x54], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x58], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x5c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x60], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x68], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x6c], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x7c], 0x64
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x74], 0x64
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xdc], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x114], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x118], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x11c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x120], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x80], 0x64
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x84], 0x64
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x124], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x12c], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x110], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x4c], 0
mov ecx, 0x6f3b74
call fcn.0049dbe0
mov ecx, 0x6f3b80
call fcn.0049dbe0
mov ecx, dword [ebp - 0x10]
add ecx, 0xac
call fcn.0049e600
mov ecx, dword [ebp - 0x10]
add ecx, 0xbc
call fcn.0049e600
mov ecx, dword [ebp - 0x10]
add ecx, 0xcc
call fcn.0049e600
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.0049e600
mov ecx, dword [ebp - 0x10]
add ecx, 0x150
call fcn.0049e600
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x451350
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x458
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x450]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x458], 0x103
jne 0x4513bf
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x450], 0
je 0x4513a6
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.004513e0
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x6f4550
call fcn.0049cd70
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esp, ebp
pop ebp
ret
Function at 0x4513e0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6940f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov dword [ebp - 0x34], ecx
xor eax, eax
je 0x451548
cmp dword [ebp + 0x10], 0
je 0x451473
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
mov edx, dword [ebp + 0x10]
push edx
call fcn.0049cab0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
mov edx, dword [ebp + 0xc]
push edx
call fcn.0049cab0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
mov edx, dword [ebp + 8]
push edx
call fcn.0049cab0
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040ffb0
add esp, 0x54
jmp 0x451548
cmp dword [ebp + 0xc], 0
je 0x4514de
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x69d8f9
call fcn.0049cab0
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
mov edx, dword [ebp + 0xc]
push edx
call fcn.0049cab0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
mov edx, dword [ebp + 8]
push edx
call fcn.0049cab0
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040ffb0
add esp, 0x54
jmp 0x451548
cmp dword [ebp + 8], 0
je 0x451548
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x69d8f9
call fcn.0049cab0
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x69d8f9
call fcn.0049cab0
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 5
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x30], esp
mov edx, dword [ebp + 8]
push edx
call fcn.0049cab0
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040ffb0
add esp, 0x54
mov ecx, dword [ebp - 0x34]
call fcn.004515f0
mov ecx, dword [ebp - 0x34]
add ecx, 0x238
call fcn.0044ef30
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x230], 0
je 0x45157a
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x230]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x234], 0
je 0x451596
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x234]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, 0x6f4550
call fcn.0049cd70
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x18c], 0xffffffff
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x188], 0xffffffff
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x184], 0xffffffff
mov eax, dword [ebp - 0x34]
mov byte [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45b310
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6946a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.0049ca30
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
call fcn.0049f7d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x40
call fcn.0049e170
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x50
call fcn.0049ca30
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0x6c
call fcn.0049d190
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
add ecx, 0x7c
call fcn.0049e170
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
add ecx, 0x8c
call fcn.0049ebe0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
add ecx, 0x9c
call fcn.0049ebe0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
add ecx, 0xac
call fcn.0049ef20
mov byte [ebp - 4], 8
push fcn.0049caf0
push fcn.0049ca30
push 0x64
push 0x1c
mov eax, dword [ebp - 0x14]
add eax, 0xbc
push eax
call fcn.004cd08d
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x14]
add ecx, 0xbb0
call fcn.0049ca30
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x14]
add ecx, 0xbd0
call fcn.0049ca30
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0
push 0x69d8f9
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.0049cb30
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x20], 0x20
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x2c], 0
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x2d], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x24], 0x1e8480
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x28], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.0045b550
push 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x40
call fcn.0049e410
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x40
call fcn.004a05a0
mov byte [eax], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x50
call fcn.0049cc90
push 0xa
mov ecx, dword [ebp - 0x14]
add ecx, 0x6c
call fcn.0049d420
push 0xa
mov ecx, dword [ebp - 0x14]
add ecx, 0x7c
call fcn.0049e410
mov ecx, dword [ebp - 0x14]
add ecx, 0x8c
call fcn.0049ece0
push 0xa
mov ecx, dword [ebp - 0x14]
add ecx, 0x8c
call fcn.0049ee80
push 0xa
mov ecx, dword [ebp - 0x14]
add ecx, 0x9c
call fcn.0049e010
push 5
mov ecx, dword [ebp - 0x14]
add ecx, 0xac
call fcn.0049e7a0
mov dword [ebp - 0x10], 0
jmp 0x45b4e3
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x64
jge 0x45b500
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x1c
mov eax, dword [ebp - 0x14]
lea ecx, [eax + edx + 0xbc]
call fcn.0049cc90
jmp 0x45b4da
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xbac], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xbcc], 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xbd0
call fcn.0049cc90
mov ecx, dword [ebp - 0x14]
add ecx, 0xbb0
call fcn.0049cc90
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x45b620
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x694762
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0xbd0
call fcn.0049caf0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0xbb0
call fcn.0049caf0
mov byte [ebp - 4], 8
push fcn.0049caf0
push 0x64
push 0x1c
mov eax, dword [ebp - 0x10]
add eax, 0xbc
push eax
call fcn.004cd02d
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0xac
call fcn.0049e600
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x9c
call fcn.0049de70
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x8c
call fcn.0049ece0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x7c
call fcn.0049e270
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x6c
call fcn.0049d670
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.0049caf0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.0049e270
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0049f8d0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.0049caf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x47c170
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x694dd6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0049e170
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.0049ef20
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0049e270
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.0049e600
mov eax, dword [ebp - 0x10]
mov byte [eax], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], 0
push 0
push 1
call fcn.00401c50
add esp, 8
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0047c220
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4881d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69519b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 8]
mov byte [eax + 8], dl
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0049e1a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.0049e530
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov dword [edx + 0x30], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x48bc00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0x10], 0
jne 0x48bc15
lea eax, [ebp - 8]
mov dword [ebp + 0x10], eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x48bc3f
call fcn.0048bbc0
jmp 0x48bc41
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x48ed80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69597b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.0049ca30
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [eax], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], 0xffffffff
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x5c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x60], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], 0
push 0x69d8f9
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.0049cb30
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x68], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x6c], 6
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x5d], 0
mov ecx, dword [ebp - 0x10]
call fcn.0048ee70
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x497ee0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x188]
mov dword [eax + 0x4cc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x18c]
mov dword [eax + 0x4d0], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x190]
mov dword [eax + 0x4d4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x198]
mov dword [eax + 0x4d8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x19c]
mov dword [eax + 0x4dc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x184]
mov dword [eax + 0x4e0], edx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax]
test ecx, ecx
jne 0x497f64
jmp 0x49804f
mov edx, dword [ebp - 8]
add edx, 0x458
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x450]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edx, dword [ebp - 8]
cmp dword [edx + 0x458], 0x103
jne 0x497f92
jmp 0x49803e
mov eax, dword [ebp - 8]
cmp dword [eax + 0x184], 0xffffffff
jne 0x497fd5
mov ecx, dword [ebp - 8]
add ecx, 0x494
call fcn.0049cd70
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x478
call fcn.0049cd70
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x45c
call fcn.0049cd70
push eax
mov ecx, dword [ebp - 8]
call fcn.004513e0
jmp 0x49804f
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x184], 1
jne 0x498022
mov edx, dword [ebp - 8]
cmp dword [edx + 0x1cc], 0
jle 0x49801c
push 0
mov eax, dword [ebp - 8]
add eax, 0x4b0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 4], esp
push eax
call fcn.0049ca60
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1cc]
push edx
mov ecx, 0x6f4ac8
call fcn.0041c480
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x450], 0
je 0x49803e
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x6f4550
call fcn.0049cd70
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esp, ebp
pop ebp
ret
Function at 0x4b9650
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69685a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp + 8]
add eax, 4
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.0049ca60
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x20]
mov byte [ecx + 0x20], al
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
mov dword [ecx + 0x24], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
mov dword [ecx + 0x28], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x2c]
mov byte [ecx + 0x2c], al
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x2d]
mov byte [ecx + 0x2d], al
mov ecx, dword [ebp + 8]
add ecx, 0x30
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0049f800
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
add edx, 0x40
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.004b3e30
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0x50
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.0049ca60
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
add ecx, 0x6c
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x6c
call fcn.0049d1c0
mov byte [ebp - 4], 4
mov edx, dword [ebp + 8]
add edx, 0x7c
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x7c
call fcn.004b3e30
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
add eax, 0x8c
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x8c
call fcn.0049ec10
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 8]
add ecx, 0x9c
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x9c
call fcn.0049dda0
mov byte [ebp - 4], 7
mov edx, dword [ebp + 8]
add edx, 0xac
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0xac
call fcn.0049ef90
mov byte [ebp - 4], 8
push fcn.0049caf0
push fcn.0049ca60
push 0x64
push 0x1c
mov eax, dword [ebp + 8]
add eax, 0xbc
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xbc
push ecx
call fcn.004cd694
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xbac]
mov dword [edx + 0xbac], ecx
mov edx, dword [ebp + 8]
add edx, 0xbb0
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0xbb0
call fcn.0049ca60
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xbcc]
mov dword [eax + 0xbcc], edx
mov eax, dword [ebp + 8]
add eax, 0xbd0
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xbd0
call fcn.0049ca60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
call fcn.0049cd70
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
pop ebp
ret