joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413800
Capabilities:
Get file size
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x436f36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov ebp, ecx
push ebx
push ebx
mov dword [esp + 0x20], ebp
call fcn.00404ad0
push ebx
push ebx
mov ecx, ebp
mov dword [esp + 0x144], ebx
mov dword [ebp], 0x4392ac
mov dword [ebp + 0xc], ebx
call fcn.004043e0
push ebx
push ebx
mov ecx, ebp
mov dword [esp + 0x144], 1
mov dword [ebp], 0x4392fc
call fcn.004043e0
mov edi, 0x442e10
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp], 0x439474
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x11]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0x10], 0x50
shr ecx, 2
mov byte [esp + 0x11], bl
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], bl
mov byte [esp + 0x14], bl
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x104
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
push 0x80
push 3
push ebx
push 3
lea edx, [esp + 0x44]
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push ebx
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
push ebx
push ebx
push 2
push ebx
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push esi
push ebx
push ebx
push 4
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
mov eax, 0x51eb851f
mov dword [esp + 0x20], ecx
mul esi
shr edx, 5
cmp edx, 0xc800
jae 0x41391b
mov edx, 0xc800
mov eax, esi
sub eax, edx
sub eax, 0x16
jns 0x413926
xor eax, eax
sub esi, eax
add ecx, eax
mov dword [esp + 0x28], ecx
lea edi, [esi - 0x16]
cmp edi, ebx
jl 0x4139be
lea eax, [ecx + edi]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
cmp edx, dword [ecx]
je 0x41394e
dec edi
dec eax
cmp edi, ebx
jge 0x41393c
jmp 0x4139be
mov ecx, dword [ebp + 0xc]
sub esi, edi
sub esi, 0x16
lea eax, [esi + 1]
cmp eax, ecx
jle 0x41399a
cmp ecx, 8
jge 0x413969
mov dword [ebp + 0xc], 8
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
jle 0x413975
add ecx, ecx
mov dword [ebp + 0xc], ecx
cmp eax, dword [ebp + 0xc]
jle 0x413987
add eax, 0xb
mov edx, eax
and edx, 7
sub eax, edx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 4]
push eax
push ecx
call fcn.00419933
add esp, 8
mov dword [ebp + 4], eax
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x28]
mov ecx, esi
mov byte [esi + edx], bl
mov dword [ebp + 8], esi
mov edx, ecx
lea esi, [eax + edi + 0x16]
mov edi, dword [ebp + 4]
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 + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
mov ecx, dword [esp + 0x134]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x130
ret
Function at 0x416070
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push esi
push edi
push 0x18
call fcn.0041a4ca
mov esi, eax
xor edi, edi
add esp, 4
cmp esi, edi
je 0x4160b7
push edi
push edi
lea eax, [esp + 0x10]
push 1
push eax
mov dword [esi], 0x439514
mov dword [esi + 8], edi
mov dword [esi + 0x14], edi
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 4], eax
jmp 0x4160b9
xor esi, esi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push esi
push edi
push 0x415c80
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
call fcn.0041c0a6
mov eax, dword [esi + 4]
add esp, 0xc
push 0x7530
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, esi
pop edi
pop esi
add esp, 0xc
ret

Function at 0x4161f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x416227
cmp dword [esp + 0x10], 2
jne 0x416227
cmp dword [esp + 4], 6
jb 0x416227
mov eax, 1
add esp, 0x94
ret
xor eax, eax
add esp, 0x94
ret

Function at 0x416890
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
mov eax, dword [esp + 0x10]
and eax, 0xff
push ecx
mov edx, eax
shl edx, 5
sub edx, eax
push edx
call fcn.00416840
mov dword [esp + 0x14], eax
add esp, 0xc
xor al, al
xor ecx, ecx
mov dl, byte [esp + ecx + 8]
xor al, dl
inc ecx
cmp ecx, 4
jb 0x4168bb
ret
Function at 0x417170
Capabilities:
Write file on windows

