joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4073e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x42e310
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword [0x43af64]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
lea edx, [esp + 0x14]
xor ebx, ebx
push edx
mov dword [esp + 0x80], ebx
call fcn.00407210
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 1
call fcn.00424b85
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], bl
call fcn.00424a98
mov eax, dword [0x43af64]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x430b34
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
push 0xa
lea ecx, [esp + 0x5c]
mov byte [esp + 0x80], 4
call fcn.00407b30
mov edi, 0x430b30
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 5
mov dword [esp + 0x20], edi
call fcn.00404800
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x80], 6
mov esi, 1
call fcn.00404800
test al, al
je 0x40750c
push str.IR_ZCD
lea ecx, [esp + 0x20]
call fcn.00404a30
test al, al
je 0x40750c
mov ebp, dword [esp + 0x40]
xor ecx, ecx
cmp ebp, ebx
push str.Prog
setne cl
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.00404a90
test al, al
je 0x40750c
lea edx, [esp + 0x14]
lea ecx, [esp + 0x1c]
push edx
call fcn.004071c0
mov eax, dword [eax]
push eax
call fcn.00416627
add esp, 4
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00424a98
xor eax, eax
cmp esi, ebx
sete al
mov ebp, eax
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], 0x430b24
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x7c], 0xa
cmp eax, ebx
je 0x407565
mov ecx, dword [esp + 0x60]
xor edi, edi
cmp ecx, ebx
jbe 0x407565
mov esi, dword [eax + edi*4]
cmp esi, ebx
je 0x40755c
lea edx, [esi + 8]
push 1
push edx
call fcn.004240af
mov esi, dword [esi]
cmp esi, ebx
jne 0x407547
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
inc edi
cmp edi, ecx
jb 0x407540
push eax
call fcn.004250a8
mov ecx, dword [esp + 0x70]
add esp, 4
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.004241e3
lea eax, [esp + 0x28]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], 0x430b34
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x7c], 0xb
cmp eax, ebx
je 0x4075ad
push eax
call fcn.004250a8
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 7
call fcn.00424a98
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], bl
call fcn.00424a98
lea ecx, [esp + 0x10]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00424a98
mov ecx, dword [esp + 0x74]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret
Function at 0x4075f0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x42e350
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [0x43af64]
push esi
xor esi, esi
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x120], 1
mov dword [esp + 8], eax
mov byte [esp + 0x120], 2
call fcn.0042c075
mov ecx, dword [eax + 4]
call fcn.004263b7
lea eax, [esp + 0x14]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xc]
call fcn.00424bd5
push 0x4390c0
lea ecx, [esp + 0xc]
call fcn.00423f41
call fcn.0042c075
mov eax, dword [eax + 4]
mov edx, dword [eax + 0xc0]
cmp dword [edx - 8], esi
je 0x407696
call fcn.0042c075
mov eax, dword [eax + 4]
lea ecx, [esp + 8]
add eax, 0xc0
push eax
call fcn.00424b85
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov eax, dword [esp + 8]
push esi
push eax
lea ecx, [esp + 0x14]
push str._sir_ext_temp__d
push ecx
call fcn.00423f2e
mov edx, dword [esp + 0x1c]
add esp, 0x10
push edx
call edi
cmp eax, 0xffffffff
je 0x4076c3
inc esi
jmp 0x40769c
call fcn.0042c075
mov ecx, dword [eax + 4]
call fcn.004263cc
mov esi, dword [esp + 0x128]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0042480d
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
mov byte [esp + 0x120], 1
call fcn.00424a98
lea ecx, [esp + 0xc]
mov byte [esp + 0x120], 0
call fcn.00424a98
mov ecx, dword [esp + 0x118]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret 4
Function at 0x407730
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x42e36b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
mov eax, dword [0x43af64]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x20], eax
xor ebx, ebx
push 4
mov dword [esp + 0x288], ebx
call fcn.0042507f
mov ebp, eax
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x48]
mov dword [ebp], ebx
add esp, 4
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x29c]
xor ecx, ecx
mov dword [esp + 0x10], ecx
sub eax, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], 0x44
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x78], ebx
mov word [esp + 0x76], bx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x70], 1
je 0x4077d7
dec eax
je 0x4077ce
dec eax
jne 0x4077de
mov word [esp + 0x74], 3
jmp 0x4077de
mov word [esp + 0x74], 6
jmp 0x4077de
mov word [esp + 0x74], 5
mov esi, dword [esp + 0x290]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call edi
test eax, eax
jne 0x40780a
mov edx, dword [esp + 0x28c]
lea eax, [esp + 0x88]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x407829
mov ecx, dword [esp + 0x28c]
push esi
push ecx
lea edx, [esp + 0x90]
push str.__s___s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov esi, dword [esp + 0x294]
push esi
call edi
test eax, eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x44]
push eax
push ecx
jne 0x407844
push ebx
jmp 0x407845
push esi
push ebx
push 0x20
push ebx
push ebx
lea edx, [esp + 0xa4]
push ebx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebx
jne 0x40786e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, ebx
jne 0x407926
cmp dword [esp + 0x298], ebx
je 0x407908
mov edi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
push 0xff
push 0xffffffffffffffff
lea eax, [esp + 0x18]
push ebx
push eax
push 1
call edi
cmp eax, 1
jne 0x407908
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push ebx
push ebx
lea ecx, [esp + 0x34]
push ebx
push ecx
call esi
test eax, eax
jle 0x4078ee
mov eax, dword [esp + 0x2c]
cmp eax, 0x200
je 0x4078de
cmp eax, 0x201
je 0x4078de
cmp eax, 0x202
je 0x4078de
lea edx, [esp + 0x28]
push edx
call ebp
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push ebx
push ebx
lea ecx, [esp + 0x34]
push ebx
push ecx
call esi
test eax, eax
jg 0x4078b3
push 0xff
push 0xffffffffffffffff
lea edx, [esp + 0x18]
push ebx
push edx
push 1
call edi
cmp eax, 1
je 0x4078a3
mov ebp, dword [esp + 0x24]
cmp ebp, ebx
je 0x407918
mov eax, dword [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x10]
mov esi, dword [ebp]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call fcn.004250a8
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x284], 0xffffffff
call fcn.00424a98
mov ecx, dword [esp + 0x27c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x278
ret
Function at 0x4093a0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push eax
mov ecx, dword [esi + 0x198]
push ecx
mov ecx, esi
call fcn.00409590
mov edx, dword [esi + 0x19c]
mov dword [esi + 0x198], eax
and eax, 0xff
mov ecx, esi
add eax, edx
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x19c], eax
shr eax, 0x18
mov byte [esp + 8], al
mov eax, dword [esi + 0x1a0]
mov edx, dword [esp + 8]
push edx
push eax
call fcn.00409590
mov dword [esi + 0x1a0], eax
pop esi
ret 4

