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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x104
mov dword [ebp - 0x10c], eax
mov edi, ecx
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.005a8e00
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x402023
mov eax, dword [esi]
jmp 0x402025
mov eax, esi
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [esi + 0x14], 8
jb 0x402042
mov esi, dword [esi]
push 0
push 0
push eax
lea eax, [ebp - 0x108]
push eax
push 0xffffffffffffffff
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp - 0x10c]
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x108]
push eax
call fcn.00401db0
mov esi, dword [edi + 4]
lea eax, [ebp - 0x10c]
push eax
push 0
push esi
push 0x401d30
push 0
push 0
mov dword [ebp - 0x10c], 0
call fcn.005be906
add esp, 0x18
mov dword [esi + 0x10], eax
test eax, eax
je 0x4020bc
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4020bc
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, byte [eax + 4]
pop esi
call fcn.00492e23
mov esp, ebp
pop ebp
ret 8
Function at 0x402f60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cff88
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x656514]
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
mov dword [ebp - 0x638], edi
lea eax, [edi + 8]
mov dword [edi], 0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x63c], edi
jb 0x402fba
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], ecx
mov dword [edi + 0x34], 7
mov dword [edi + 0x30], ecx
cmp dword [edi + 0x34], 8
jb 0x402fd7
mov eax, dword [edi + 0x20]
jmp 0x402fda
lea eax, [edi + 0x20]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0x38]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x402ff4
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea ecx, [edi + 0x50]
mov byte [ebp - 4], 2
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x403018
mov eax, dword [ecx]
jmp 0x40301a
mov eax, ecx
push 0
push 0x6411b4
mov byte [eax], 0
call fcn.00402450
push 0
mov byte [ebp - 4], 3
call fcn.005b6ae8
push eax
call fcn.005b8596
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.005a8e00
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x4030d8
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x634]
push eax
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0x634]
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x4030c9
test eax, eax
je 0x4030c9
add eax, eax
cmp eax, 0x412
jae 0x4030c4
xor ecx, ecx
mov word [ebp + eax - 0x634], cx
lea eax, [ebp - 0x634]
jmp 0x4030cf
call fcn.00492b0b
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x20]
call fcn.004022a0
mov eax, dword [edi + 0x30]
test eax, eax
je 0x403104
cmp dword [edi + 0x34], 8
jb 0x4030ea
mov ecx, dword [edi + 0x20]
jmp 0x4030ed
lea ecx, [edi + 0x20]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x403104
push 1
push 0x6411b8
lea ecx, [edi + 0x20]
call fcn.00404690
cmp dword [edi + 0x30], 0
jne 0x403119
push 3
push 0x6411bc
lea ecx, [edi + 0x20]
call fcn.004022f0
mov dword [edi + 4], 0
mov eax, edi
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.00492e23
mov esp, ebp
pop ebp
ret
Function at 0x40bd60
Capabilities:
Terminate process

