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

Disassembly:
push 0xffffffffffffffff
push 0x42d510
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword [0x439f2c]
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.004064a0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 1
call fcn.00423de5
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], bl
call fcn.00423cf8
mov eax, dword [0x439f2c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x42fb2c
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.00406d90
mov edi, 0x42fb28
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 5
mov dword [esp + 0x20], edi
call fcn.00404720
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x80], 6
mov esi, 1
call fcn.00404720
test al, al
je 0x40679c
push str.IR_ZCD
lea ecx, [esp + 0x20]
call fcn.00404950
test al, al
je 0x40679c
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.004049b0
test al, al
je 0x40679c
lea edx, [esp + 0x14]
lea ecx, [esp + 0x1c]
push edx
call fcn.00406460
mov eax, dword [eax]
push eax
call fcn.00415887
add esp, 4
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00423cf8
xor eax, eax
cmp esi, ebx
sete al
mov ebp, eax
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], 0x42fb1c
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x7c], 0xa
cmp eax, ebx
je 0x4067f5
mov ecx, dword [esp + 0x60]
xor edi, edi
cmp ecx, ebx
jbe 0x4067f5
mov esi, dword [eax + edi*4]
cmp esi, ebx
je 0x4067ec
lea edx, [esi + 8]
push 1
push edx
call fcn.0042330f
mov esi, dword [esi]
cmp esi, ebx
jne 0x4067d7
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
inc edi
cmp edi, ecx
jb 0x4067d0
push eax
call fcn.00424308
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.00423443
lea eax, [esp + 0x28]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], 0x42fb2c
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x7c], 0xb
cmp eax, ebx
je 0x40683d
push eax
call fcn.00424308
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 7
call fcn.00423cf8
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], bl
call fcn.00423cf8
lea ecx, [esp + 0x10]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00423cf8
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 0x406880
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x42d550
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [0x439f2c]
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.0042b2d5
mov ecx, dword [eax + 4]
call fcn.00424f50
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.00423e35
push 0x4380c0
lea ecx, [esp + 0xc]
call fcn.004231a1
call fcn.0042b2d5
mov eax, dword [eax + 4]
mov edx, dword [eax + 0xc0]
cmp dword [edx - 8], esi
je 0x406926
call fcn.0042b2d5
mov eax, dword [eax + 4]
lea ecx, [esp + 8]
add eax, 0xc0
push eax
call fcn.00423de5
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.0042318e
mov edx, dword [esp + 0x1c]
add esp, 0x10
push edx
call edi
cmp eax, 0xffffffff
je 0x406953
inc esi
jmp 0x40692c
call fcn.0042b2d5
mov ecx, dword [eax + 4]
call fcn.00424f65
mov esi, dword [esp + 0x128]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00423a6d
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
mov byte [esp + 0x120], 1
call fcn.00423cf8
lea ecx, [esp + 0xc]
mov byte [esp + 0x120], 0
call fcn.00423cf8
mov ecx, dword [esp + 0x118]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret 4
Function at 0x4069c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x42d56b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
mov eax, dword [0x439f2c]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x20], eax
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x298]
xor ecx, ecx
mov dword [esp + 0x10], ecx
sub eax, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x74], ebx
mov word [esp + 0x72], bx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x6c], 1
je 0x406a50
dec eax
je 0x406a47
dec eax
jne 0x406a57
mov word [esp + 0x70], 3
jmp 0x406a57
mov word [esp + 0x70], 6
jmp 0x406a57
mov word [esp + 0x70], 5
mov esi, dword [esp + 0x28c]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call edi
test eax, eax
jne 0x406a83
mov edx, dword [esp + 0x288]
lea eax, [esp + 0x84]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x406aa2
mov ecx, dword [esp + 0x288]
push esi
push ecx
lea edx, [esp + 0x8c]
push str.__s___s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov esi, dword [esp + 0x290]
push esi
call edi
test eax, eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x40]
push eax
push ecx
jne 0x406abd
push ebx
jmp 0x406abe
push esi
push ebx
push 0x20
push ebx
push ebx
lea edx, [esp + 0xa0]
push ebx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebx
jne 0x406ae9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
mov dword [esp + 0xc], eax
jne 0x406b8c
cmp dword [esp + 0x294], ebx
je 0x406b81
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 0x406b81
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push ebp
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 0x406b6a
mov eax, dword [esp + 0x2c]
cmp eax, 0x200
je 0x406b5a
cmp eax, 0x201
je 0x406b5a
cmp eax, 0x202
je 0x406b5a
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 0x406b2f
push 0xff
push 0xffffffffffffffff
lea edx, [esp + 0x1c]
push ebx
push edx
push 1
call edi
cmp eax, 1
je 0x406b1f
pop ebp
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x20]
mov dword [esp + 0x280], 0xffffffff
call fcn.00423cf8
mov ecx, dword [esp + 0x278]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x278
ret
Function at 0x408600
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.004087f0
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.004087f0
mov dword [esi + 0x1a0], eax
pop esi
ret 4