Function at 0x409960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42e745
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x38]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0xc], ebx
call fcn.00424b06
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], 1
test eax, eax
jne 0x4099a4
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x10]
call fcn.00424b06
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x30], 2
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4099db
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call fcn.0042480d
mov dword [esp + 8], 1
jmp 0x409b09
mov eax, dword [esp + 0x40]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x409a04
push 0x43955c
lea ecx, [esp + 0x44]
call fcn.00423f41
mov cl, byte [0x430cf0]
push ecx
lea ecx, [esp + 0x44]
call fcn.00424e4f
push 0x43955c
lea ecx, [esp + 0x10]
call fcn.00423f41
mov eax, dword [0x43af64]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x34], 7
mov dword [esp + 0x14], 0x430c68
call fcn.0040d840
mov al, byte [esp + 0x44]
mov byte [esp + 0x30], 8
test al, al
je 0x409a7e
mov al, byte [esi + 4]
test al, al
je 0x409a78
lea eax, [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
call fcn.0040da40
mov ebx, 2
mov dword [esp + 8], ebx
mov byte [esp + 0x30], 9
jmp 0x409aa0
lea eax, [esp + 0xc]
jmp 0x409aa0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, esi
call fcn.00409720
mov ebx, 4
mov dword [esp + 8], ebx
mov dword [esp + 0x30], 0xa
push eax
lea ecx, [esp + 0x44]
call fcn.00424e64
test bl, 4
mov dword [esp + 0x30], 9
je 0x409ac7
and ebx, 0xfffffffb
lea ecx, [esp + 0x44]
mov dword [esp + 8], ebx
call fcn.00424a98
test bl, 2
mov dword [esp + 0x30], 8
je 0x409ae4
and ebx, 0xfffffffd
lea ecx, [esp + 0x48]
mov dword [esp + 8], ebx
call fcn.00424a98
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.0042480d
or ebx, 1
lea ecx, [esp + 0x10]
mov dword [esp + 8], ebx
mov byte [esp + 0x30], 2
call fcn.0040d7c0
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.00424a98
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 0
call fcn.00424a98
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x14
Function at 0x40d0a0
Capabilities:
Access peb ldr_data
Enumerate pe sections
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x42ec68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
push 0x2e
lea ecx, [esp + 0x1c]
call fcn.0040a4e0
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
push 1
push 0x2e
push eax
mov ecx, edi
mov dword [esp + 0x34], 0
call fcn.0040e360
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov dx, word [eax + 4]
mov word [esi + 8], dx
mov cx, word [eax + 6]
mov word [esi + 0xa], cx
mov dx, word [eax + 8]
mov word [esi + 0xc], dx
mov cx, word [eax + 0xa]
mov word [esi + 0xe], cx
mov dx, word [eax + 0xc]
mov word [esi + 0x10], dx
mov cx, word [eax + 0xe]
mov word [esi + 0x12], cx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x1c], edx
mov cx, word [eax + 0x20]
mov dx, word [eax + 0x22]
mov bx, word [eax + 0x1c]
mov bp, word [eax + 0x1e]
mov word [esp + 0x30], cx
mov word [esi + 0x20], dx
mov cx, word [eax + 0x24]
mov word [esi + 0x22], cx
mov edx, dword [eax + 0x26]
mov dword [esi + 0x24], edx
mov eax, dword [eax + 0x2a]
lea ecx, [esp + 0x14]
mov dword [esi + 0x28], eax
call fcn.0040a520
mov edx, dword [esi + 4]
mov ecx, 0x439af8
cmp edx, dword [ecx]
je 0x40d18c
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.0040a510
xor al, al
jmp 0x40d21f
mov eax, dword [edi + 0x50]
and ebx, 0xffff
push 0
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], eax
call fcn.0040a550
mov eax, dword [esi + 0x3c]
push 1
push ebx
push eax
mov ecx, edi
call fcn.0040e360
test bp, bp
je 0x40d1d8
mov ebx, ebp
push 0
and ebx, 0xffff
lea ecx, [esi + 0x2c]
push ebx
call fcn.0040a550
mov eax, dword [esi + 0x30]
push 1
push ebx
push eax
mov ecx, edi
call fcn.0040e360
mov ebx, dword [esp + 0x30]
test bx, bx
je 0x40d200
and ebx, 0xffff
push 0
push ebx
lea ecx, [esi + 0x44]
call fcn.0040a550
mov esi, dword [esi + 0x48]
push 1
push ebx
push esi
mov ecx, edi
call fcn.0040e360
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x50]
cmp eax, ecx
lea ecx, [esp + 0x14]
sete bl
mov dword [esp + 0x28], 0xffffffff
call fcn.0040a510
mov al, bl
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x40db10
Capabilities:
Access peb ldr_data
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x42edf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x43af64]
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x40], 4
mov dword [esp + 0x20], 0x430c68
call fcn.0040d840
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 5
push ecx
lea ecx, [esp + 0x20]
call fcn.0040e000
mov esi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0xc]
push ecx
push edx
push eax
mov byte [esp + 0x50], 6
call esi
test eax, eax
jne 0x40dc13
push 0x43955c
lea ecx, [esp + 0x48]
call fcn.00423f41
mov cl, byte [0x430cf0]
push ecx
lea ecx, [esp + 0x48]
call fcn.00424e4f
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0xc]
push ecx
push edx
push eax
call esi
test eax, eax
jne 0x40dc13
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 5
call fcn.00424a98
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0040d7c0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov esi, dword [esp + 4]
lea ecx, [esp + 0x44]
imul esi, dword [esp + 8]
imul esi, dword [esp + 0xc]
mov dword [esp + 0x18], 0
mov byte [esp + 0x3c], 5
call fcn.00424a98
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0040d7c0
mov ecx, dword [esp + 0x34]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret

Function at 0x40dc60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push esi
push 0
push 0
call ebp
mov esi, eax
test esi, esi
jne 0x40dc79
pop esi
xor al, al
pop ebp
ret
push ebx
push edi
push esi
call fcn.0042507f
add esp, 4
mov edi, eax
mov bl, 1
push edi
push esi
call ebp
test eax, eax
jne 0x40dca2
push edi
xor bl, bl
call fcn.004250a8
add esp, 4
mov al, bl
pop edi
pop ebx
pop esi
pop ebp
ret
mov ecx, dword [esp + 0x14]
push edi
call fcn.00424bd5
push edi
call fcn.004250a8
add esp, 4
mov al, bl
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x40dcc0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
neg eax
sbb eax, eax
neg eax
ret
Function at 0x40dd70
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x42ee40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x43af64]
push ebx
mov dword [esp + 8], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 4]
push eax
mov byte [esp + 0x28], 4
mov dword [esp + 8], 0x430c68
call fcn.0040d840
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 5
push ecx
lea ecx, [esp + 8]
call fcn.0040e000
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
lea ecx, [esp + 0x2c]
sete bl
call fcn.00424a98
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.0040d7c0
mov ecx, dword [esp + 0x1c]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x40de20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42ee88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x43af64]
push ebx
mov dword [esp + 8], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 4]
push eax
mov byte [esp + 0x28], 4
mov dword [esp + 8], 0x430c68
call fcn.0040d840
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 5
push ecx
lea ecx, [esp + 8]
call fcn.0040e000
push 0x43955c
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 6
call fcn.00423f41
mov dl, byte [0x430cf0]
lea ecx, [esp + 0x2c]
push edx
call fcn.00424e4f
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelA]
test eax, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 5
setne bl
call fcn.00424a98
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.0040d7c0
mov ecx, dword [esp + 0x1c]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x40df30
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40df53
mov al, byte [esp + 0xc]
test al, al
je 0x40df57
push esi
push 0x71
call fcn.0040c400
add esp, 8
mov al, 1
pop esi
ret
xor al, al
pop esi
ret

