joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4043c0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47761b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x48300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0
push eax
push 3
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.NETAPI32.dll_NetUserGetInfo]
test eax, eax
jne 0x404500
mov eax, dword [ebp - 0x224]
mov esi, dword [eax + 0x24]
call fcn.004018e0
mov ecx, eax
test ecx, ecx
je 0x40451b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0
test esi, esi
je 0x404497
test esi, 0xffff0000
jne 0x404497
movzx eax, si
lea ecx, [ebp - 0x21c]
push eax
call fcn.004052f0
jmp 0x4044a3
push esi
lea ecx, [ebp - 0x21c]
call fcn.004050b0
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x224]
cmp dword [esi - 0xc], 0
jne 0x4044c0
mov eax, dword [eax]
jmp 0x4044c3
mov eax, dword [eax + 0x24]
push eax
mov ecx, edi
call fcn.004050b0
push dword [ebp - 0x224]
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov dword [ebp - 0x224], 0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x404500
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475bd4
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403360
int3
Function at 0x404530
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [0x48300c]
xor eax, esp
mov dword [esp + 4], eax
push esi
push edi
push 0x1388
push str..PipewFileCheckPipeChange
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
jne 0x40458c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Pipe_busy_or_not_start__Error:_d
push str.pipeOut
push dword [0x484188]
call fcn.00403170
add esp, 0x10
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00475bd4
mov esp, ebp
pop ebp
ret
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push str..PipewFileCheckPipeChange
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4045be
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Create_Pipe_Error:_d
jmp 0x404568
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4045c3
push 0
lea eax, [esp + 0xc]
sub ecx, edx
push eax
push ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4045ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Write_Pipe_Error:_d
push str.pipeOut
push dword [0x484188]
call fcn.00403170
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.00475bd4
mov esp, ebp
pop ebp
ret
Function at 0x406c90
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.00406d30
test eax, eax
je 0x406ca0
mov al, 1
pop esi
ret
push 0
push 0
push esi
push 0x406ce0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 8], eax
test eax, eax
setne al
pop esi
ret

