joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427610
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push esi
push edi
push 0x14
call fcn.0041b75a
mov esi, eax
xor edi, edi
add esp, 4
cmp esi, edi
je 0x42765a
push edi
push edi
lea eax, [esp + 0x10]
push 1
push eax
mov dword [esi], 0x43b398
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], 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 + 0xc], eax
jmp 0x42765c
xor esi, esi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push esi
push edi
mov dword [0x449420], esi
push 0x427560
mov dword [esi + 8], ecx
mov dword [esi + 4], edx
call fcn.0041cb23
mov eax, dword [esi + 0xc]
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 0x428d20
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.00428eb0
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.00428eb0
mov dword [esi + 0x1b0], eax
pop esi
ret 4

Function at 0x429310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4390bf
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.00429480
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 1
push ecx
mov ecx, esi
call fcn.00429180
mov eax, dword [esp + 0x30]
mov byte [esp + 0x40], 2
cmp eax, ebp
je 0x4293e2
mov edx, dword [esp + 0x20]
push ebx
mov bl, byte [0x43b478]
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.00404ae0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0x43a32c
cmp eax, 0xffffffff
pop ebx
jne 0x4293ca
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x14], eax
je 0x4293ca
cmp byte [ecx], 0
je 0x4293ca
inc eax
mov dword [esp + 0x14], eax
cmp byte [ecx + eax], 0
jne 0x4293bf
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 3
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404370
mov byte [esp + 0x40], 2
mov esi, dword [esp + 0x48]
push ebp
push ebp
mov ecx, esi
call fcn.00404250
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], 0x43a324
call fcn.004043d0
mov dword [esi], 0x43a2e4
mov dword [esp + 8], 1
mov dword [esp + 0x28], 0x43a2d4
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 5
call fcn.00416b30
cmp eax, ebp
je 0x42943c
push eax
call fcn.0041a6b3
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], 0x43a2d0
cmp eax, ebp
mov dword [esp + 0x18], 0x43a2d4
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
je 0x429469
push eax
call fcn.0041a6b3
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 0x42a410
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4392f0
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.00429ad0
lea edx, [esp + 0x38]
push 0
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 1
mov dword [esp + 0x68], edx
call fcn.00404250
push 0
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 2
mov dword [esp + 0x40], 0x43a324
call fcn.004043d0
mov dword [esp + 0x38], 0x43a2e4
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 3
mov dword [esp + 0x38], 0x43b39c
call dword [0x43a2e8]
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 0x440e58
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.0041cae9
pop edi
pop esi
pop ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x42b5d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4393f8
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.0042d600
mov dword [edi + 0x5c], eax
mov al, byte [edi + 0x44]
mov ebx, dword [edi + 0x3c]
add esp, 8
test al, al
jne 0x42b745
xor ebp, ebp
test ebx, ebx
jle 0x42b75f
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.00429a10
lea ecx, [esi + 0x40]
mov dword [esp + 0x78], 0
push ecx
lea ecx, [esp + 0x54]
call fcn.00429a10
add esi, 0x50
lea ecx, [esp + 0x60]
push esi
mov byte [esp + 0x7c], 1
call fcn.00429a10
mov dword [esp + 0x10], 0x43b43c
mov cl, byte [edi + 0x44]
mov dword [esp + 0x78], 2
test cl, cl
lea eax, [esp + 0x10]
jne 0x42b71c
lea edx, [esp + 0x10]
test edx, edx
jne 0x42b70d
mov eax, dword [edi + 0x28]
mov cl, byte [edi + 0x45]
push ecx
push 1
push eax
call fcn.0042df70
add esp, 0xc
lea edx, [esp + 0x10]
push ebp
push edx
mov ecx, edi
call fcn.0042b780
lea ecx, [esp + 0x10]
mov dword [esp + 0x78], 0xffffffff
call fcn.0042fea0
inc ebp
cmp ebp, ebx
jl 0x42b629
jmp 0x42b75f
xor esi, esi
test ebx, ebx
jle 0x42b75f
mov eax, dword [edi + 0x38]
push esi
mov ecx, dword [eax + esi*4]
push ecx
mov ecx, edi
call fcn.0042b780
inc esi
cmp esi, ebx
jl 0x42b74b
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 0x42b9a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x439479
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.00432840
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], 0x43a2d4
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], 0x43a324
call fcn.00404f00
xor ecx, ecx
mov edi, eax
mov dword [ebx], 0x43a2e4
lea ecx, [ebp + 0x40]
mov byte [esp + 0x2c], 3
call fcn.00429810
mov dword [ebp], 0x43b474
mov cx, word [0x448644]
mov dl, byte [0x448646]
mov word [0x44863d], cx
mov byte [0x44863f], 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, 0x448640
mov dword [esp + 0x1c], 0x448640
test ecx, ecx
mov dword [esp + 0x18], 0x43a32c
mov dword [esp + 0x20], esi
je 0x42baa3
mov al, byte [0x448640]
test al, al
je 0x42baa3
mov al, byte [esi + 0x448641]
inc esi
test al, al
jne 0x42ba94
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, 0x448640
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 0x42bfe0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x439558
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], 0x43a2d4
mov dword [ebp + 0xc], ebx
call fcn.004043d0
mov ecx, dword [ebp + 8]
mov dword [ebp], 0x43a324
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], 0x43a2e4
call fcn.0042cc40
mov ebp, dword [esp + 0x38]
push ebx
push ebx
mov ecx, ebp
call fcn.00404ae0
push ebx
push ebx
mov ecx, ebp
mov byte [esp + 0x38], 3
mov dword [ebp], 0x43a2d4
mov dword [ebp + 0xc], ebx
call fcn.004043d0
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], 0x43a324
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], 0x43a2e4
cmp eax, ebx
mov dword [esp + 0x18], 0x43a2d4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
je 0x42c11f
push eax
call fcn.0041a6b3
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 0x42d6f0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x4398e8
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.004044f0
mov esi, 0x43a2e4
mov dword [esp + 0x34], esi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x94], edi
call fcn.004044f0
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], 0x43b438
call fcn.00432920
lea ecx, [esp + 0x20]
mov dword [esp + 0x8c], 5
push ecx
lea ecx, [esp + 0x34]
call fcn.0042d930
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 0x42d8c1
mov eax, dword [esp + 0x28]
cmp eax, edi
jle 0x42d815
mov ecx, dword [esp + 0x24]
mov dl, byte [ecx + eax - 1]
push edx
push 0x444c94
call fcn.00406ca0
add esp, 8
test al, al
mov eax, dword [esp + 0x28]
je 0x42d815
dec eax
cmp eax, edi
mov dword [esp + 0x28], eax
jg 0x42d7ee
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 [0x43b478]
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 0x42d8c1
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], 0x43a2d4
cmp eax, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
je 0x42d88f
push eax
call fcn.0041a6b3
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0x43a2d0
mov dword [esp + 0x8c], 0xffffffff
call fcn.00432860
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], 0x43a2d4
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
je 0x42d8f8
push eax
call fcn.0041a6b3
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0x43a2d0
mov dword [esp + 0x8c], 0xffffffff
call fcn.00432860
mov ecx, dword [esp + 0x84]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x88
ret
Function at 0x42d9f0
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 0x42da09
pop esi
xor al, al
pop ebp
ret
push ebx
push edi
push esi
call fcn.0041b75a
add esp, 4
mov edi, eax
mov bl, 1
push edi
push esi
call ebp
test eax, eax
jne 0x42da32
push edi
xor bl, bl
call fcn.0041a4b0
add esp, 4
mov al, bl
pop edi
pop ebx
pop esi
pop ebp
ret
mov ecx, dword [esp + 0x14]
push edi
call fcn.004290d0
push edi
call fcn.0041a4b0
add esp, 4
mov al, bl
pop edi
pop ebx
pop esi
pop ebp
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x439958
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.004044f0
mov esi, 0x43a2e4
mov dword [esp + 0x20], esi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x80], edi
call fcn.004044f0
mov dword [esp + 0x30], esi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 1
call fcn.004044f0
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], 0x43b438
call fcn.00432920
lea ecx, [esp + 0xc]
mov dword [esp + 0x78], 5
push ecx
lea ecx, [esp + 0x20]
call fcn.0042d930
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], 0x43a2d4
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
je 0x42dbf8
push eax
call fcn.0041a6b3
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc], 0x43a2d0
mov dword [esp + 0x78], 0xffffffff
call fcn.00432860
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 0x42dc30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4399a8
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.004044f0
mov dword [esp + 0x1c], 0x43a2e4
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x7c], esi
call fcn.004044f0
mov dword [esp + 0x2c], 0x43a2e4
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], 0x43b438
call fcn.00432920
lea ecx, [esp + 8]
mov dword [esp + 0x74], 5
push ecx
lea ecx, [esp + 0x1c]
call fcn.0042d930
mov eax, dword [esp + 0x10]
mov byte [esp + 0x74], 6
cmp eax, esi
jle 0x42dd07
mov edx, dword [esp + 0xc]
mov al, byte [edx + eax - 1]
push eax
push 0x444c94
call fcn.00406ca0
add esp, 8
test al, al
mov eax, dword [esp + 0x10]
je 0x42dd07
dec eax
cmp eax, esi
mov dword [esp + 0x10], eax
jg 0x42dce0
mov edx, dword [esp + 8]
push eax
lea ecx, [esp + 0xc]
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov bl, byte [0x43b478]
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], 0x43a2d4
setne bl
cmp eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
je 0x42dd78
push eax
call fcn.0041a6b3
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 8], 0x43a2d0
mov dword [esp + 0x74], 0xffffffff
call fcn.00432860
mov ecx, dword [esp + 0x6c]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret

Function at 0x42ddc0
Capabilities:
Delete file

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

Function at 0x42ddf0
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 0x42de18
mov al, byte [esp + 0x10]
test al, al
je 0x42de1c
push esi
push 0x72
call fcn.00427890
add esp, 8
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
Function at 0x42fde0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4399d6
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.00429810
xor edi, edi
lea ecx, [esi + 0x40]
mov dword [esp + 0x14], edi
call fcn.00429810
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 1
call fcn.00429810
mov dword [esi], 0x43b43c
mov ax, word [0x44883c]
mov cl, byte [0x44883e]
mov dx, word [0x448838]
mov word [0x448831], ax
mov al, byte [0x44883a]
mov byte [0x448833], cl
mov ecx, dword [esp + 0xc]
mov word [0x448835], dx
mov byte [0x448837], 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 0x4354f5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x435515
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00421c74
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x435538
test byte [esp + 8], 2
je 0x435538
call fcn.00421ce7
mov dword [eax], 0xd
call fcn.00421cf0
mov dword [eax], 5
jmp 0x435511
xor eax, eax
ret
Function at 0x4014f0
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x401524
mov al, byte [esi + 1]
inc esi
test al, al
je 0x40151c
lea ebx, [ebx]
cmp al, 0x22
je 0x401521
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x401510
cmp byte [esi], 0x22
jne 0x401530
inc esi
jmp 0x401530
cmp al, 0x20
jle 0x401530
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
jg 0x401528
mov al, byte [esi]
test al, al
je 0x401542
cmp al, 0x20
jg 0x401542
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x401536
lea eax, [esp + 4]
push eax
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00401590
test byte [esp + 0x30], 1
movzx eax, word [esp + 0x34]
jne 0x40156b
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.004015e0
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401a32
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push 0x104
xor esi, esi
push esi
mov ebx, 0x405030
push ebx
call fcn.00403290
mov ebp, dword [esp + 0x1c]
push ebp
call fcn.00403200
add esp, 0x10
test eax, eax
jbe 0x401a79
push edi
mov edi, ebp
sub edi, ebx
lea eax, [esi + 0x405030]
mov cl, byte [edi + eax]
xor cl, 0x41
push ebp
mov byte [eax], cl
inc esi
call fcn.00403200
cmp esi, eax
pop ecx
jb 0x401a5e
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x40317a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push 0x10
xor ebx, ebx
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.00403290
push 0x44
pop esi
push esi
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.00403290
add esp, 0x18
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x58], esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x4031d8
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
mov al, byte [ebp - 1]
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx