joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, esp
sub esp, 0x94
and esp, 0xffffffc0
lea ebx, [esp + 0x80]
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x10], eax
call fcn.004154b2

Function at 0x41fb8f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x556008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
xor esi, esi
push esi
push 0x1a
push eax
push esi
call fcn.004219d5
lea eax, [ebp - 0x20c]
push eax
call fcn.00431c27
pop ecx
test eax, eax
je 0x41fc44
push ebx
mov ebx, 0x506554
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00431bf6
lea eax, [ebp - 0x20c]
push 0x506508
push eax
call fcn.00431bf6
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00431bf6
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ebx
test eax, eax
jne 0x41fc1d
lea eax, [ebp - 0x20c]
push eax
call fcn.00422b03
pop ecx
cmp word [ebp - 0x20c], si
je 0x41fc35
lea eax, [ebp - 0x20c]
push eax
call fcn.00431c27
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.0041a620
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041ea4f
mov esp, ebp
pop ebp
ret 4

Function at 0x41fc56
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x556008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
xor esi, esi
push esi
push 0x1a
push eax
push esi
call fcn.004219d5
lea eax, [ebp - 0x20c]
push eax
call fcn.00431c27
pop ecx
test eax, eax
je 0x41fd0b
push ebx
mov ebx, 0x506554
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00431bf6
lea eax, [ebp - 0x20c]
push str.PuddingZip.users
push eax
call fcn.00431bf6
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00431bf6
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ebx
test eax, eax
jne 0x41fce4
lea eax, [ebp - 0x20c]
push eax
call fcn.00422b03
pop ecx
cmp word [ebp - 0x20c], si
je 0x41fcfc
lea eax, [ebp - 0x20c]
push eax
call fcn.00431c27
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.0041a620
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041ea4f
mov esp, ebp
pop ebp
ret 4
Function at 0x41fe19
Capabilities:
Read .ini file