Disassembly:
test edx, edx
mov eax, str.undefined
push esi
cmovne eax, edx
mov esi, ecx
push eax
push str.libpng_error:__s
push 2
call fcn.005b81ec
add esp, 4
push eax
call fcn.00406230
add esp, 0xc
push 0x645854
push 2
call fcn.005b81ec
add esp, 4
push eax
call fcn.00406230
add esp, 8
test esi, esi
je 0x40bdb8
mov eax, dword [esi + 0x40]
test eax, eax
je 0x40bdb8
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x40bdb8
push 1
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x419da0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x419dab
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00419dc0
Function at 0x41c18c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push esi
xor ecx, ecx
xor edx, edx
xor esi, esi
push edi
cmp dword [ebp + 0xc], ecx
jle 0x41c26d
mov edi, dword [ebp + 8]
mov al, byte [esi + edi]
cmp al, 0x3d
jne 0x41c1b0
inc edx
cmp edx, 2
jg 0x41c1ee
cmp al, 0x7f
ja 0x41c1ee
movzx eax, al
mov al, byte [eax + 0x5d8920]
cmp al, 0x7f
je 0x41c1ee
cmp al, 0x40
jae 0x41c1c9
test edx, edx
jne 0x41c1ee
inc ecx
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x41c1a3
test ecx, ecx
je 0x41c26d
mov edi, dword [ebp + 0x14]
imul eax, ecx, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x41c1f3
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x41c1f0
push 0xffffffffffffffee
pop eax
jmp 0x41c26f
mov edx, dword [ebp + 0x10]
xor eax, eax
push ebx
xor ebx, ebx
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x41c267
mov eax, dword [ebp + 8]
push 3
pop edi
movzx eax, byte [eax]
mov cl, byte [eax + 0x5d8920]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
or ebx, eax
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, 4
jne 0x41c258
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x41c243
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x41c250
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x41c258
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x41c208
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
pop ebx
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x41c273
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x41c287
xor eax, eax
jmp 0x41c3c5
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x41c2b0
dec edx
sub edx, 1
jne 0x41c2b2
add eax, 2
jmp 0x41c2b2
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x41c2c5
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x41c3c4
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x41c35b
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
mov al, byte [eax + 0x5d88e0]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x5d88e0]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
mov al, byte [eax + 0x5d88e0]
mov byte [edi + 2], al
mov al, byte [esi + 0x5d88e0]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x41c2f0
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x41c35e
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x41c3b7
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x41c373
movzx ecx, byte [eax + 1]
jmp 0x41c375
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x5d88e0]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x5d88e0]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x41c3ac
and ecx, 0xf
mov al, byte [ecx*4 + 0x5d88e0]
mov byte [edi + 2], al
jmp 0x41c3b0
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41c6fd
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfe0
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xfa4]
push edi
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0xfa4]
push esi
push eax
call fcn.005abfd0
push 0x3c
xor edi, edi
lea eax, [ebp - 0xfe0]
push edi
push eax
call fcn.005a8e00
add esp, 0x14
mov dword [ebp - 0xfdc], 0x200
xor eax, eax
mov dword [ebp - 0xfcc], esi
inc eax
mov ecx, str.open
mov dword [ebp - 0xfd4], ecx
push eax
push edi
push edi
push esi
push ecx
push edi
mov dword [ebp - 0xfc4], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x41c78f
push edi
push edi
lea eax, [ebp - 0xfa4]
push edi
push eax
call fcn.0041c9b7
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00492e23
mov esp, ebp
pop ebp
ret
Function at 0x41c79f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x208
push 0
push eax
call fcn.005a8e00
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.005a8e00
add esp, 0x18
lea eax, [ebp - 0x414]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41c87a
push esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push str._s_s.url
push eax
call fcn.004061d0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x20c]
add esp, 0x10
push eax
push ebx
push 0x5d8ce0
mov ebx, str.InternetShortcut
push ebx
call esi
lea eax, [ebp - 0x20c]
push eax
push edi
push str.IconFile
push ebx
call esi
lea eax, [ebp - 0x20c]
mov edi, 0x5d8e9c
push eax
push edi
push 0x5d8ea0
push ebx
call esi
lea eax, [ebp - 0x20c]
push eax
push edi
push str.IDList
push ebx
call esi
lea eax, [ebp - 0x20c]
push eax
push edi
push str.IconIndex
push ebx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00492e23
mov esp, ebp
pop ebp
ret

Function at 0x41c88b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x414]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x208
push 0
push eax
call fcn.005a8e00
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005a8e00
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41c91c
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x5d8e60
push eax
call fcn.004061d0
xor eax, eax
push eax
push eax
push eax
push 1
push edi
push eax
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0041cb27
add esp, 0x30
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00492e23
mov esp, ebp
pop ebp
ret

Function at 0x41c92d
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.005abff2
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.004929da
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.005abfd0
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x10
xor ebx, ebx
inc edi
test eax, eax
js 0x41c9a7
push 0x5c
pop ecx
cmp word [esi + ebx*2], cx
jne 0x41c99e
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41c994
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41c9a5
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + ebx*2], cx
inc ebx
cmp ebx, eax
jle 0x41c971
jmp 0x41c9a7
xor edi, edi
push esi
call fcn.004929e3
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c9b7
Capabilities:
Create process on windows

Disassembly:
push 0x88
mov eax, 0x5d0320
call fcn.00492e9f
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.005a8e00
push 0x10
lea eax, [ebp - 0x50]
mov dword [ebp - 0x94], ebx
push 0
push eax
call fcn.005a8e00
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 0x41ca95
cmp word [edi], dx
jne 0x41ca26
mov eax, edx
jmp 0x41ca2d
push edi
call fcn.005abff2
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.004022f0
cmp dword [ebp - 0x30], 0
je 0x41ca95
mov edi, 0x5d8b4c
push edi
call fcn.005abff2
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.004022f0
xor edi, edi
cmp word [esi], di
jne 0x41ca5e
mov eax, edi
jmp 0x41ca65
push esi
call fcn.005abff2
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00404690
mov esi, 0x5d8b50
push esi
call fcn.005abff2
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00404690
push ebx
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004047c0
jmp 0x41cab1
xor edi, edi
cmp word [esi], di
jne 0x41caa0
mov eax, edi
jmp 0x41caa7
push esi
call fcn.005abff2
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004022f0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x94]
push ecx
push edi
push edi
push edi
push 1
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 0x41cade
mov esi, edi
jmp 0x41cb09
cmp byte [ebp + 0x10], 0
je 0x41caf6
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.00402230
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00402230
mov eax, esi
call fcn.00492e49
ret
Function at 0x41ccf1
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ce1e
push esi
push 0x11c
xor esi, esi
lea eax, [ebp - 0x120]
push esi
push eax
call fcn.005a8e00
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x3c
lea eax, [ebp - 0x160]
push esi
push eax
call fcn.005a8e00
mov eax, dword [ebp - 0x150]
add esp, 0xc
test edi, edi
mov dword [ebp - 0x160], 0x3c
mov dword [ebp - 0x15c], 0x40
cmovne eax, edi
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x154], 0x5d8ba0
mov dword [ebp - 0x150], eax
test ebx, ebx
je 0x41cdad
push ebx
call fcn.005abff2
pop ecx
mov ecx, dword [ebp - 0x14c]
test eax, eax
cmovg ecx, ebx
mov dword [ebp - 0x14c], ecx
lea eax, [ebp - 0x160]
mov dword [ebp - 0x148], esi
push eax
mov dword [ebp - 0x144], 1
mov dword [ebp - 0x140], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x41cde8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push edi
call fcn.0041c9b7
add esp, 0x10
mov esi, eax
jmp 0x41ce1b
cmp byte [ebp + 0x10], 0
je 0x41ce1b
or eax, 0xffffffff
cmp dword [ebp + 0x14], esi
cmovg eax, dword [ebp + 0x14]
push eax
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
xor esi, esi
inc esi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00492e23
mov esp, ebp
pop ebp
ret