Disassembly:
mov al, byte [0x446fb8]
sub esp, 8
test al, 1
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
jne 0x417199
or al, 1
push edi
mov byte [0x446fb8], al
mov eax, dword [esi]
push esi
call dword [eax + 0x7c]
mov dword [0x446fb4], eax
mov cl, byte [0x446fb8]
mov al, 2
test al, cl
jne 0x4171cc
mov edx, dword [0x446fb4]
or cl, al
push 0x442780
mov byte [0x446fb8], cl
mov ecx, dword [esi]
push 0x442edc
push edx
push esi
call dword [ecx + 0x178]
mov dword [0x446fb0], eax
mov ecx, dword [0x446fb0]
mov eax, dword [esi]
push ecx
push edi
push esi
call dword [eax + 0x194]
lea ecx, [esp + 0x14]
push 0
mov dword [esp + 0x10], edx
mov dl, byte [esp + 0x20]
mov byte [esp + 0x1c], dl
push ecx
lea edx, [esp + 0x20]
push 1
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
add esp, 8
ret 0xc

Function at 0x417820
Capabilities:
Create thread

Disassembly:
push 0
push 0
push ecx
push 0x417750
push 0
push 0
call fcn.0041b5e2
add esp, 0x18
ret
Function at 0x427510
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.004276a0
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.004276a0
mov dword [esi + 0x1b0], eax
pop esi
ret 4