Disassembly:
push 0x838
mov eax, 0x504a86
call fcn.0044d727
mov edi, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x9c]
cmp dword [eax + 0x14], 8
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x844], ecx
jb 0x41fe44
mov eax, dword [eax]
push eax
push dword [ebp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp esi, dword [ebp + 0x10]
jne 0x41ff22
xor esi, esi
mov dword [ebp - 0x814], 7
push esi
xor eax, eax
mov dword [ebp - 0x818], esi
push 0x551210
lea ecx, [ebp - 0x828]
mov word [ebp - 0x828], ax
call fcn.0041a620
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.0042c0b0
push dword [ebp + 0x10]
lea eax, [ebp - 0x810]
push 0x50680c
push eax
call fcn.004195f0
add esp, 0x18
lea eax, [ebp - 0x810]
cmp byte [edi + 1], 0
mov ecx, edi
push eax
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
push ebx
push eax
je 0x41fed7
call fcn.0041fd35
jmp 0x41fedc
call fcn.0041fdef
push eax
lea ecx, [ebp - 0x828]
call fcn.0041faa4
push esi
push 1
lea ecx, [ebp - 0x840]
call fcn.0041a530
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.004354d0
pop ecx
push 0
push 1
lea ecx, [ebp - 0x828]
mov esi, eax
call fcn.0041a530
mov eax, esi
call fcn.0044d6e2
ret 0xc

Function at 0x41ff2c
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x504ad0
call fcn.0044d727
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.0042c0b0
lea eax, [edi + 0x9c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x41ff89
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.0041a040
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x41ffcf
mov eax, dword [esi]
jmp 0x41ffd1
mov eax, esi
push ebx
push eax
call fcn.00434701
pop ecx
pop ecx
test eax, eax
jne 0x42001d
cmp byte [edi + 1], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x420001
call fcn.0041fd35
jmp 0x420006
call fcn.0041fdef
push eax
mov ecx, esi
call fcn.0041faa4
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.0041a530
mov eax, esi
call fcn.0044d6e2
ret 0x10
Function at 0x420189
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x556008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [esi + 0x24]
cmp dword [eax + 0x14], 8
jb 0x4201aa
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push str._s_s_
push eax
call fcn.004195f0
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4201e2
lea eax, [ebp - 0x20c]
push eax
call fcn.00422b03
pop ecx
lea eax, [ebp - 0x20c]
push str.Related.ini
push eax
call fcn.00431bf6
cmp word [ebp - 0x20c], 0
pop ecx
pop ecx
jne 0x420203
xor eax, eax
jmp 0x420210
lea eax, [ebp - 0x20c]
push eax
call fcn.00431c27
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x84]
call fcn.0041a620
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041ea4f
mov esp, ebp
pop ebp
ret
Function at 0x420232
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc3c
mov eax, dword [0x556008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xc34]
push esi
push edi
push 0x208
xor edi, edi
mov esi, ecx
push edi
push eax
mov dword [ebp - 0xc3c], esi
call fcn.0042c0b0
push 0x208
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.0042c0b0
push 0x208
lea eax, [ebp - 0x61c]
push edi
push eax
call fcn.0042c0b0
push 0x208
lea eax, [ebp - 0xa2c]
push edi
push eax
call fcn.0042c0b0
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0042c0b0
push 0x208
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0042c0b0
add esp, 0x48
lea eax, [ebp - 0xc34]
mov ecx, esi
push edi
push 0x1a
push eax
push edi
call fcn.004219d5
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0042e937
lea eax, [ebp - 0x20c]
push eax
call fcn.00431c27
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0042bd1e
add esp, 0x14
test eax, eax
jne 0x420311
mov ecx, esi
jmp 0x420453
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.0042e937
lea eax, [ebp - 0x824]
push str.Local
push eax
call fcn.00431bf6
add esp, 0x10
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
mov esi, edi
inc ecx
test eax, eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
cmovne esi, ecx
push eax
call fcn.0042e937
lea eax, [ebp - 0x61c]
push str.LocalLow
push eax
call fcn.00431bf6
add esp, 0x10
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, edi
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xa2c]
mov dword [ebp - 0xc38], ecx
push eax
call fcn.0042e937
lea eax, [ebp - 0xa2c]
push str.Roaming
push eax
call fcn.00431bf6
add esp, 0x10
lea eax, [ebp - 0xa2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, edi
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x42044d
cmp dword [ebp - 0xc38], edi
je 0x42044d
test ecx, ecx
je 0x42044d
push 0x506508
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push 0x506520
push eax
call fcn.004195f0
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x420424
lea eax, [ebp - 0x414]
push eax
call fcn.00422b03
pop ecx
cmp word [ebp - 0x414], di
je 0x42043c
lea eax, [ebp - 0x414]
push eax
call fcn.00431c27
pop ecx
mov edi, eax
push edi
lea eax, [ebp - 0x414]
mov ecx, ebx
push eax
call fcn.0041a620
jmp 0x420459
mov ecx, dword [ebp - 0xc3c]
push ebx
call fcn.0041fb8f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ea4f
mov esp, ebp
pop ebp
ret 4
Function at 0x42046c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc3c
mov eax, dword [0x556008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xc34]
push esi
push edi
push 0x208
xor edi, edi
mov esi, ecx
push edi
push eax
mov dword [ebp - 0xc3c], esi
call fcn.0042c0b0
push 0x208
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.0042c0b0
push 0x208
lea eax, [ebp - 0x61c]
push edi
push eax
call fcn.0042c0b0
push 0x208
lea eax, [ebp - 0xa2c]
push edi
push eax
call fcn.0042c0b0
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0042c0b0
push 0x208
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0042c0b0
add esp, 0x48
lea eax, [ebp - 0xc34]
mov ecx, esi
push edi
push 0x1a
push eax
push edi
call fcn.004219d5
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0042e937
lea eax, [ebp - 0x20c]
push eax
call fcn.00431c27
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0042bd1e
add esp, 0x14
test eax, eax
jne 0x42054b
mov ecx, esi
jmp 0x42068d
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.0042e937
lea eax, [ebp - 0x824]
push str.Local
push eax
call fcn.00431bf6
add esp, 0x10
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
mov esi, edi
inc ecx
test eax, eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
cmovne esi, ecx
push eax
call fcn.0042e937
lea eax, [ebp - 0x61c]
push str.LocalLow
push eax
call fcn.00431bf6
add esp, 0x10
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, edi
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xa2c]
mov dword [ebp - 0xc38], ecx
push eax
call fcn.0042e937
lea eax, [ebp - 0xa2c]
push str.Roaming
push eax
call fcn.00431bf6
add esp, 0x10
lea eax, [ebp - 0xa2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, edi
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x420687
cmp dword [ebp - 0xc38], edi
je 0x420687
test ecx, ecx
je 0x420687
push str.PuddingZip.users
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push 0x506520
push eax
call fcn.004195f0
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42065e
lea eax, [ebp - 0x414]
push eax
call fcn.00422b03
pop ecx
cmp word [ebp - 0x414], di
je 0x420676
lea eax, [ebp - 0x414]
push eax
call fcn.00431c27
pop ecx
mov edi, eax
push edi
lea eax, [ebp - 0x414]
mov ecx, ebx
push eax
call fcn.0041a620
jmp 0x420693
mov ecx, dword [ebp - 0xc3c]
push ebx
call fcn.0041fc56
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ea4f
mov esp, ebp
pop ebp
ret 4
Function at 0x420737
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x556008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
mov esi, ecx
call fcn.0042c0b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push edi
push 0x26
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x20c], di
je 0x42078e
lea eax, [ebp - 0x20c]
push eax
call fcn.00431c27
pop ecx
mov edi, eax
push edi
lea eax, [ebp - 0x20c]
add esi, 0xfc
push eax
mov ecx, esi
call fcn.0041a620
mov edi, 0x506554
push edi
call fcn.00431c27
pop ecx
push eax
push edi
mov ecx, esi
call fcn.0041af60
cmp dword [esi + 0x14], 8
jb 0x4207c2
mov eax, dword [esi]
jmp 0x4207c4
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4207e4
mov edi, str.C:Program_Files_
push edi
call fcn.00431c27
pop ecx
push eax
push edi
mov ecx, esi
call fcn.0041a620
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041ea4f
mov esp, ebp
pop ebp
ret
Function at 0x4212a5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x556008]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x560640]
test al, al
jne 0x42133e
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0042c0b0
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x421335
lea eax, [ebp - 0x20c]
push eax
call fcn.00435ee6
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.0042dd9c
pop ecx
pop ecx
test eax, eax
jne 0x42132d
lea eax, [ebp - 0x20c]
push str.cocuments_and_settingslocalService
push eax
call fcn.0042dd9c
pop ecx
pop ecx
test eax, eax
je 0x421335
mov byte [0x560640], bl
jmp 0x42133b
mov bl, byte [0x560640]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ea4f
mov esp, ebp
pop ebp
ret
Function at 0x421787
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x504b6d
call fcn.0044d727
mov ebx, ecx
call fcn.0041fd29
lea edi, [ebx + 0xb4]
push eax
mov ecx, edi
call fcn.0041a5f0
mov esi, str.PuddingZip.ini
push esi
call fcn.00431c27
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0041af60
mov esi, 0x5067f0
lea eax, [ebp - 0x248]
push esi
push str.Spreader
push str.AppInfo
push eax
mov ecx, ebx
call fcn.0041fdc5
and dword [ebp - 4], 0
lea eax, [ebp - 0x248]
push eax
call fcn.00423c61
cmp dword [ebp - 0x238], 0
pop ecx
jne 0x42180c
push esi
call fcn.00431c27
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.0041a620
lea esi, [ebx + 0xcc]
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x421828
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.0041a6a0
push 0x5067f0
mov ecx, esi
call fcn.00421ddd
test eax, eax
jne 0x4218a4
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0042c0b0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x421855
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, 0x5067f0
push eax
push edi
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x421886
xor eax, eax
jmp 0x421893
lea eax, [ebp - 0x218]
push eax
call fcn.00431c27
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0041a620
jmp 0x4218a9
mov edi, 0x5067f0
push edi
mov ecx, esi
call fcn.00421ddd
test eax, eax
jne 0x42196c
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0042c0b0
add esp, 0xc
lea eax, [ebx + 0x54]
lea ecx, [ebp - 0x230]
push eax
call fcn.0041a100
push str.PuddingZip.ini
mov byte [ebp - 4], 1
call fcn.00431c27
pop ecx
push eax
push str.PuddingZip.ini
lea ecx, [ebp - 0x230]
call fcn.0041af60
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x42193d
xor eax, eax
jmp 0x42194a
lea eax, [ebp - 0x218]
push eax
call fcn.00431c27
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0041a620
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.0041a530
push edi
mov ecx, esi
call fcn.00421ddd
test eax, eax
jne 0x4219a8
push edi
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0041ff2c
push eax
mov ecx, esi
call fcn.0041faa4
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.0041a530
push esi
call fcn.00423c61
cmp dword [ebx + 0xdc], 0
pop ecx
jne 0x4219c0
push edi
mov ecx, esi
call fcn.0041a5f0
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.0041a530
call fcn.0044d6e2
ret
Function at 0x422a9b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x38
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x3c
push 0
push eax
call fcn.0042c0b0
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], 0x200
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x28], eax
call fcn.00423af5
test eax, eax
mov ecx, 0x506a18
lea eax, [ebp - 0x3c]
cmovne ecx, dword [ebp - 0x30]
push eax
mov dword [ebp - 0x30], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
jne 0x422afc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x422b03
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.00431c27
mov dword [ebp - 4], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044d7cd
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.0042e937
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x10
xor ebx, ebx
inc edi
test eax, eax
js 0x422b7d
push 0x5c
pop ecx
cmp word [esi + ebx*2], cx
jne 0x422b74
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x422b6a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x422b7b
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + ebx*2], cx
inc ebx
cmp ebx, eax
jle 0x422b47
jmp 0x422b7d
xor edi, edi
push esi
call fcn.0044d7d6
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422b8d
Capabilities:
Create process on windows

