joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40302f
Capabilities:
Terminate process

Disassembly:
push 0x60
push 0x40fde8
call fcn.00407554
and dword [ebp - 4], 0
lea eax, [ebp - 0x70]
push eax
call dword [0x40e0a4]
mov dword [ebp - 4], 0xfffffffe
mov edi, 0x94
push edi
push 0
mov ebx, dword [0x40e0a0]
call ebx
push eax
call dword [0x40e09c]
mov esi, eax
test esi, esi
jne 0x402e9a
push 0x12
call fcn.00402dea
pop ecx
jmp 0x403024
mov dword [esi], edi
push esi
call dword [0x40e098]
push esi
push 0
test eax, eax
jne 0x402eb8
call ebx
push eax
call dword [0x40e094]
jmp 0x403024
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x28], eax
mov edi, dword [esi + 0xc]
and edi, 0x7fff
call ebx
push eax
call dword [0x40e094]
mov esi, dword [ebp - 0x20]
cmp esi, 2
je 0x402eea
or edi, 0x8000
mov ecx, dword [ebp - 0x24]
push ecx
pop eax
shl eax, 8
mov edx, dword [ebp - 0x28]
add eax, edx
mov dword [0x434280], esi
mov dword [0x434288], eax
mov dword [0x43428c], ecx
mov dword [0x434290], edx
mov dword [0x434284], edi
call fcn.00402e0e
mov dword [ebp - 0x20], eax
sub ebx, ebx
inc ebx
push ebx
call fcn.004074f8
pop ecx
or eax, eax
jne 0x402f32
push 0x1c
call fcn.00402dea
pop ecx
call fcn.00404531
test eax, eax
jne 0x402f43
push 0x10
call fcn.00402dea
pop ecx
call fcn.00407455
mov dword [ebp - 4], ebx
call fcn.00407215
test eax, eax
jge 0x402f5c
push 0x1b
call fcn.00406706
pop ecx
call dword [0x40e090]
mov dword [0x435a58], eax
call fcn.004070e0
mov dword [0x433e30], eax
call fcn.00407027
test eax, eax
jge 0x402f82
push 8
call fcn.00406706
pop ecx
call fcn.00406db4
test eax, eax
jge 0x402f93
push 9
call fcn.00406706
pop ecx
push ebx
call fcn.00406822
pop ecx
or eax, eax
je 0x402fa5
push eax
call fcn.00406706
pop ecx
call fcn.00406d57
test byte [ebp - 0x44], bl
je 0x402fb5
movzx ecx, word [ebp - 0x40]
jmp 0x402fb8
push 0xa
pop ecx
push ecx
push eax
push 0
push sym.imp.opengl32.dll_glShadeModel
call main
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], 0
jne 0x402fd5
push eax
call fcn.00406982
call fcn.004069a4
jmp 0x40300a
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
jmp 0x403029
mov eax, 0xff
call fcn.00407599
ret
call fcn.00407746
jmp 0x402e4f

Function at 0x40b0c0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
cmp word [ecx], reloc.gdi32.dll_GetWindowOrgEx
je 0x40b0ce
xor eax, eax
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40b0cb
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
push ecx
pop eax
ret

Function at 0x40b0f0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x40b12c
mov edi, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x40b122
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x40b12e
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x40b112
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x4070d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
shr esp, 0x73
sbb eax, 0x4dd900c4
or al, 0x53
lds esi, [ebx]
test byte [ebx + 0x4518b30], 0x1b
sbb esp, esi
xor eax, dword [ebp + 0x10]
push edi
xchg esi, eax
inc ebp
adc byte [edi - 0x6a], dl
jne 0x4070db
mov bh, ah
mov dword [ebp - 4], esi
test al, dh
inc ebp
cmp esp, eax
mov dword [eax - 0x278a7610], ebx
mov dword [ebp - 1], edx
je 0xb67bb2
mov ebx, dword [ebp + 0x14]
cmp al, 0x25
je 0x40714b
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x407143
sal byte [ebp + ebp + 0x3b], 0x45
fdiv qword [edx - 0x32]
cmp eax, dword [ebp - 0x24]
jb 0x4070e9
fidivr dword [ebp + 0xc]
sub eax, 0x55ff0789
or byte [eax - 0x3c], cl
add al, 0x85
sbb byte [edi], cl
test dword [edx + ecx - 0x3750000], edx
add al, 0x8b
pop es
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 6]
inc eax
cmp eax, dword [ebp - 0xc]
mov cl, byte [edx]
mov eax, dword [0x45ffff48]
in al, dx
inc dword [ebp - 0x14]
jmp 0x409f88
aas
jge 0x40715e
mov ebp, dword [edi + 0x74]
rol dword [eax], 0xb8
push ds
add byte [eax], al
add byte [ebx], dh
rcr byte [ecx + edi], cl
je 0x407113
inc eax
add byte [eax + 0x1e], bh
xor edx, edx
sbb al, 0x39
add dword [ecx + 0x4589bc45], ecx
ror byte [ecx + 0x55aac855], 0xc4
mov dword [ebp - 0x2c], edx
invalid
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], edx
stosb byte es:[edi], al
push ebp
les ecx, [ecx - 0x6d392bab]
pop ss
and byte [eax], cl
push ebp
sti
mov dword [ebp + 0x7e], edi
jle 0x40718b
mov dl, byte [edi]
push 0xffffffffffffffa4
push edx
call dword [edi + 0x68]
rol dword [eax], 0x83
les ecx, [eax]
push ds
shr bl, cl
adc cl, byte [ebx - 0x23e8739]
mov eax, edi
js 0x407150
std
add byte [edx - 0x74f87540], ah
or dword [edx - 0x1f7cbefc], ecx
add bh, byte [ebx]
ret 0x850f
mov bh, 0x43
ror dword [edi], 1
mov eax, dword [0x5689ffad]
movsb byte es:[edi], byte [esi]
mov dword [esi + 0x3c], ecx
aaa
dec ebx
or dh, dh
dec esi
dec eax
mov eax, ecx
mov edx, edi
mov ecx, 0x20
invalid
Function at 0x401ff7
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
lea edx, [eax + 1]
imul edx, dword [0x404050]
mov ebx, eax
mov eax, 0x404054
call fcn.00401f33
lea edx, [ebp - 4]
push edx
mov edx, esi
or dl, 0x40
mov edi, 0x402fd6
push edx
sub edi, fcn.00402780
push edi
xor eax, eax
push fcn.00402780
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x402063
mov eax, fcn.00402780
mov ebx, esi
mov edx, edi
call fcn.00401f33
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.0040186d
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x401000
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x4312a0], 0x24e1
mov eax, dword [0x4312a0]
sub eax, 0x24e1
mov dword [0x4312a0], eax
mov ecx, 1
test ecx, ecx
je 0x4010ab
mov edx, dword [0x4312a0]
cmp edx, dword [ebp + 0xc]
jb 0x401037
jmp 0x4010ab
cmp dword [0x4312a0], 0
jne 0x401055
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401055
xor eax, eax
jmp 0x4010ab
mov eax, dword [ebp + 8]
add eax, dword [0x4312a0]
mov ecx, dword [eax]
add ecx, dword [0x4312a0]
mov edx, dword [ebp + 8]
add edx, dword [0x4312a0]
mov dword [edx], ecx
mov dword [ebp - 4], 0x263fa
mov eax, dword [0x4312a0]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x4312a0]
push eax
call fcn.00401270
add esp, 8
mov ecx, dword [0x4312a0]
add ecx, 4
mov dword [0x4312a0], ecx
jmp 0x40101d
mov esp, ebp
pop ebp
ret

Function at 0x401970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x114], 0x4090a8
mov eax, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x11c], eax
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [ebp - 0x11c]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x4019ea
cmp dword [ebp - 0x118], 0
je 0x4019ea
jmp 0x401a4c
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x401a4c
mov dword [ebp - 0x120], 0x7dc35
mov eax, dword [ebp + 8]
add eax, 8
mov dword [0x431294], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [0x4312b0], edx
mov dword [ebp - 0x120], 0x7dc35
mov dword [ebp - 0x120], 0x7dc35
call fcn.00401260
mov eax, dword [ebp + 8]
mov dword [0x4312ac], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
call fcn.00401b30
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x4019ea
mov esp, ebp
pop ebp
ret
Function at 0x402850
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402869
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4028a4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4028a0
lea ebx, [ebx]
cmp esi, eax
jae 0x4028a4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402890
cmp esi, eax
jb 0x4028aa
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4031f0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x18
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403200
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403214
push ebp
sub eax, edx
mov ebp, eax
lea eax, [esp + 0x10]
push eax
push 0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403364
mov edx, dword [esp + 0x10]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push esi
push edi
lea ecx, [esp + 0x10]
push ecx
push str..UCIP
push edx
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40327f
mov eax, dword [esp + 0x10]
push 0xd
push str.YingUnInstall
push 1
push 0
push 0
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call edi
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
push str.YingUnInstall
push eax
call ebx
test eax, eax
jne 0x40335a
mov ecx, dword [esp + 0x10]
push 0xe
push str.Uninstall_File
push 1
push eax
push eax
push ecx
call esi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push str.DefaultIcon
push eax
call ebx
test eax, eax
jne 0x4032d7
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
push ebp
push ecx
push 1
push eax
push eax
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push str.Shell
push edx
call ebx
test eax, eax
jne 0x403353
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push str.Open
push ecx
call ebx
test eax, eax
jne 0x40334c
mov edx, dword [esp + 0x18]
push eax
push 0x46dc24
push 1
push eax
push eax
push edx
call esi
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push str.Command
push ecx
call ebx
test eax, eax
jne 0x403345
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push edx
push eax
push 2
push 0
push 0
push ecx
call esi
mov edx, dword [esp + 0x20]
push edx
call edi
mov eax, dword [esp + 0x18]
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call edi
mov eax, dword [esp + 0x1c]
push eax
call edi
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x18
ret
Function at 0x403370
Capabilities:
Check os version

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x40342c
push 0x94
mov edi, 1
call fcn.0044c59a
mov esi, eax
add esp, 4
test esi, esi
je 0x40349f
push 0x94
push 0
push esi
call fcn.0044c670
add esp, 0xc
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 4]
cmp eax, 4
jne 0x4033d5
push esi
lea edi, [eax + 1]
call fcn.0044c4bd
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp eax, 5
jne 0x40340c
cmp dword [esi + 8], 0
jne 0x4033f1
push esi
lea edi, [eax + 1]
call fcn.0044c4bd
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp eax, 5
jne 0x40340c
cmp dword [esi + 8], edi
jne 0x40340c
push esi
lea edi, [eax + 2]
call fcn.0044c4bd
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp eax, 6
jne 0x403496
cmp dword [esi + 8], 0
jne 0x403496
push esi
lea edi, [eax + 2]
call fcn.0044c4bd
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp al, 4
jae 0x403435
pop edi
xor eax, eax
pop esi
ret
push 0x94
mov edi, 2
call fcn.0044c59a
mov esi, eax
add esp, 4
test esi, esi
je 0x40349f
push 0x94
push 0
push esi
call fcn.0044c670
add esp, 0xc
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 4]
cmp eax, 4
jne 0x403496
cmp dword [esi + 8], 0xa
jne 0x403489
push esi
lea edi, [eax - 1]
call fcn.0044c4bd
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp eax, 4
jne 0x403496
cmp dword [esi + 8], 0x5a
jne 0x403496
mov edi, eax
push esi
call fcn.0044c4bd
add esp, 4
mov eax, edi
pop edi
pop esi
ret

Function at 0x4034b0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
lea ecx, [esp + 0x28]
push ecx
push 0x64
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp byte [esp + 0x28], 0
mov dword [edi], 0
lea esi, [esp + 0x28]
je 0x40358a
lea esp, [esp]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x403518
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x40356e
movsx edx, byte [esi]
push edx
call fcn.0044bd72
add esp, 4
cmp eax, 0x41
je 0x40356e
movsx eax, byte [esi]
push eax
call fcn.0044bd72
mov ecx, dword [edi]
mov edx, dword [esp + 0x10]
add esp, 4
mov byte [edx + ecx], al
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [edi]
shrd ecx, edx, 0x14
shr edx, 0x14
mov dword [ebx + eax*8], ecx
mov dword [ebx + eax*8 + 4], edx
inc dword [edi]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403573
sub eax, edx
cmp byte [esi + eax + 1], cl
lea esi, [esi + eax + 1]
jne 0x403500
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044b758
mov esp, ebp
pop ebp
ret
Function at 0x403f90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x465488
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor eax, eax
cmp byte [0x48a0f3], al
je 0x403fdc
mov cl, 0x20
cmp byte [eax + 0x48a0f3], cl
je 0x403fd5
inc eax
cmp byte [eax + 0x48a0f3], 0
jne 0x403fc1
jmp 0x403fdc
mov byte [eax + 0x48a0f3], 0
push 0x48a0f3
lea ecx, [esp + 0x1c]
call fcn.00425490
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0
call fcn.00425410
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0044b788
add esp, 4
lea ecx, [esp + 0xc]
mov esi, eax
mov edi, edx
call fcn.00425570
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00425570
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret

Function at 0x404460
Capabilities:
Create process on windows
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4655c8
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x384], eax
push esi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x390]
mov dword fs:[0], eax
sub esp, 0xc
lea eax, [esp + 0x3ac]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x3a8], 0
call fcn.00425410
lea esi, [esp + 0x28]
call fcn.00403bf0
mov eax, dword [eax + 4]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, esi
call fcn.00425570
mov ecx, dword [esp + 0x3a4]
push ecx
lea edx, [esp + 0x70]
push 0x320
push edx
call fcn.0044bd9e
push 0x44
lea eax, [esp + 0x38]
push 0
push eax
call fcn.0044c670
mov cx, word [esp + 0x3c4]
add esp, 0x18
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0x20
push 1
push 0
mov word [esp + 0x74], cx
push 0
lea ecx, [esp + 0x8c]
push ecx
push 0
mov dword [esp + 0x50], 0x44
mov dword [esp + 0x7c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x404563
lea ecx, [esp + 0x3a0]
mov dword [esp + 0x398], 0xffffffff
call fcn.00425570
mov eax, 0xbeb95
jmp 0x40459d
mov edx, dword [esp + 0xc]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, dword [esp + 8]
lea ecx, [esp + 0x3a0]
mov dword [esp + 0x398], 0xffffffff
call fcn.00425570
mov eax, esi
mov ecx, dword [esp + 0x390]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x384]
xor ecx, esp
call fcn.0044b758
add esp, 0x394
ret
Function at 0x4045d0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x465608
mov eax, dword fs:[0]
push eax
sub esp, 0x70c
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x708], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x720]
mov dword fs:[0], eax
mov eax, dword [esp + 0x734]
push eax
lea ecx, [esp + 0x52c]
push 0x1f4
push ecx
call fcn.0044bd9e
lea edx, [esp + 0x534]
push edx
lea eax, [esp + 0x344]
push 0x1f4
push eax
call fcn.0044bd9e
lea eax, [esp + 0x34c]
add esp, 0x18
lea edx, [eax + 1]
xor ebx, ebx
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404650
sub eax, edx
cmp eax, 4
jl 0x40473a
mov cx, word [esp + 0x334]
mov dl, byte [esp + 0x336]
push 0x46dc24
lea eax, [esp + 0x18]
push 0x12c
push eax
mov word [esp + 0x14c], cx
mov byte [esp + 0x14e], dl
mov byte [esp + 0x14f], bl
xor esi, esi
call fcn.0044bd9e
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
cmp byte [esp + 0x337], bl
je 0x404711
lea edi, [esp + 0x337]
mov al, byte [edi]
cmp al, 0x5c
jne 0x404707
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x144]
push 0x1f4
push edx
mov byte [esp + esi + 0x20], bl
call fcn.0044c067
add esp, 0xc
push ebx
lea eax, [esp + 0x144]
push eax
call ebp
push 0x46dd70
lea ecx, [esp + 0x144]
push 0x1f4
push ecx
call fcn.0044c067
add esp, 0xc
xor esi, esi
mov byte [esp + 0x14], bl
jmp 0x40470c
mov byte [esp + esi + 0x14], al
inc esi
inc edi
cmp byte [edi], bl
jne 0x4046b6
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x144]
push 0x1f4
push eax
mov byte [esp + esi + 0x20], bl
call fcn.0044c067
add esp, 0xc
push ebx
lea ecx, [esp + 0x144]
push ecx
call ebp
lea ecx, [esp + 0x730]
mov dword [esp + 0x728], 0xffffffff
call fcn.00425570
mov ecx, dword [esp + 0x720]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x708]
xor ecx, esp
call fcn.0044b758
add esp, 0x718
ret
Function at 0x4047b0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x465648
mov eax, dword fs:[0]
push eax
sub esp, 0x904
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x900], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x918]
mov dword fs:[0], eax
mov eax, dword [esp + 0x92c]
push eax
lea ecx, [esp + 0x724]
push 0x1f4
push ecx
call fcn.0044bd9e
push 0x46de3c
lea edx, [esp + 0x730]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.0044cdc7
add esp, 0x18
test eax, eax
jne 0x4049ca
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push 0x1e0
push edx
call fcn.0044cbbb
mov eax, dword [esp + 0x20]
push eax
call fcn.0044cb87
add esp, 0x10
test eax, eax
jne 0x4049bd
mov edi, dword [esp + 0x14]
lea ebp, [esp + 0x18]
sub ebp, 2
xor ebx, ebx
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404864
sub eax, edx
mov byte [eax + ebp], bl
mov ecx, 0x46dc24
lea eax, [esp + 0x18]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4048a0
cmp dl, bl
je 0x40489c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4048a0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x404880
xor eax, eax
jmp 0x4048a5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x404994
cmp byte [esp + 0x18], 0x5b
jne 0x4048c8
lea ecx, [esp + 0x18]
push ecx
call fcn.00403810
add esp, 4
mov edi, eax
jmp 0x404994
cmp byte [esp + 0x19], 0x22
mov esi, 1
je 0x4048dc
inc esi
cmp byte [esp + esi + 0x18], 0x22
jne 0x4048d4
lea edx, [esi - 1]
push edx
lea eax, [esp + 0x1d]
push eax
lea ecx, [esp + 0x408]
push ecx
call fcn.0044c6f0
lea eax, [esp + 0x24]
add esp, 0xc
mov byte [esp + esi + 0x3ff], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404903
sub eax, edx
sub eax, esi
sub eax, 4
push eax
lea edx, [esp + esi + 0x1f]
push edx
lea eax, [esp + 0x214]
push eax
call fcn.0044c6f0
lea eax, [esp + 0x24]
add esp, 0xc
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x404930
sub eax, ecx
lea ecx, [esp + 0x20c]
push ecx
push 0x46de38
lea edx, [esp + 0x5fc]
sub eax, esi
push 0x12c
push edx
mov byte [esp + eax + 0x218], bl
call fcn.0044cb48
lea eax, [esp + 0x21c]
add esp, 0x10
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x404970
sub eax, ecx
push eax
lea eax, [esp + 0x5f8]
push eax
push 1
push ebx
lea ecx, [esp + 0x410]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push 0x1e0
push eax
call fcn.0044cbbb
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0044cb87
add esp, 0x10
test eax, eax
je 0x40485d
mov edx, dword [esp + 0x14]
push edx
call fcn.0044cacc
add esp, 4
lea ecx, [esp + 0x928]
mov dword [esp + 0x920], 0xffffffff
call fcn.00425570
mov ecx, dword [esp + 0x918]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x900]
xor ecx, esp
call fcn.0044b758
add esp, 0x910
ret
Function at 0x40cf10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x466bbb
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
push 0x20
call fcn.0042d7ca
add esp, 4
mov dword [esp + 0x14], eax
xor ebp, ebp
mov dword [esp + 0x54], ebp
cmp eax, ebp
je 0x40cf5a
mov ecx, eax
call fcn.00425990
mov esi, eax
jmp 0x40cf5c
xor esi, esi
push esi
push 9
push 1
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x2c], esp
push 0x16
push eax
mov dword [esp + 0x74], 0xffffffff
call fcn.0040eca0
add esp, 8
mov ecx, 0x48e748
call fcn.0041b930
push 0x46dc24
lea ecx, [esp + 0x20]
call fcn.004253a0
cmp dword [esi + 0x1c], ebp
mov dword [esp + 0x54], 1
mov dword [esp + 0x14], ebp
jle 0x40d0a3
test ebp, ebp
jl 0x40d0d2
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esi + 0x10]
jge 0x40d0d2
mov eax, dword [esi + 0xc]
add eax, ebp
push eax
lea ecx, [esp + 0x20]
call fcn.00425580
sub esp, 0xc
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00425410
lea eax, [esp + 0x34]
push eax
call fcn.00404d70
add esp, 0x10
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 2
call fcn.00425580
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 1
call fcn.00425570
push 0x46e01c
lea ecx, [esp + 0x38]
push ecx
sub esp, 0xc
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00425410
lea edi, [esp + 0x54]
call fcn.004194e0
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x5c], 3
call fcn.004256e0
mov ecx, eax
mov byte [esp + 0x58], 4
call fcn.00425600
lea ecx, [esp + 0x34]
mov bl, al
mov byte [esp + 0x54], 3
call fcn.00425570
mov ecx, edi
mov byte [esp + 0x54], 1
call fcn.00425570
push 5
test bl, bl
je 0x40d07b
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x40d08e
mov ecx, dword [esp + 0x24]
push 0
push 0
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0x14]
inc eax
add ebp, 0xc
cmp eax, dword [esi + 0x1c]
mov dword [esp + 0x14], eax
jl 0x40cfaa
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 0xffffffff
call fcn.00425570
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
call fcn.0043575b
int3