Function at 0x427b00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4378bf
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.00427c70
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 1
push ecx
mov ecx, esi
call fcn.00427970
mov eax, dword [esp + 0x30]
mov byte [esp + 0x40], 2
cmp eax, ebp
je 0x427bd2
mov edx, dword [esp + 0x20]
push ebx
mov bl, byte [0x43a43c]
push 1
push edx
lea ecx, [esp + 0x24]
call fcn.00404f00
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.00404ad0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0x439304
cmp eax, 0xffffffff
pop ebx
jne 0x427bba
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x14], eax
je 0x427bba
cmp byte [ecx], 0
je 0x427bba
inc eax
mov dword [esp + 0x14], eax
cmp byte [ecx + eax], 0
jne 0x427baf
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 3
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404380
mov byte [esp + 0x40], 2
mov esi, dword [esp + 0x48]
push ebp
push ebp
mov ecx, esi
call fcn.00404260
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], 0x4392fc
call fcn.004043e0
mov dword [esi], 0x4392bc
mov dword [esp + 8], 1
mov dword [esp + 0x28], 0x4392ac
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 5
call fcn.00404100
cmp eax, ebp
je 0x427c2c
push eax
call fcn.00419423
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], 0x4392a8
cmp eax, ebp
mov dword [esp + 0x18], 0x4392ac
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
je 0x427c59
push eax
call fcn.00419423
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 0x428bc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x437af0
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.00428290
lea edx, [esp + 0x38]
push 0
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 1
mov dword [esp + 0x68], edx
call fcn.00404260
push 0
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 2
mov dword [esp + 0x40], 0x4392fc
call fcn.004043e0
mov dword [esp + 0x38], 0x4392bc
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 3
mov dword [esp + 0x38], 0x43a360
call dword [0x4392c0]
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.00404f00
mov ecx, ebp
mov edi, eax
mov edx, ecx
push 0x43fdf0
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.0041b859
pop edi
pop esi
pop ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x429d80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x437bf8
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.0042be20
mov dword [edi + 0x5c], eax
mov al, byte [edi + 0x44]
mov ebx, dword [edi + 0x3c]
add esp, 8
test al, al
jne 0x429ef5
xor ebp, ebp
test ebx, ebx
jle 0x429f0f
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.004281d0
lea ecx, [esi + 0x40]
mov dword [esp + 0x78], 0
push ecx
lea ecx, [esp + 0x54]
call fcn.004281d0
add esi, 0x50
lea ecx, [esp + 0x60]
push esi
mov byte [esp + 0x7c], 1
call fcn.004281d0
mov dword [esp + 0x10], 0x43a400
mov cl, byte [edi + 0x44]
mov dword [esp + 0x78], 2
test cl, cl
lea eax, [esp + 0x10]
jne 0x429ecc
lea edx, [esp + 0x10]
test edx, edx
jne 0x429ebd
mov eax, dword [edi + 0x28]
mov cl, byte [edi + 0x45]
push ecx
push 1
push eax
call fcn.0042c790
add esp, 0xc
lea edx, [esp + 0x10]
push ebp
push edx
mov ecx, edi
call fcn.00429f30
lea ecx, [esp + 0x10]
mov dword [esp + 0x78], 0xffffffff
call fcn.0042e6c0
inc ebp
cmp ebp, ebx
jl 0x429dd9
jmp 0x429f0f
xor esi, esi
test ebx, ebx
jle 0x429f0f
mov eax, dword [edi + 0x38]
push esi
mov ecx, dword [eax + esi*4]
push ecx
mov ecx, edi
call fcn.00429f30
inc esi
cmp esi, ebx
jl 0x429efb
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 0x42a1c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x437c79
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.00431060
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], 0x4392ac
mov dword [ebx + 0xc], eax
call fcn.00404f00
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], 0x4392fc
call fcn.00404f00
xor ecx, ecx
mov edi, eax
mov dword [ebx], 0x4392bc
lea ecx, [ebp + 0x40]
mov byte [esp + 0x2c], 3
call fcn.00427fd0
mov dword [ebp], 0x43a438
mov cx, word [0x4465ac]
mov dl, byte [0x4465ae]
mov word [0x4465a5], cx
mov byte [0x4465a7], 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, 0x4465a8
mov dword [esp + 0x1c], 0x4465a8
test ecx, ecx
mov dword [esp + 0x18], 0x439304
mov dword [esp + 0x20], esi
je 0x42a2c3
mov al, byte [0x4465a8]
test al, al
je 0x42a2c3
mov al, byte [esi + 0x4465a9]
inc esi
test al, al
jne 0x42a2b4
mov dword [esp + 0x20], esi
mov edx, dword [ebx + 8]
push esi
push edx
mov ecx, ebx
mov byte [esp + 0x34], 5
call fcn.00404f00
mov ecx, esi
mov edi, eax
mov eax, ecx
mov esi, 0x4465a8
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 0x42a800
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x437d58
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], 0x4392ac
mov dword [ebp + 0xc], ebx
call fcn.004043e0
mov ecx, dword [ebp + 8]
mov dword [ebp], 0x4392fc
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.00404f00
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], 0x4392bc
call fcn.0042b460
mov ebp, dword [esp + 0x38]
push ebx
push ebx
mov ecx, ebp
call fcn.00404ad0
push ebx
push ebx
mov ecx, ebp
mov byte [esp + 0x38], 3
mov dword [ebp], 0x4392ac
mov dword [ebp + 0xc], ebx
call fcn.004043e0
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], 0x4392fc
call fcn.00404f00
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], 0x4392bc
cmp eax, ebx
mov dword [esp + 0x18], 0x4392ac
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
je 0x42a93f
push eax
call fcn.00419423
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 0x42bf10
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x4380e8
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.00404500
mov esi, 0x4392bc
mov dword [esp + 0x34], esi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x94], edi
call fcn.00404500
mov dword [esp + 0x44], esi
lea ecx, [esp + 0x54]
mov byte [esp + 0x8c], 1
call fcn.00404e00
lea ecx, [esp + 0x64]
mov byte [esp + 0x8c], 2
call fcn.00404e00
lea ecx, [esp + 0x74]
mov byte [esp + 0x8c], 3
call fcn.00404e00
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x90], 4
mov dword [esp + 0x34], 0x43a3fc
call fcn.00431140
lea ecx, [esp + 0x20]
mov dword [esp + 0x8c], 5
push ecx
lea ecx, [esp + 0x34]
call fcn.0042c150
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 0x42c0e1
mov eax, dword [esp + 0x28]
cmp eax, edi
jle 0x42c035
mov ecx, dword [esp + 0x24]
mov dl, byte [ecx + eax - 1]
push edx
push 0x442c78
call fcn.00406d70
add esp, 8
test al, al
mov eax, dword [esp + 0x28]
je 0x42c035
dec eax
cmp eax, edi
mov dword [esp + 0x28], eax
jg 0x42c00e
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 [0x43a43c]
push 1
push ecx
lea ecx, [esp + 0x2c]
call fcn.00404f00
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 0x42c0e1
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], 0x4392ac
cmp eax, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
je 0x42c0af
push eax
call fcn.00419423
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0x4392a8
mov dword [esp + 0x8c], 0xffffffff
call fcn.00431080
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], 0x4392ac
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
je 0x42c118
push eax
call fcn.00419423
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0x4392a8
mov dword [esp + 0x8c], 0xffffffff
call fcn.00431080
mov ecx, dword [esp + 0x84]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x88
ret
Function at 0x42c210
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 0x42c229
pop esi
xor al, al
pop ebp
ret
push ebx
push edi
push esi
call fcn.0041a4ca
add esp, 4
mov edi, eax
mov bl, 1
push edi
push esi
call ebp
test eax, eax
jne 0x42c252
push edi
xor bl, bl
call fcn.00419220
add esp, 4
mov al, bl
pop edi
pop ebx
pop esi
pop ebp
ret
mov ecx, dword [esp + 0x14]
push edi
call fcn.004278c0
push edi
call fcn.00419220
add esp, 4
mov al, bl
pop edi
pop ebx
pop esi
pop ebp
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x438158
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.00404500
mov esi, 0x4392bc
mov dword [esp + 0x20], esi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x80], edi
call fcn.00404500
mov dword [esp + 0x30], esi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 1
call fcn.00404500
mov dword [esp + 0x40], esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 2
call fcn.00404e00
lea ecx, [esp + 0x60]
mov byte [esp + 0x78], 3
call fcn.00404e00
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x7c], 4
mov dword [esp + 0x20], 0x43a3fc
call fcn.00431140
lea ecx, [esp + 0xc]
mov dword [esp + 0x78], 5
push ecx
lea ecx, [esp + 0x20]
call fcn.0042c150
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], 0x4392ac
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
je 0x42c418
push eax
call fcn.00419423
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc], 0x4392a8
mov dword [esp + 0x78], 0xffffffff
call fcn.00431080
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 0x42c450
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4381a8
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.00404500
mov dword [esp + 0x1c], 0x4392bc
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x7c], esi
call fcn.00404500
mov dword [esp + 0x2c], 0x4392bc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 1
call fcn.00404e00
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 2
call fcn.00404e00
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 3
call fcn.00404e00
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x78], 4
mov dword [esp + 0x1c], 0x43a3fc
call fcn.00431140
lea ecx, [esp + 8]
mov dword [esp + 0x74], 5
push ecx
lea ecx, [esp + 0x1c]
call fcn.0042c150
mov eax, dword [esp + 0x10]
mov byte [esp + 0x74], 6
cmp eax, esi
jle 0x42c527
mov edx, dword [esp + 0xc]
mov al, byte [edx + eax - 1]
push eax
push 0x442c78
call fcn.00406d70
add esp, 8
test al, al
mov eax, dword [esp + 0x10]
je 0x42c527
dec eax
cmp eax, esi
mov dword [esp + 0x10], eax
jg 0x42c500
mov edx, dword [esp + 8]
push eax
lea ecx, [esp + 0xc]
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov bl, byte [0x43a43c]
push 1
push eax
lea ecx, [esp + 0x10]
call fcn.00404f00
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], 0x4392ac
setne bl
cmp eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
je 0x42c598
push eax
call fcn.00419423
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 8], 0x4392a8
mov dword [esp + 0x74], 0xffffffff
call fcn.00431080
mov ecx, dword [esp + 0x6c]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret

Function at 0x42c5e0
Capabilities:
Delete file

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

Function at 0x42c610
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 0x42c638
mov al, byte [esp + 0x10]
test al, al
je 0x42c63c
push esi
push 0x72
call fcn.00426040
add esp, 8
mov al, 1
pop esi
ret
xor al, al
pop esi
ret