Function at 0x40df60
Capabilities:
Move file

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x40df88
mov al, byte [esp + 0x10]
test al, al
je 0x40df8c
push esi
push 0x72
call fcn.0040c400
add esp, 8
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
Function at 0x40e0e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42ef08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push ebx
push esi
push eax
lea ecx, [esp + 0x38]
call fcn.00424b06
mov cl, byte [0x430cf0]
mov dword [esp + 0x2c], 0
push ecx
lea ecx, [esp + 0x38]
call fcn.00423f94
mov eax, dword [0x43af64]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0xc]
push edx
mov byte [esp + 0x30], 5
mov dword [esp + 0x10], 0x430c68
call fcn.0040d840
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x30], 6
call fcn.0040a370
mov ecx, dword [esp + 0x34]
mov eax, dword [eax]
push ecx
push eax
mov byte [esp + 0x34], 7
call fcn.00415886
add esp, 8
or esi, 0xffffffff
test eax, eax
je 0x40e19d
mov edx, dword [esp + 0x34]
push edx
call fcn.0040dd40
add esp, 4
cmp eax, esi
sete al
test al, al
jne 0x40e19d
xor bl, bl
jmp 0x40e19f
mov bl, 1
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 6
call fcn.00424a98
test bl, bl
jne 0x40e225
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
call fcn.0040a370
mov eax, dword [eax]
mov byte [esp + 0x2c], 8
push eax
call fcn.0040e0e0
add esp, 4
lea ecx, [esp + 8]
test al, al
sete bl
mov byte [esp + 0x2c], 6
call fcn.00424a98
test bl, bl
jne 0x40e1f7
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0040dfa0
add esp, 4
test al, al
jne 0x40e225
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0040d7c0
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], esi
call fcn.00424a98
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0040d7c0
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], esi
call fcn.00424a98
mov ecx, dword [esp + 0x24]
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x40ee00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42f1c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov ecx, dword [ecx + 0x1c]
lea edx, [esp]
push edx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [esp]
mov dword [esp + 0x28], 0
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40ee5a
lea ecx, [esp]
mov dword [esp + 0x28], 0xffffffff
call fcn.00424a98
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov eax, dword [0x43af64]
push esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 5
mov dword [esp + 0x10], 0x430c68
call fcn.0040d840
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x30], 6
call fcn.0040a370
mov eax, dword [eax]
mov byte [esp + 0x2c], 7
push eax
call fcn.0040db10
add esp, 4
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x2c], 6
call fcn.00424a98
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0040d7c0
lea ecx, [esp + 4]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00424a98
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x40eef0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42f210
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
mov edi, eax
mov esi, ecx
and edi, 0xffff
test ax, ax
mov dword [esi + 0x50], edi
je 0x40f019
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x34]
push edx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x2c], 0
cmp eax, 3
jne 0x40ef5a
mov eax, dword [esp + 0x34]
push eax
call fcn.0040dd70
add esp, 4
neg al
sbb eax, eax
add eax, 2
mov dword [esi + 0x20], eax
jmp 0x40ef61
mov dword [esi + 0x20], 2
cmp dword [esi + 0x20], 1
jne 0x40ef79
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x40ef7c
push 0x67
mov ecx, esi
call fcn.0040e600
jmp 0x40ef7c
mov dword [esi + 0x28], edi
mov eax, dword [0x43af64]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x2c], 5
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x430c68
call fcn.0040d840
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
mov byte [esp + 0x30], 6
call fcn.0040f2f0
push eax
lea ecx, [esi + 0x2c]
mov byte [esp + 0x30], 7
call fcn.00424b85
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 6
call fcn.00424a98
lea ecx, [esi + 0x3c]
call fcn.0040a520
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0040d7c0
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00424a98
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x20], 0
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4