Function at 0x408bc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42d945
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.00423d66
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], 1
test eax, eax
jne 0x408c04
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x10]
call fcn.00423d66
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x30], 2
mov eax, dword [ecx - 8]
test eax, eax
jne 0x408c3b
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call fcn.00423a6d
mov dword [esp + 8], 1
jmp 0x408d69
mov eax, dword [esp + 0x40]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x408c64
push 0x438524
lea ecx, [esp + 0x44]
call fcn.004231a1
mov cl, byte [0x42fce8]
push ecx
lea ecx, [esp + 0x44]
call fcn.004240af
push 0x438524
lea ecx, [esp + 0x10]
call fcn.004231a1
mov eax, dword [0x439f2c]
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], 0x42fc60
call fcn.0040caa0
mov al, byte [esp + 0x44]
mov byte [esp + 0x30], 8
test al, al
je 0x408cde
mov al, byte [esi + 4]
test al, al
je 0x408cd8
lea eax, [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
call fcn.0040cca0
mov ebx, 2
mov dword [esp + 8], ebx
mov byte [esp + 0x30], 9
jmp 0x408d00
lea eax, [esp + 0xc]
jmp 0x408d00
lea ecx, [esp + 0x10]
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, esi
call fcn.00408980
mov ebx, 4
mov dword [esp + 8], ebx
mov dword [esp + 0x30], 0xa
push eax
lea ecx, [esp + 0x44]
call fcn.004240c4
test bl, 4
mov dword [esp + 0x30], 9
je 0x408d27
and ebx, 0xfffffffb
lea ecx, [esp + 0x44]
mov dword [esp + 8], ebx
call fcn.00423cf8
test bl, 2
mov dword [esp + 0x30], 8
je 0x408d44
and ebx, 0xfffffffd
lea ecx, [esp + 0x48]
mov dword [esp + 8], ebx
call fcn.00423cf8
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.00423a6d
or ebx, 1
lea ecx, [esp + 0x10]
mov dword [esp + 8], ebx
mov byte [esp + 0x30], 2
call fcn.0040ca20
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.00423cf8
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 0
call fcn.00423cf8
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x14
Function at 0x40c300
Capabilities:
Access peb ldr_data
Enumerate pe sections
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x42de68
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.00409740
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.0040d5c0
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.00409780
mov edx, dword [esi + 4]
mov ecx, 0x438ac0
cmp edx, dword [ecx]
je 0x40c3ec
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.00409770
xor al, al
jmp 0x40c47f
mov eax, dword [edi + 0x50]
and ebx, 0xffff
push 0
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], eax
call fcn.004097b0
mov eax, dword [esi + 0x3c]
push 1
push ebx
push eax
mov ecx, edi
call fcn.0040d5c0
test bp, bp
je 0x40c438
mov ebx, ebp
push 0
and ebx, 0xffff
lea ecx, [esi + 0x2c]
push ebx
call fcn.004097b0
mov eax, dword [esi + 0x30]
push 1
push ebx
push eax
mov ecx, edi
call fcn.0040d5c0
mov ebx, dword [esp + 0x30]
test bx, bx
je 0x40c460
and ebx, 0xffff
push 0
push ebx
lea ecx, [esi + 0x44]
call fcn.004097b0
mov esi, dword [esi + 0x48]
push 1
push ebx
push esi
mov ecx, edi
call fcn.0040d5c0
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.00409770
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 0x40cd70
Capabilities:
Access peb ldr_data
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x42dff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x439f2c]
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], 0x42fc60
call fcn.0040caa0
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 5
push ecx
lea ecx, [esp + 0x20]
call fcn.0040d260
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 0x40ce73
push 0x438524
lea ecx, [esp + 0x48]
call fcn.004231a1
mov cl, byte [0x42fce8]
push ecx
lea ecx, [esp + 0x48]
call fcn.004240af
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 0x40ce73
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 5
call fcn.00423cf8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0040ca20
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.00423cf8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0040ca20
mov ecx, dword [esp + 0x34]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret

Function at 0x40cec0
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 0x40ced9
pop esi
xor al, al
pop ebp
ret
push ebx
push edi
push esi
call fcn.004242df
add esp, 4
mov edi, eax
mov bl, 1
push edi
push esi
call ebp
test eax, eax
jne 0x40cf02
push edi
xor bl, bl
call fcn.00424308
add esp, 4
mov al, bl
pop edi
pop ebx
pop esi
pop ebp
ret
mov ecx, dword [esp + 0x14]
push edi
call fcn.00423e35
push edi
call fcn.00424308
add esp, 4
mov al, bl
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x40cf20
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 0x40cfd0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x42e040
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x439f2c]
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], 0x42fc60
call fcn.0040caa0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 5
push ecx
lea ecx, [esp + 8]
call fcn.0040d260
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
lea ecx, [esp + 0x2c]
sete bl
call fcn.00423cf8
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.0040ca20
mov ecx, dword [esp + 0x1c]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x40d080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42e088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x439f2c]
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], 0x42fc60
call fcn.0040caa0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 5
push ecx
lea ecx, [esp + 8]
call fcn.0040d260
push 0x438524
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 6
call fcn.004231a1
mov dl, byte [0x42fce8]
lea ecx, [esp + 0x2c]
push edx
call fcn.004240af
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.00423cf8
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.0040ca20
mov ecx, dword [esp + 0x1c]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x40d190
Capabilities:
Delete file

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

Function at 0x40d1c0
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 0x40d1e8
mov al, byte [esp + 0x10]
test al, al
je 0x40d1ec
push esi
push 0x72
call fcn.0040b660
add esp, 8
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
Function at 0x40d340
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42e108
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.00423d66
mov cl, byte [0x42fce8]
mov dword [esp + 0x2c], 0
push ecx
lea ecx, [esp + 0x38]
call fcn.004231f4
mov eax, dword [0x439f2c]
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], 0x42fc60
call fcn.0040caa0
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x30], 6
call fcn.004095d0
mov ecx, dword [esp + 0x34]
mov eax, dword [eax]
push ecx
push eax
mov byte [esp + 0x34], 7
call fcn.00414ae6
add esp, 8
or esi, 0xffffffff
test eax, eax
je 0x40d3fd
mov edx, dword [esp + 0x34]
push edx
call fcn.0040cfa0
add esp, 4
cmp eax, esi
sete al
test al, al
jne 0x40d3fd
xor bl, bl
jmp 0x40d3ff
mov bl, 1
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 6
call fcn.00423cf8
test bl, bl
jne 0x40d485
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
call fcn.004095d0
mov eax, dword [eax]
mov byte [esp + 0x2c], 8
push eax
call fcn.0040d340
add esp, 4
lea ecx, [esp + 8]
test al, al
sete bl
mov byte [esp + 0x2c], 6
call fcn.00423cf8
test bl, bl
jne 0x40d457
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0040d200
add esp, 4
test al, al
jne 0x40d485
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0040ca20
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], esi
call fcn.00423cf8
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.0040ca20
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], esi
call fcn.00423cf8
mov ecx, dword [esp + 0x24]
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x40e060
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42e3c0
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 0x40e0ba
lea ecx, [esp]
mov dword [esp + 0x28], 0xffffffff
call fcn.00423cf8
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov eax, dword [0x439f2c]
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], 0x42fc60
call fcn.0040caa0
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x30], 6
call fcn.004095d0
mov eax, dword [eax]
mov byte [esp + 0x2c], 7
push eax
call fcn.0040cd70
add esp, 4
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x2c], 6
call fcn.00423cf8
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0040ca20
lea ecx, [esp + 4]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00423cf8
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x40e150
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42e410
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 0x40e279
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 0x40e1ba
mov eax, dword [esp + 0x34]
push eax
call fcn.0040cfd0
add esp, 4
neg al
sbb eax, eax
add eax, 2
mov dword [esi + 0x20], eax
jmp 0x40e1c1
mov dword [esi + 0x20], 2
cmp dword [esi + 0x20], 1
jne 0x40e1d9
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x40e1dc
push 0x67
mov ecx, esi
call fcn.0040d860
jmp 0x40e1dc
mov dword [esi + 0x28], edi
mov eax, dword [0x439f2c]
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], 0x42fc60
call fcn.0040caa0
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
mov byte [esp + 0x30], 6
call fcn.0040e550
push eax
lea ecx, [esi + 0x2c]
mov byte [esp + 0x30], 7
call fcn.00423de5
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 6
call fcn.00423cf8
lea ecx, [esi + 0x3c]
call fcn.00409780
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0040ca20
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00423cf8
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