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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, dword [eax]
mov edi, ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x38], edi
test ebx, ebx
jne 0x40266e
push ebx
push 0x42e35b
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
mov byte [edi], bl
call fcn.00413cf0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00414cec
mov esp, ebp
pop ebp
ret
mov eax, ebx
xor esi, esi
and eax, 3
jne 0x402685
cmp byte [ebx + edx - 1], 0x3d
je 0x402685
xor ecx, ecx
mov dword [ebp - 0x24], ecx
jmp 0x40269f
mov ecx, 1
mov dword [ebp - 0x24], ecx
cmp eax, 2
ja 0x40269d
cmp byte [ebx + edx - 2], 0x3d
jne 0x40269d
xor eax, eax
jmp 0x40269f
mov eax, ecx
sub ebx, ecx
mov dword [ebp - 0x30], eax
and ebx, 0xfffffffc
mov dword [ebp - 0x10], esi
mov ecx, ebx
mov dword [ebp - 0x3c], ebx
shr ecx, 2
push 0
mov dword [ebp - 0xc], 0xf
mov byte [ebp - 0x20], 0
lea eax, [eax + ecx*2]
add eax, ecx
lea ecx, [ebp - 0x20]
add eax, dword [ebp - 0x24]
push eax
call fcn.00413bb0
cmp dword [ebp - 0xc], 0x10
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
test ebx, ebx
je 0x40275b
mov edx, dword [ebp - 0x28]
lea eax, [ebx - 1]
mov ebx, dword [ebp - 0x2c]
add edx, 2
shr eax, 2
inc eax
mov dword [ebp - 0x34], eax
mov edi, eax
nop word [eax + eax]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov ecx, dword [eax*4 + 0x42ef58]
movzx eax, byte [edx - 5]
shl ecx, 6
or ecx, dword [eax*4 + 0x42ef58]
movzx eax, byte [edx - 4]
shl ecx, 6
or ecx, dword [eax*4 + 0x42ef58]
movzx eax, byte [edx - 3]
shl ecx, 6
or ecx, dword [eax*4 + 0x42ef58]
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 0x402700
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x3c]
cmp dword [ebp - 0x24], 0
je 0x4027aa
add ebx, dword [ebp - 0x28]
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 1]
mov edx, dword [eax*4 + 0x42ef58]
shl edx, 6
or edx, dword [ecx*4 + 0x42ef58]
mov ecx, dword [ebp - 0x2c]
shl edx, 0xc
mov eax, edx
sar eax, 0x10
cmp dword [ebp - 0x30], 0
mov byte [ecx + esi], al
je 0x4027aa
movzx eax, byte [ebx + 2]
sar edx, 8
mov eax, dword [eax*4 + 0x42ef58]
shl eax, 6
sar eax, 8
or al, dl
mov byte [ecx + esi + 1], al
movups xmm0, xmmword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov eax, edi
xor ecx, ebp
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x10]
movq qword [edi + 0x10], xmm0
pop edi
pop esi
pop ebx
call fcn.00414cec
mov esp, ebp
pop ebp
ret
Function at 0x402b00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x400
lea eax, [ebp - 0x404]
mov esi, edx
push 0
push eax
mov edi, ecx
call fcn.00415f70
add esp, 0xc
mov dword [ebp - 0x408], 0x400
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x40c]
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 0x402b85
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp - 0x408]
push ecx
lea ecx, [ebp - 0x404]
push ecx
push 0
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0x40c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x40c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x404]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [edi], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402bb0
sub ecx, edx
lea eax, [ebp - 0x404]
push ecx
push eax
mov ecx, edi
call fcn.00413cf0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x402bf8
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402bee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402c4c
push edx
push ecx
call fcn.0041535e
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 0x402c3a
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402c30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402c4c
push edx
push ecx
call fcn.0041535e
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00414cec
mov esp, ebp
pop ebp
ret
call fcn.004187ac
int3
Function at 0x402c60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 8]
push ecx
push 0xf003f
lea eax, [ebp + 8]
mov dword [ebp - 8], 0x80000001
cmovae eax, dword [ebp + 8]
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402cc7
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 - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x402d04
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402cfa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402d96
push edx
push ecx
call fcn.0041535e
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 0x402d46
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402d3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402d96
push edx
push ecx
call fcn.0041535e
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 0x402d88
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402d7e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402d96
push edx
push ecx
call fcn.0041535e
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414cec
mov esp, ebp
pop ebp
ret
call fcn.004187ac
int3
Function at 0x403550
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 0x40356d
cmp byte [eax], 0x31
jne 0x40356d
mov cl, 1
jmp 0x40356f
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, 0x42e35b
cmovne eax, edx
push eax
call fcn.00413cf0
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 [0x433304], esi
cmp edx, 0x10
jb 0x4035ff
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4035f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403688
push edx
push ecx
call fcn.0041535e
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 0x403641
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403637
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403688
push edx
push ecx
call fcn.0041535e
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 0x403683
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403679
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403688
push edx
push ecx
call fcn.0041535e
add esp, 8
mov eax, esi
pop esi
pop ebp
ret
call fcn.004187ac
int3
Function at 0x4037c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
mov dword [0x433300], 0
call esi
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x433450]
cmp eax, dword [ecx + 4]
jle 0x40386b
push 0x433450
call fcn.00414e0c
add esp, 4
cmp dword [0x433450], 0xffffffff
jne 0x40386b
push 0x428300
mov dword [0x433418], 0
mov dword [0x43341c], 0xf
mov byte [0x433408], 0
mov dword [0x433430], 0
mov dword [0x433434], 0xf
mov byte [0x433420], 0
mov dword [0x433448], 0
mov dword [0x43344c], 0xf
mov byte [0x433438], 0
call fcn.00415349
push 0x433450
call fcn.00414dc2
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x433408
push eax
call fcn.00413cf0
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
mov ecx, 0x433420
push eax
call fcn.00413cf0
cmp dword [ebp + 0x4c], 0x10
lea eax, [ebp + 0x38]
push dword [ebp + 0x48]
cmovae eax, dword [ebp + 0x38]
mov ecx, 0x433438
push eax
call fcn.00413cf0
push 0
push 0
push 0x433408
push 0x403690
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1f4
call esi
mov edx, dword [ebp + 0x1c]
mov esi, dword [0x433300]
cmp edx, 0x10
jb 0x40390f
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403905
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403998
push edx
push ecx
call fcn.0041535e
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 0x403951
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403947
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403998
push edx
push ecx
call fcn.0041535e
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 0x403993
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403989
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403998
push edx
push ecx
call fcn.0041535e
add esp, 8
mov eax, esi
pop esi
pop ebp
ret
call fcn.004187ac
int3
Function at 0x404660
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, 0x19c
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x118
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x15c]
movaps xmmword [ebp - 0x40], xmm0
push 0
push eax
movaps xmmword [ebp - 0x30], xmm0
call fcn.00415f70
add esp, 0xc
mov dword [ebp - 0x160], 0x11c
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4046e1
mov eax, 0x64
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414cec
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
sub esp, 0x18
mov ecx, esp
push 0x432414
call fcn.00413990
lea ecx, [ebp - 0x190]
call fcn.004029f0
mov esi, eax
add esp, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x404708
mov esi, dword [esi]
sub esp, 0x18
mov ecx, esp
push 0x431d84
call fcn.00413990
lea ecx, [ebp - 0x178]
call fcn.004029f0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x40472d
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 - 0x164]
mov esi, eax
cmp edx, 0x10
jb 0x404778
mov ecx, dword [ebp - 0x178]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40476e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404839
push edx
push ecx
call fcn.0041535e
add esp, 8
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0xf
mov byte [ebp - 0x178], 0
cmp edx, 0x10
jb 0x4047c9
mov ecx, dword [ebp - 0x190]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4047bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404839
push edx
push ecx
call fcn.0041535e
add esp, 8
mov dword [ebp - 0x180], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
push eax
test esi, esi
je 0x4047f0
call esi
jmp 0x4047f6
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x15c], 6
jb 0x404827
mov ax, word [ebp - 0x40]
cmp ax, 9
jne 0x404820
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414cec
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test ax, ax
jne 0x404827
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00414cec
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004187ac
int3

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

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x110]
mov esi, ecx
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x140], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404fd0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x140]
call fcn.00413cf0
mov ecx, 3
mov dword [ebp - 0x118], 0
cmp dword [ebp - 0x130], ecx
lea eax, [ebp - 0x140]
mov dword [ebp - 0x114], 0xf
cmovb ecx, dword [ebp - 0x130]
cmp dword [ebp - 0x12c], 0x10
push ecx
cmovae eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x128]
push eax
mov byte [ebp - 0x128], 0
call fcn.00413cf0
sub esp, 0x18
mov ecx, esp
push 0x431cf4
call fcn.00413990
lea ecx, [ebp - 0x158]
call fcn.004029f0
push eax
lea edx, [ebp - 0x128]
mov ecx, esi
call fcn.00413e40
mov edx, dword [ebp - 0x114]
add esp, 0x1c
cmp edx, 0x10
jb 0x40509f
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405095
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405137
push edx
push ecx
call fcn.0041535e
add esp, 8
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp edx, 0x10
jb 0x4050f0
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4050e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405137
push edx
push ecx
call fcn.0041535e
add esp, 8
mov edx, dword [ebp - 0x144]
cmp edx, 0x10
jb 0x405126
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40511c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405137
push edx
push ecx
call fcn.0041535e
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00414cec
mov esp, ebp
pop ebp
ret
call fcn.004187ac
int3
Function at 0x405140
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x110]
mov esi, ecx
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x128], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405190
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.00413cf0
sub esp, 0x18
mov ecx, esp
push 0x432294
call fcn.00413990
lea ecx, [ebp - 0x140]
call fcn.004029f0
push eax
lea edx, [ebp - 0x128]
mov ecx, esi
call fcn.00413e40
mov edx, dword [ebp - 0x114]
add esp, 0x1c
cmp edx, 0x10
jb 0x40520d
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405203
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40526f
push edx
push ecx
call fcn.0041535e
add esp, 8
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp edx, 0x10
jb 0x40525e
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405254
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40526f
push edx
push ecx
call fcn.0041535e
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00414cec
mov esp, ebp
pop ebp
ret
call fcn.004187ac
int3