Function at 0x40e3c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, ecx
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [eax + 0xc], 0
je 0x40e414
push ebx
push esi
xor esi, esi
mov ebx, edx
push edi
mov edi, ecx
test ecx, ecx
jle 0x40e404
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x479a68]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x40e3e4
mov ecx, dword [ebp + 8]
mov eax, esi
xor edx, edx
mov esi, dword [ebp - 4]
pop edi
div dword [esi]
mov eax, esi
pop esi
pop ebx
jmp 0x40e416
xor edx, edx
push edx
mov edx, dword [ebp - 8]
push ecx
mov ecx, eax
call fcn.0040e310
add esp, 8
test eax, eax
je 0x40e430
mov eax, dword [eax + 8]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4107d0
Capabilities:
Check if file exists
Check os version
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x48300c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
push esi
push edi
mov dword [ebp - 0x120], eax
xor esi, esi
call fcn.0040ff00
mov edi, eax
test edi, edi
jne 0x410810
pop edi
lea eax, [esi + 7]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00475bd4
mov esp, ebp
pop ebp
ret
mov eax, dword [0x48419c]
test eax, eax
jne 0x410842
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [ebp - 0x108], 2
sete al
inc eax
mov dword [0x48419c], eax
mov dword [ebp - 0x11c], 1
push ebx
cmp eax, 2
jne 0x4108a5
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4108f4
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
mov dword [ebp - 0x11c], ebx
test ebx, ebx
jne 0x4108f4
cmp esi, dword [0x483254]
jge 0x4108f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x410892
cmp eax, 0x21
je 0x410892
cmp eax, 0x20
jne 0x4108f4
inc esi
mov eax, esi
imul eax, dword [0x483a34]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x410852
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4108f4
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, eax
mov dword [ebp - 0x11c], ebx
test ebx, ebx
jne 0x4108f4
cmp esi, dword [0x483254]
jge 0x4108f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4108e1
cmp eax, 0x21
je 0x4108e1
cmp eax, 0x20
jne 0x4108f4
inc esi
mov eax, esi
imul eax, dword [0x483a34]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4108a5
xor ebx, ebx
cmp dword [ebp - 0x11c], ebx
sete bl
test ebx, ebx
je 0x410924
push 0x85f9
push dword [ebp - 0x120]
mov edx, str.winDelete
mov ecx, 0xa0a
call fcn.0040e9a0
add esp, 8
mov ebx, eax
jmp 0x41094a
test esi, esi
je 0x41094a
lea eax, [esi + 1]
imul eax, dword [0x483a34]
imul eax, esi
cdq
sub eax, edx
sar eax, 1
push eax
push str.delayed__dms_for_lock_sharing_conflict
push 0xa
call fcn.0040c910
add esp, 0xc
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, ebx
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.00475bd4
mov esp, ebp
pop ebp
ret
Function at 0x4152b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, edx
mov dword [ebp - 4], ebx
mov edx, dword [esi + 0x3c]
cmp dword [edx], ebx
jne 0x4152f0
mov eax, dword [esi + 0x78]
mov ecx, dword [esi]
or eax, 0x1e
push ebx
and eax, 0x87f7f
push eax
mov eax, dword [ecx + 0x18]
push edx
push ebx
push ecx
call eax
mov ebx, eax
add esp, 0x14
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x41543b
mov ecx, dword [esi + 0x18]
cmp ecx, dword [esi + 0x24]
jbe 0x415330
mov eax, dword [esi + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.00476e90
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x18]
push edx
push 5
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esi + 0x18]
add esp, 0xc
mov dword [esi + 0x24], eax
nop dword [eax]
test edi, edi
je 0x415439
mov ebx, dword [edi + 0xc]
mov dword [ebp - 0xc], ebx
cmp ebx, dword [esi + 0x18]
ja 0x41542b
test byte [edi + 0x14], 0x20
jne 0x41542b
mov eax, dword [esi + 0x80]
lea ecx, [ebx - 1]
mov dword [ebp - 4], eax
cdq
push edx
push eax
push 0
push ecx
call fcn.00476e90
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
cmp ebx, 1
jne 0x4153e4
mov ecx, dword [edi + 0x10]
movzx edx, byte [ecx + 0x64]
movzx eax, byte [ecx + 0x65]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0x66]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0x67]
shl edx, 8
or edx, eax
mov eax, dword [edi]
inc edx
mov dword [ebp - 4], edx
mov ebx, edx
mov ecx, dword [ebp - 4]
shr ebx, 0x18
mov byte [eax + 0x18], bl
shr edx, 0x10
mov byte [eax + 0x19], dl
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
mov byte [eax + 0x1b], bl
mov ebx, dword [ebp - 8]
shr ecx, 8
mov byte [eax + 0x1a], cl
mov eax, dword [edi]
mov byte [eax + 0x5e], cl
mov ecx, dword [ebp - 4]
mov byte [eax + 0x5c], bl
mov ebx, dword [ebp - 0xc]
mov byte [eax + 0x5d], dl
mov byte [eax + 0x5f], cl
mov eax, dword [edi]
mov dword [eax + 0x60], 0x21e22d00
mov eax, dword [esi + 0x80]
mov dword [ebp - 4], eax
push dword [ebp - 0x10]
mov eax, dword [esi + 0x3c]
push dword [ebp - 0x14]
mov edx, dword [edi]
push dword [ebp - 4]
mov ecx, dword [eax]
push edx
push eax
mov dword [ebp - 0xc], edx
mov eax, dword [ecx + 0xc]
call eax
add esp, 0x14
mov dword [ebp - 4], eax
cmp ebx, 1
jne 0x415414
mov eax, dword [ebp - 0xc]
movups xmm0, xmmword [eax + 0x18]
movups xmmword [esi + 0x64], xmm0
cmp ebx, dword [esi + 0x20]
jbe 0x41541c
mov dword [esi + 0x20], ebx
push dword [edi]
mov ecx, dword [esi + 0x58]
mov edx, ebx
call fcn.00423d70
add esp, 4
mov ebx, dword [ebp - 4]
mov edi, dword [edi + 8]
test ebx, ebx
je 0x415330
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437840
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, edx
mov eax, ecx
mov dword [esp + 4], eax
push esi
push edi
test ebx, ebx
je 0x437963
mov edx, 0x50
call fcn.0040b030
mov edi, eax
test edi, edi
je 0x437963
mov esi, dword [ebp + 8]
mov edx, dword [ebx]
mov ecx, dword [esp + 0xc]
push esi
call fcn.004373a0
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi], eax
mov edx, dword [ebx + 8]
push esi
call fcn.00437510
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 8], eax
mov edx, dword [ebx + 0xc]
push esi
call fcn.00437380
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 0xc], eax
mov edx, dword [ebx + 0x10]
push esi
call fcn.004373a0
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 0x10], eax
mov edx, dword [ebx + 0x14]
push esi
call fcn.00437380
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 0x14], eax
mov edx, dword [ebx + 0x18]
push esi
call fcn.004373a0
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 0x18], eax
mov al, byte [ebx + 4]
mov byte [edi + 4], al
mov edx, dword [ebx + 0x1c]
push esi
call fcn.00437840
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 0x1c], eax
mov edx, dword [ebx + 0x28]
push esi
call fcn.00437380
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [edi + 0x28], eax
mov edx, dword [ebx + 0x2c]
push esi
call fcn.00437380
mov dword [edi + 0x2c], eax
mov ecx, 0xfff7
mov dword [edi + 0x30], 0
add esp, 4
mov dword [edi + 0x34], 0
mov ax, word [ebx + 6]
and ax, cx
mov dword [edi + 0x24], 0
mov word [edi + 6], ax
mov eax, edi
mov dword [edi + 0x38], 0xffffffff
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi + 0x40], 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440480
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, edx
mov edx, ecx
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
push esi
mov esi, eax
test eax, eax
je 0x4404ad
cmp byte [eax], cl
je 0x4404a5
inc esi
cmp byte [esi], cl
jne 0x4404a0
sub esi, eax
and esi, 0x3fffffff
xor eax, eax
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], eax
cmp dword [edx + 4], eax
jle 0x44056f
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, eax
xor edi, 1
cmp eax, 2
cmovge edi, eax
test ebx, ebx
je 0x440532
mov eax, dword [edx + 8]
mov ecx, edi
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov ecx, dword [ebp + 8]
mov bl, byte [ecx]
test bl, bl
je 0x440514
sub ecx, edx
mov al, bl
mov dword [ebp - 0x14], ecx
mov esi, ecx
nop
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x479a68]
cmp al, byte [ecx + 0x479a68]
jne 0x440511
mov al, byte [esi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x4404f0
mov esi, dword [ebp - 4]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x479a68]
movzx eax, bl
mov ebx, dword [ebp + 8]
movzx eax, byte [eax + 0x479a68]
sub eax, ecx
jne 0x440555
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
add edi, edi
mov edx, dword [ebp - 0x18]
push esi
mov ecx, dword [eax + edi*8 + 0xc]
add ecx, 8
call fcn.0040e3c0
mov ecx, eax
add esp, 4
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x44056b
jmp 0x440558
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [edx + 4]
jl 0x4404c3
pop edi
mov eax, ecx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x440620
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, edx
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edx
push esi
mov esi, eax
push edi
test eax, eax
je 0x44064d
cmp byte [eax], dl
je 0x440645
nop dword [eax]
inc esi
cmp byte [esi], dl
jne 0x440640
sub esi, eax
and esi, 0x3fffffff
mov eax, dword [ecx + 4]
xor edi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x440706
push ebx
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x18], ebx
mov eax, edi
xor eax, 1
cmp edi, 2
cmovge eax, edi
add eax, eax
mov ecx, dword [ebx + eax*8 + 0xc]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4406cd
mov edx, dword [ebx + eax*8]
mov bl, byte [ecx]
test bl, bl
je 0x4406b5
mov edi, ecx
mov al, bl
sub edi, edx
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x479a68]
cmp al, byte [ecx + 0x479a68]
jne 0x4406b2
mov al, byte [edi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x440691
mov edi, dword [ebp - 8]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x479a68]
movzx eax, bl
movzx eax, byte [eax + 0x479a68]
sub eax, ecx
jne 0x4406ea
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
add ecx, 0x18
push esi
call fcn.0040e3c0
mov edx, eax
add esp, 4
mov dword [ebp - 4], edx
test edx, edx
jne 0x4406fd
jmp 0x4406ed
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
inc edi
mov dword [ebp - 8], edi
cmp edi, dword [ebp - 0x14]
jl 0x440667
pop ebx
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403ca7
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp dword [0x40c00c], edi
jne 0x403db7
xor ebp, ebp
mov dword [esp + 0x10], 0x94
lea eax, [esp + 0x10]
inc ebp
push eax
mov dword [0x40c00c], ebp
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x403db7
mov edx, dword [esp + 0x14]
xor ecx, ecx
cmp dword [esp + 0x20], ebp
mov eax, dword [esp + 0x18]
sete cl
mov dword [0x40c064], edx
mov dword [0x40c060], eax
mov dword [0x40c05c], ecx
jne 0x403d15
cmp edx, 4
jne 0x403d15
cmp eax, 3
jge 0x403d15
mov eax, ebp
jmp 0x403d17
xor eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, 0x40100c
mov dword [0x40c058], eax
xor eax, eax
cmp dword [esp + 0x20], 2
sete al
mov dword [0x40c054], eax
test ecx, ecx
je 0x403d52
call fcn.00403bc2
push ebx
mov dword [0x40c050], eax
call esi
mov edi, eax
test edi, edi
je 0x403db7
mov eax, dword [0x40c054]
test eax, eax
je 0x403dc4
push ebx
call esi
mov edi, eax
test edi, edi
je 0x403db7
push 0x40101c
call esi
mov esi, eax
test esi, esi
je 0x403db7
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401028
push esi
call ebx
mov dword [0x40c04c], eax
test eax, eax
je 0x403db7
push 0x401040
push esi
call ebx
mov dword [0x40c048], eax
test eax, eax
je 0x403db7
push 0x40105c
push edi
call ebx
cmp dword [0x40c064], 5
mov dword [0x40c008], eax
jne 0x403dca
cmp dword [0x40c060], 2
jl 0x403dca
test eax, eax
jne 0x403dca
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret
xor esi, esi
test edi, edi
je 0x403dda
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call edi
test esi, esi
je 0x403dda
push esi
call edi
and dword [0x40c00c], 0
mov eax, ebp
jmp 0x403db9