Disassembly:
push 0x88
mov eax, 0x504ca5
call fcn.0044d727
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x94]
mov edi, dword [ebp + 0xc]
push 0x44
pop ebx
push ebx
push 0
push eax
call fcn.0042c0b0
push 0x10
lea eax, [ebp - 0x50]
mov dword [ebp - 0x94], ebx
push 0
push eax
call fcn.0042c0b0
add esp, 0x18
xor edx, edx
xor eax, eax
mov dword [ebp - 0x18], edx
mov word [ebp - 0x28], ax
push 7
pop ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov word [ebp - 0x40], ax
or ebx, 0xffffffff
mov byte [ebp - 4], 1
test edi, edi
je 0x422c6b
cmp word [edi], dx
jne 0x422bfc
mov eax, edx
jmp 0x422c03
push edi
call fcn.00431c27
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.0041a620
cmp dword [ebp - 0x30], 0
je 0x422c6b
mov edi, 0x506470
push edi
call fcn.00431c27
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0041a620
xor edi, edi
cmp word [esi], di
jne 0x422c34
mov eax, edi
jmp 0x422c3b
push esi
call fcn.00431c27
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0041af60
mov esi, 0x506498
push esi
call fcn.00431c27
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0041af60
push ebx
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041b030
jmp 0x422c87
xor edi, edi
cmp word [esi], di
jne 0x422c76
mov eax, edi
jmp 0x422c7d
push esi
call fcn.00431c27
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0041a620
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x94]
push ecx
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x422cb3
mov esi, edi
jmp 0x422cde
cmp byte [ebp + 0x10], 0
je 0x422ccb
cmp dword [ebp + 0x14], 0
cmovg ebx, dword [ebp + 0x14]
push ebx
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x4c]
call esi
xor esi, esi
inc esi
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.0041a530
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.0041a530
mov eax, esi
call fcn.0044d6e2
ret
Function at 0x42303e
Capabilities:
Enumerate processes

Disassembly:
push 0x260
mov eax, 0x504d69
call fcn.0044d727
mov eax, dword [ebp + 8]
test eax, eax
je 0x42313a
push eax
lea ecx, [ebp - 0x40]
call fcn.0041a040
lea eax, [ebp - 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00423b97
mov edi, 0x22c
lea eax, [ebp - 0x26c]
push edi
push ebx
push eax
call fcn.0042c0b0
add esp, 0x10
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x42312b
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], edi
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x423120
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
cmp word [ebp - 0x248], ax
jne 0x4230ca
mov eax, ebx
jmp 0x4230d7
lea eax, [ebp - 0x248]
push eax
call fcn.00431c27
pop ecx
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041a620
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00423b97
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041d790
test eax, eax
je 0x423140
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0041a530
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4230ad
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.0041a530
mov eax, esi
call fcn.0044d6e2
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x264]
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.0041a530
jmp 0x42312d