Function at 0x405280
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x110]
mov esi, ecx
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x128], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4052d0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.00413cf0
sub esp, 0x18
mov ecx, esp
push 0x432294
call fcn.00413990
lea ecx, [ebp - 0x140]
call fcn.004029f0
push eax
lea edx, [ebp - 0x128]
mov ecx, esi
call fcn.00413e40
mov edx, dword [ebp - 0x114]
add esp, 0x1c
cmp edx, 0x10
jb 0x40534d
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405343
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053af
push edx
push ecx
call fcn.0041535e
add esp, 8
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp edx, 0x10
jb 0x40539e
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405394
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053af
push edx
push ecx
call fcn.0041535e
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00414cec
mov esp, ebp
pop ebp
ret
call fcn.004187ac
int3
Function at 0x4053c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x110]
mov esi, ecx
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x128], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405410
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.00413cf0
sub esp, 0x18
mov ecx, esp
push 0x432294
call fcn.00413990
lea ecx, [ebp - 0x140]
call fcn.004029f0
push eax
lea edx, [ebp - 0x128]
mov ecx, esi
call fcn.00413e40
mov edx, dword [ebp - 0x114]
add esp, 0x1c
cmp edx, 0x10
jb 0x40548d
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405483
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4054ef
push edx
push ecx
call fcn.0041535e
add esp, 8
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp edx, 0x10
jb 0x4054de
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4054d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4054ef
push edx
push ecx
call fcn.0041535e
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00414cec
mov esp, ebp
pop ebp
ret
call fcn.004187ac
int3
Function at 0x407130
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
cmp dword [0x4321a0], 0x10
mov eax, 0x43218c
cmovae eax, dword [0x43218c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40715c
ret
push 0
call fcn.0041756f
int3
Function at 0x408130
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x1c]
mov eax, edx
mov ecx, dword [ebp + 0x18]
sub eax, ecx
cmp eax, 1
jb 0x408167
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 0x40817a
sub esp, 8
mov byte [ebp - 0x28], 0
push dword [ebp - 0x28]
push ecx
lea ecx, [ebp + 8]
call fcn.00414500
mov edx, dword [ebp + 0x34]
mov eax, edx
mov ecx, dword [ebp + 0x30]
sub eax, ecx
cmp eax, 1
jb 0x4081a1
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 0x4081b4
sub esp, 8
mov byte [ebp - 0x28], 0
push dword [ebp - 0x28]
push ecx
lea ecx, [ebp + 0x20]
call fcn.00414500
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 0x408233
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408229
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408286
push edx
push ecx
call fcn.0041535e
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 0x408275
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40826b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408286
push edx
push ecx
call fcn.0041535e
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00414cec
mov esp, ebp
pop ebp
ret
call fcn.004187ac
int3
Function at 0x4137d0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x4136f0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x413740
push 0
push 0
call esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
push 0x7530
call esi
jmp 0x4137c0
push ebp
mov ebp, esp
and esp, 0xfffffff8
call fcn.00408c60
call fcn.00407130
mov ecx, 1
call fcn.00408850
mov ecx, 1
call fcn.00408290
sub esp, 0x18
mov ecx, esp
call fcn.00405500
call fcn.00409090
add esp, 0x18
call fcn.00410fe0
jmp 0x413790