Function at 0x40422e
Capabilities:
Get file attributes

Disassembly:
push esi
push edi
push 0
xor edx, edx
mov edi, ecx
call fcn.0040450b
mov esi, eax
test esi, esi
je 0x404253
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
mov edi, eax
call fcn.004066ad
pop ecx
jmp 0x40425c
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, eax
mov eax, edi
pop edi
pop esi
ret

Function at 0x404431
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
push 0
xor edx, edx
call fcn.0040450b
mov edi, eax
push esi
test edi, edi
je 0x40445a
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
mov esi, eax
call fcn.004066ad
pop ecx
jmp 0x404463
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x40457b
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x48
push ebx
push ebp
push edi
mov ebp, edx
mov ebx, ecx
call fcn.00404469
test al, al
je 0x4046aa
mov edi, dword [esp + 0x70]
cmp dword [edi], 0x48
jbe 0x4045aa
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x4046a1
push esi
xor esi, esi
test ebx, ebx
je 0x4045c1
push esi
xor edx, edx
mov ecx, ebx
call fcn.0040450b
mov dword [esp + 0x74], eax
jmp 0x4045c5
mov dword [esp + 0x74], esi
test ebp, ebp
je 0x4045d7
push esi
xor edx, edx
mov ecx, ebp
call fcn.0040450b
mov ebp, eax
jmp 0x4045d9
mov ebp, esi
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x4045ed
push esi
xor edx, edx
call fcn.0040450b
mov ebx, eax
jmp 0x4045ef
mov ebx, esi
push dword [edi]
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00403ed8
mov ecx, dword [edi + 8]
add esp, 0xc
test ecx, ecx
je 0x404612
push esi
xor edx, edx
call fcn.0040450b
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x404625
push esi
xor edx, edx
call fcn.0040450b
mov dword [esp + 0x1c], eax
push dword [esp + 0x78]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], esi
push eax
push ebx
push dword [esp + 0x78]
push dword [esp + 0x78]
push dword [esp + 0x78]
push dword [esp + 0x78]
push dword [esp + 0x78]
push ebp
push dword [esp + 0x98]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x74]
test eax, eax
je 0x404668
push eax
call fcn.004066ad
pop ecx
test ebp, ebp
je 0x404673
push ebp
call fcn.004066ad
pop ecx
test ebx, ebx
je 0x40467e
push ebx
call fcn.004066ad
pop ecx
cmp dword [edi + 8], esi
je 0x40468d
push dword [esp + 0x18]
call fcn.004066ad
pop ecx
cmp dword [edi + 0xc], esi
pop esi
je 0x40469d
push dword [esp + 0x18]
call fcn.004066ad
pop ecx
mov eax, dword [esp + 0x74]
pop edi
pop ebp
pop ebx
add esp, 0x48
ret 0x20
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [esp + 0x74]
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x4046a1
Function at 0x4047a2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
call fcn.00404469
test al, al
je 0x40488a
push 0x3c
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.00403ed8
mov ecx, dword [edi + 0xc]
add esp, 0xc
xor esi, esi
test ecx, ecx
je 0x4047dd
push esi
xor edx, edx
call fcn.0040450b
mov dword [ebp - 0x30], eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x4047ef
push esi
xor edx, edx
call fcn.0040450b
mov dword [ebp - 0x2c], eax
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x404801
push esi
xor edx, edx
call fcn.0040450b
mov dword [ebp - 0x28], eax
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x404813
push esi
xor edx, edx
call fcn.0040450b
mov dword [ebp - 0x24], eax
or dword [ebp - 0x38], 0x4000
push 0x40108c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push 0x401098
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x3c]
push ecx
call eax
cmp dword [ebp - 0x30], 0
mov ebx, eax
je 0x40484a
push dword [ebp - 0x30]
call fcn.004066ad
pop ecx
cmp dword [ebp - 0x2c], 0
je 0x404859
push dword [ebp - 0x2c]
call fcn.004066ad
pop ecx
cmp dword [ebp - 0x28], 0
je 0x404868
push dword [ebp - 0x28]
call fcn.004066ad
pop ecx
cmp dword [ebp - 0x24], 0
je 0x404877
push dword [ebp - 0x24]
call fcn.004066ad
pop ecx
mov eax, dword [ebp - 4]
mov dword [edi + 0x38], eax
test esi, esi
je 0x404893
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x404893
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x404954
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ecx
xor ecx, ecx
mov dword [ebp - 0x14], eax
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 0x18], 0x404945
push ecx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x4049b5
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x4049aa
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0xc]
jmp 0x4049b2
mov ecx, dword [ebp - 8]
call fcn.004047a2
pop esi
leave
ret