Function at 0x41ce2e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.005abff2
pop ecx
test eax, eax
je 0x41ce91
push ebx
push edi
push 0x3c
xor edi, edi
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.005a8e00
add esp, 0xc
mov dword [ebp - 0x38], 0x200
xor ebx, ebx
mov dword [ebp - 0x28], esi
inc ebx
mov eax, str.open
mov dword [ebp - 0x30], eax
push ebx
push edi
push edi
push esi
push eax
push edi
mov dword [ebp - 0x20], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x41ce8d
push edi
push edi
push edi
push esi
call fcn.0041c9b7
add esp, 0x10
jmp 0x41ce8f
mov eax, ebx
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41d1d6
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x870
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x208
mov dword [ebp - 0x870], eax
xor edi, edi
lea eax, [ebp - 0x61c]
push edi
push eax
call fcn.005a8e00
push 0x208
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.005a8e00
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.005abfd0
push dword [ebp - 0x870]
lea eax, [ebp - 0x61c]
push str._s.
push eax
call fcn.004061d0
add esp, 0x2c
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41d37d
lea eax, [ebp - 0x86c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41d37d
push 0x2e
pop eax
cmp word [ebp - 0x840], ax
je 0x41d267
cmp word [ebp - 0x83e], di
je 0x41d267
cmp word [ebp - 0x83e], ax
jne 0x41d2a4
cmp word [ebp - 0x83c], di
je 0x41d267
test byte [ebp - 0x86c], 0x10
je 0x41d2f8
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.005a8e00
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x840]
push eax
push dword [ebp - 0x870]
lea eax, [ebp - 0x20c]
push 0x5d900c
push eax
call fcn.004061d0
add esp, 0x20
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41d36b
lea eax, [ebp - 0x414]
push eax
call fcn.005ac375
pop ecx
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.005ac375
pop ecx
push eax
call fcn.005abf90
pop ecx
pop ecx
test eax, eax
jne 0x41d267
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.005a8e00
lea eax, [ebp - 0x840]
push eax
push dword [ebp - 0x870]
lea eax, [ebp - 0x20c]
push 0x5d8c80
push eax
call fcn.004061d0
add esp, 0x1c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d267
lea eax, [ebp - 0x20c]
xor edi, edi
push eax
push ebx
inc edi
call fcn.005abfd0
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00492e23
mov esp, ebp
pop ebp
ret

Function at 0x41d3c6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
xor edi, edi
push 0x208
push edi
push eax
mov dword [ebp - 0x210], edi
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0x20c]
push edi
push 0x1a
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00402120
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00492e23
mov esp, ebp
pop ebp
ret
Function at 0x41df87
Capabilities:
Enumerate processes

Disassembly:
push 0x260
mov eax, 0x5d046e
call fcn.00492e9f
mov eax, dword [ebp + 8]
test eax, eax
je 0x41e083
push eax
lea ecx, [ebp - 0x40]
call fcn.00402120
lea eax, [ebp - 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0041f816
mov edi, 0x22c
lea eax, [ebp - 0x26c]
push edi
push ebx
push eax
call fcn.005a8e00
add esp, 0x10
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x41e074
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], edi
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x41e069
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
cmp word [ebp - 0x248], ax
jne 0x41e013
mov eax, ebx
jmp 0x41e020
lea eax, [ebp - 0x248]
push eax
call fcn.005abff2
pop ecx
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.004022f0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0041f816
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004204ef
test eax, eax
je 0x41e089
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00402230
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41dff6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00402230
mov eax, esi
call fcn.00492e49
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.00402230
jmp 0x41e076

Function at 0x41e0a3
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
xor edi, edi
push 0x208
push edi
push eax
mov dword [ebp - 0x210], edi
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0x20c]
push edi
push 0x26
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00402120
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00492e23
mov esp, ebp
pop ebp
ret