joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4287b0
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 + 0x1a8]
push ecx
mov ecx, esi
call fcn.00428940
mov edx, dword [esi + 0x1ac]
mov dword [esi + 0x1a8], eax
and eax, 0xff
mov ecx, esi
add eax, edx
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x1ac], eax
shr eax, 0x18
mov byte [esp + 8], al
mov eax, dword [esi + 0x1b0]
mov edx, dword [esp + 8]
push edx
push eax
call fcn.00428940
mov dword [esi + 0x1b0], eax
pop esi
ret 4

Function at 0x428da0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x438b7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
lea eax, [esp + 0x14]
push esi
xor ebp, ebp
mov esi, ecx
push eax
mov dword [esp + 0xc], ebp
call fcn.00428f10
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 1
push ecx
mov ecx, esi
call fcn.00428c10
mov eax, dword [esp + 0x30]
mov byte [esp + 0x40], 2
cmp eax, ebp
je 0x428e72
mov edx, dword [esp + 0x20]
push ebx
mov bl, byte [0x43b438]
push 1
push edx
lea ecx, [esp + 0x24]
call fcn.00401eb0
mov byte [eax], bl
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x30]
call dword [edx + 4]
mov eax, dword [esp + 0x30]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x18]
call fcn.00401df0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0x43a300
cmp eax, 0xffffffff
pop ebx
jne 0x428e5a
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x14], eax
je 0x428e5a
cmp byte [ecx], 0
je 0x428e5a
inc eax
mov dword [esp + 0x14], eax
cmp byte [ecx + eax], 0
jne 0x428e4f
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 3
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404fa0
mov byte [esp + 0x40], 2
mov esi, dword [esp + 0x48]
push ebp
push ebp
mov ecx, esi
call fcn.00404ee0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x48], 4
mov dword [esi], 0x43a2d4
call fcn.004019d0
mov dword [esi], 0x43a2c4
mov dword [esp + 8], 1
mov dword [esp + 0x28], 0x43a2a0
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 5
call fcn.00401f00
cmp eax, ebp
je 0x428ecc
push eax
call fcn.0041a070
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], 0x43a294
cmp eax, ebp
mov dword [esp + 0x18], 0x43a2a0
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
je 0x428ef9
push eax
call fcn.0041a070
add esp, 4
mov ecx, dword [esp + 0x38]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
Function at 0x429e30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x438db0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [ecx + 0x2c]
push ebp
push esi
push edi
mov ecx, dword [eax + 0x14]
lea eax, [esp + 0xc]
push eax
mov edx, dword [ecx]
call dword [edx + 0x24]
mov esi, eax
mov eax, dword [esi + 8]
mov edx, dword [esi]
push eax
mov ecx, esi
mov dword [esp + 0x5c], 0
call dword [edx + 4]
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x60]
push esi
push ecx
lea ecx, [esp + 0x24]
call fcn.004294c0
lea edx, [esp + 0x38]
push 0
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 1
mov dword [esp + 0x68], edx
call fcn.00404ee0
push 0
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 2
mov dword [esp + 0x40], 0x43a2d4
call fcn.004019d0
mov dword [esp + 0x38], 0x43a2c4
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 3
mov dword [esp + 0x38], 0x43b35c
call dword [0x43a2c8]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov ebp, eax
push eax
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x3c]
push eax
call fcn.00401eb0
mov ecx, ebp
mov edi, eax
mov edx, ecx
push 0x440d70
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov byte [esp + 0x5c], 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x50], eax
call fcn.0041c692
pop edi
pop esi
pop ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x42aff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x438eb8
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0
mov eax, dword [edi + 0x48]
lea ecx, [edi + 0x48]
call dword [eax + 4]
mov eax, dword [esp + 0x80]
push 1
push eax
mov byte [edi + 0x60], al
call fcn.0042cff0
mov dword [edi + 0x5c], eax
mov al, byte [edi + 0x44]
mov ebx, dword [edi + 0x3c]
add esp, 8
test al, al
jne 0x42b165
xor ebp, ebp
test ebx, ebx
jle 0x42b17f
mov ecx, dword [edi + 0x38]
mov esi, dword [ecx + ebp*4]
mov edx, dword [esi + 4]
mov dword [esp + 0x14], edx
mov ax, word [esi + 8]
mov word [esp + 0x18], ax
mov cx, word [esi + 0xa]
mov word [esp + 0x1a], cx
mov dx, word [esi + 0xc]
mov word [esp + 0x1c], dx
mov ax, word [esi + 0xe]
mov word [esp + 0x1e], ax
mov cx, word [esi + 0x10]
mov word [esp + 0x20], cx
mov dx, word [esi + 0x12]
mov word [esp + 0x22], dx
mov eax, dword [esi + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x28], ecx
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x2c], edx
mov ax, word [esi + 0x20]
mov word [esp + 0x30], ax
mov cx, word [esi + 0x22]
mov word [esp + 0x32], cx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x34], edx
mov ax, word [esi + 0x28]
mov word [esp + 0x38], ax
mov cx, word [esi + 0x2a]
mov word [esp + 0x3a], cx
mov edx, dword [esi + 0x2c]
lea eax, [esi + 0x30]
lea ecx, [esp + 0x40]
push eax
mov dword [esp + 0x40], edx
call fcn.00429400
lea ecx, [esi + 0x40]
mov dword [esp + 0x78], 0
push ecx
lea ecx, [esp + 0x54]
call fcn.00429400
add esi, 0x50
lea ecx, [esp + 0x60]
push esi
mov byte [esp + 0x7c], 1
call fcn.00429400
mov dword [esp + 0x10], 0x43b3fc
mov cl, byte [edi + 0x44]
mov dword [esp + 0x78], 2
test cl, cl
lea eax, [esp + 0x10]
jne 0x42b13c
lea edx, [esp + 0x10]
test edx, edx
jne 0x42b12d
mov eax, dword [edi + 0x28]
mov cl, byte [edi + 0x45]
push ecx
push 1
push eax
call fcn.0042d970
add esp, 0xc
lea edx, [esp + 0x10]
push ebp
push edx
mov ecx, edi
call fcn.0042b1a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x78], 0xffffffff
call fcn.0042f890
inc ebp
cmp ebp, ebx
jl 0x42b049
jmp 0x42b17f
xor esi, esi
test ebx, ebx
jle 0x42b17f
mov eax, dword [edi + 0x38]
push esi
mov ecx, dword [eax + esi*4]
push ecx
mov ecx, edi
call fcn.0042b1a0
inc esi
cmp esi, ebx
jl 0x42b16b
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
Function at 0x42b390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x438f39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x10], ebp
lea ecx, [ebp + 8]
call fcn.00432230
lea ebx, [ebp + 0x24]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], ebx
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
push eax
push eax
mov ecx, ebx
mov byte [esp + 0x34], 1
mov dword [ebx], 0x43a2a0
mov dword [ebx + 0xc], eax
call fcn.00401eb0
xor ecx, ecx
xor esi, esi
mov edi, eax
mov eax, dword [ebx + 8]
push esi
push eax
mov ecx, ebx
mov byte [esp + 0x34], 2
mov dword [ebx], 0x43a2d4
call fcn.00401eb0
xor ecx, ecx
mov edi, eax
mov dword [ebx], 0x43a2c4
lea ecx, [ebp + 0x40]
mov byte [esp + 0x2c], 3
call fcn.00429200
mov dword [ebp], 0x43b434
mov cx, word [0x448584]
mov dl, byte [0x448586]
mov word [0x44857d], cx
mov byte [0x44857f], dl
mov byte [ebp + 0x5e], 0
mov dword [ebp + 0x1c], esi
mov dword [ebp + 4], 0x10000
mov dword [ebp + 0x58], 0xffffffff
mov dword [ebp + 0x14], esi
mov eax, dword [ebx]
push esi
mov ecx, ebx
mov byte [esp + 0x30], 4
call dword [eax + 4]
mov ecx, 0x448580
mov dword [esp + 0x1c], 0x448580
test ecx, ecx
mov dword [esp + 0x18], 0x43a300
mov dword [esp + 0x20], esi
je 0x42b493
mov al, byte [0x448580]
test al, al
je 0x42b493
mov al, byte [esi + 0x448581]
inc esi
test al, al
jne 0x42b484
mov dword [esp + 0x20], esi
mov edx, dword [ebx + 8]
push esi
push edx
mov ecx, ebx
mov byte [esp + 0x34], 5
call fcn.00401eb0
mov ecx, esi
mov edi, eax
mov eax, ecx
mov esi, 0x448580
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x42b9d0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x439018
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
lea edx, [esp + 0x14]
push edi
mov ecx, dword [esi + 0x14]
xor ebx, ebx
push edx
mov dword [esp + 0x14], esi
mov eax, dword [ecx]
mov dword [esp + 0x18], ebx
call dword [eax + 0x24]
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x30], ebx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x24], esp
mov dword [esp + 0x24], ebp
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
push ebx
push ebx
mov ecx, ebp
mov byte [esp + 0x48], 1
mov dword [ebp], 0x43a2a0
mov dword [ebp + 0xc], ebx
call fcn.004019d0
mov ecx, dword [ebp + 8]
mov dword [ebp], 0x43a2d4
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x48], 2
mov esi, eax
call fcn.00401eb0
mov ecx, esi
mov esi, edi
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0xffffffffffffffff
and ecx, 3
mov byte [esp + 0x44], bl
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov dword [ebp], 0x43a2c4
call fcn.0042c630
mov ebp, dword [esp + 0x38]
push ebx
push ebx
mov ecx, ebp
call fcn.00401df0
push ebx
push ebx
mov ecx, ebp
mov byte [esp + 0x38], 3
mov dword [ebp], 0x43a2a0
mov dword [ebp + 0xc], ebx
call fcn.004019d0
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov esi, eax
push eax
mov eax, dword [ebp + 8]
mov ecx, ebp
push eax
mov byte [esp + 0x38], 4
mov dword [ebp], 0x43a2d4
call fcn.00401eb0
mov ecx, esi
mov esi, edi
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [ebp], 0x43a2c4
cmp eax, ebx
mov dword [esp + 0x18], 0x43a2a0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
je 0x42bb0f
push eax
call fcn.0041a070
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4
Function at 0x42d0e0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x4393a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push esi
push edi
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x3c]
call fcn.00401b90
mov esi, 0x43a2c4
mov dword [esp + 0x34], esi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x94], edi
call fcn.00401b90
mov dword [esp + 0x44], esi
lea ecx, [esp + 0x54]
mov byte [esp + 0x8c], 1
call fcn.00405670
lea ecx, [esp + 0x64]
mov byte [esp + 0x8c], 2
call fcn.00405670
lea ecx, [esp + 0x74]
mov byte [esp + 0x8c], 3
call fcn.00405670
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x90], 4
mov dword [esp + 0x34], 0x43b3f8
call fcn.00432310
lea ecx, [esp + 0x20]
mov dword [esp + 0x8c], 5
push ecx
lea ecx, [esp + 0x34]
call fcn.0042d320
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 6
call dword [eax + 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
call esi
test eax, eax
jne 0x42d2b1
mov eax, dword [esp + 0x28]
cmp eax, edi
jle 0x42d205
mov ecx, dword [esp + 0x24]
mov dl, byte [ecx + eax - 1]
push edx
push 0x444bc8
call fcn.004074b0
add esp, 8
test al, al
mov eax, dword [esp + 0x28]
je 0x42d205
dec eax
cmp eax, edi
mov dword [esp + 0x28], eax
jg 0x42d1de
push ebx
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x28]
call dword [eax + 4]
mov ecx, dword [esp + 0x2c]
mov bl, byte [0x43b438]
push 1
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401eb0
mov byte [eax], bl
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x28]
call dword [eax + 4]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x14]
push eax
push ecx
push edx
call esi
test eax, eax
pop ebx
jne 0x42d2b1
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], 0x43a2a0
cmp eax, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
je 0x42d27f
push eax
call fcn.0041a070
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0x43a294
mov dword [esp + 0x8c], 0xffffffff
call fcn.00432250
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
add esp, 0x88
ret
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x24]
imul esi, dword [esp + 0xc]
imul esi, dword [esp + 0x10]
cmp eax, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0x43a2a0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
je 0x42d2e8
push eax
call fcn.0041a070
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0x43a294
mov dword [esp + 0x8c], 0xffffffff
call fcn.00432250
mov ecx, dword [esp + 0x84]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x88
ret
Function at 0x42d3e0
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 0x42d3f9
pop esi
xor al, al
pop ebp
ret
push ebx
push edi
push esi
call fcn.0041b1d2
add esp, 4
mov edi, eax
mov bl, 1
push edi
push esi
call ebp
test eax, eax
jne 0x42d422
push edi
xor bl, bl
call fcn.0041a176
add esp, 4
mov al, bl
pop edi
pop ebx
pop esi
pop ebp
ret
mov ecx, dword [esp + 0x14]
push edi
call fcn.00428b60
push edi
call fcn.0041a176
add esp, 4
mov al, bl
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x42d440
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 0x42d4f0
Capabilities:
Access peb ldr_data
Get disk information
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x439418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x28]
call fcn.00401b90
mov esi, 0x43a2c4
mov dword [esp + 0x20], esi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x80], edi
call fcn.00401b90
mov dword [esp + 0x30], esi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 1
call fcn.00401b90
mov dword [esp + 0x40], esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 2
call fcn.00405670
lea ecx, [esp + 0x60]
mov byte [esp + 0x78], 3
call fcn.00405670
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x7c], 4
mov dword [esp + 0x20], 0x43b3f8
call fcn.00432310
lea ecx, [esp + 0xc]
mov dword [esp + 0x78], 5
push ecx
lea ecx, [esp + 0x20]
call fcn.0042d320
mov esi, eax
mov eax, dword [esi + 8]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x7c], 6
call dword [edx + 4]
mov esi, dword [esi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
mov eax, dword [esp + 0x10]
sete bl
cmp eax, edi
mov dword [esp + 0xc], 0x43a2a0
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
je 0x42d5e8
push eax
call fcn.0041a070
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc], 0x43a294
mov dword [esp + 0x78], 0xffffffff
call fcn.00432250
mov ecx, dword [esp + 0x70]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret
Function at 0x42d620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x439468
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
xor esi, esi
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x24]
call fcn.00401b90
mov dword [esp + 0x1c], 0x43a2c4
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x7c], esi
call fcn.00401b90
mov dword [esp + 0x2c], 0x43a2c4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 1
call fcn.00405670
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 2
call fcn.00405670
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 3
call fcn.00405670
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x78], 4
mov dword [esp + 0x1c], 0x43b3f8
call fcn.00432310
lea ecx, [esp + 8]
mov dword [esp + 0x74], 5
push ecx
lea ecx, [esp + 0x1c]
call fcn.0042d320
mov eax, dword [esp + 0x10]
mov byte [esp + 0x74], 6
cmp eax, esi
jle 0x42d6f7
mov edx, dword [esp + 0xc]
mov al, byte [edx + eax - 1]
push eax
push 0x444bc8
call fcn.004074b0
add esp, 8
test al, al
mov eax, dword [esp + 0x10]
je 0x42d6f7
dec eax
cmp eax, esi
mov dword [esp + 0x10], eax
jg 0x42d6d0
mov edx, dword [esp + 8]
push eax
lea ecx, [esp + 0xc]
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov bl, byte [0x43b438]
push 1
push eax
lea ecx, [esp + 0x10]
call fcn.00401eb0
mov byte [eax], bl
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
push ecx
lea ecx, [esp + 0xc]
call dword [edx + 4]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelA]
test eax, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 8], 0x43a2a0
setne bl
cmp eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
je 0x42d768
push eax
call fcn.0041a070
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 8], 0x43a294
mov dword [esp + 0x74], 0xffffffff
call fcn.00432250
mov ecx, dword [esp + 0x6c]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret

Function at 0x42d7b0
Capabilities:
Delete file

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

Function at 0x42d7e0
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 0x42d808
mov al, byte [esp + 0x10]
test al, al
je 0x42d80c
push esi
push 0x72
call fcn.004272c0
add esp, 8
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
Function at 0x42f7d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x439496
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x30]
call fcn.00429200
xor edi, edi
lea ecx, [esi + 0x40]
mov dword [esp + 0x14], edi
call fcn.00429200
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 1
call fcn.00429200
mov dword [esi], 0x43b3fc
mov ax, word [0x44877c]
mov cl, byte [0x44877e]
mov dx, word [0x448778]
mov word [0x448771], ax
mov al, byte [0x44877a]
mov byte [0x448773], cl
mov ecx, dword [esp + 0xc]
mov word [0x448775], dx
mov byte [0x448777], al
mov dword [esi + 0x24], edi
mov word [esi + 0x10], di
mov word [esi + 0x12], di
mov word [esi + 8], di
mov dword [esi + 0x2c], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov word [esi + 0x28], di
mov word [esi + 0x2a], di
mov word [esi + 0xe], 8
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x434ee5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x434f05
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041f88b
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x434f28
test byte [esp + 8], 2
je 0x434f28
call fcn.0041f8fe
mov dword [eax], 0xd
call fcn.0041f907
mov dword [eax], 5
jmp 0x434f01
xor eax, eax
ret
Function at 0x10002cef
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, dword [esi + 0x3c]
add ebx, esi
push 0x40
lea eax, [ebx + 0x18]
push 0x3000
push dword [eax + 0x38]
mov dword [ebp - 4], ecx
push 0
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], eax
call dword [0x5b605c]
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x10002e59
push 0x40
mov edx, esi
mov ecx, edi
call fcn.10003ba0
mov esi, dword [edi + 0x3c]
movzx eax, word [ebx + 0x14]
add esi, edi
push eax
mov edx, ebx
mov ecx, esi
call fcn.10003ba0
mov eax, dword [ebp - 8]
lea ebx, [esi + 0x18]
movzx ecx, word [eax + 0x14]
movzx esi, word [esi + 0x14]
lea edx, [eax + 0x18]
movzx eax, word [eax + 6]
add ecx, edx
add esi, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x10002db7
mov ebx, ecx
sub ebx, esi
mov edi, eax
push 0x28
lea edx, [ebx + esi]
mov ecx, esi
call fcn.10003ba0
add esi, 0x28
dec edi
jne 0x10002d75
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x10002db7
lea esi, [ecx + 0x14]
mov ebx, eax
mov edx, dword [esi]
mov ecx, dword [esi - 8]
push dword [esi - 4]
add edx, dword [ebp + 8]
add ecx, edi
call fcn.10003ba0
lea esi, [esi + 0x28]
dec ebx
jne 0x10002d9c
mov ebx, dword [ebp - 0xc]
push ebx
mov edx, edi
mov ecx, edi
call fcn.10004350
push dword [ebp - 0x18]
mov ecx, dword [0x5b7004]
mov edx, edi
call fcn.10004430
mov edx, dword [ebx + 0x60]
test edx, edx
je 0x10002e56
cmp dword [ebx + 0x64], 0
je 0x10002e56
xor eax, eax
lea ecx, [edx + edi]
inc eax
sub eax, dword [ecx + 0x10]
cmp eax, dword [ecx + 0x14]
jae 0x10002dfe
push eax
push ecx
push dword [ebx + 0x64]
mov ecx, edi
call fcn.100043f0
mov ecx, eax
xor eax, eax
jmp 0x10002e02
xor eax, eax
mov ecx, eax
mov edx, dword [ebp - 4]
push 2
mov dword [edx + 4], ecx
mov edx, dword [ebx + 0x60]
pop ecx
lea esi, [edx + edi]
sub ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 0x14]
jae 0x10002e2b
push ecx
push esi
push dword [ebx + 0x64]
mov ecx, edi
call fcn.100043f0
mov ecx, eax
xor eax, eax
jmp 0x10002e2d
mov ecx, eax
mov edx, dword [ebp - 4]
push 3
mov dword [edx + 8], ecx
mov edx, dword [ebx + 0x60]
pop ecx
lea esi, [edx + edi]
sub ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 0x14]
jae 0x10002e50
push ecx
push esi
push dword [ebx + 0x64]
mov ecx, edi
call fcn.100043f0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8