joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408760
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 0
lea ecx, [ebp + 8]
call fcn.00408720
push eax
call fcn.00528b86
add esp, 8
cmp eax, 0xffffffff
jne 0x4087c9
push 1
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp + 8]
call fcn.00408720
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4087c9
mov dword [ebp - 0x24], 0
lea ecx, [ebp + 8]
call fcn.004011f0
mov eax, dword [ebp - 0x24]
jmp 0x4087db
mov dword [ebp - 0x28], 1
lea ecx, [ebp + 8]
call fcn.004011f0
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5572c8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5ae9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0xd], 0
lea ecx, [ebp + 8]
call fcn.00408f20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x408fa8
mov byte [ebp - 0xd], 0
jmp 0x408fac
mov byte [ebp - 0xd], 1
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.0040a1a0
mov al, byte [ebp - 0xd]
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004011f0
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x40de30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x40de40
xor eax, eax
jmp 0x40dfdd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x40df9e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5894c8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5894c8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5894c8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5894c8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5894c8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5894c8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5894c8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5894c8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x40de49
cmp dword [ebp + 0x10], 0
je 0x40dfd7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5894c8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x40dfa4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x40dfe0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5894c8]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
imul edx, edx, 0x8088405
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x18
mov eax, dword [ebp + 8]
xor edx, dword [eax + 8]
and edx, 0xff
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5894c8]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret

Function at 0x40efa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x40efef
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40efe5
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x40f049
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x40f00f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052e350
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x410820
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x41083b
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0xffffffff
je 0x410845
mov eax, 0x1000000
jmp 0x41095b
mov edx, dword [ebp - 0x18]
add edx, 0x244
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0x18]
add eax, 0x244
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x1c]
mov ax, word [edx]
mov word [ebp - 0x22], ax
add dword [ebp - 0x1c], 2
cmp word [ebp - 0x22], 0
jne 0x41086e
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
sar ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov cx, word [eax + edx*2 + 0x242]
mov word [ebp - 8], cx
movzx edx, word [ebp - 8]
cmp edx, 0x5c
je 0x4108df
movzx eax, word [ebp - 8]
cmp eax, 0x2f
je 0x4108df
mov ecx, dword [ebp - 0x18]
add ecx, 0x242
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov ax, word [edx + 2]
mov word [ebp - 0x2e], ax
add dword [ebp - 0x2c], 2
cmp word [ebp - 0x2e], 0
jne 0x4108be
mov edi, dword [ebp - 0x2c]
mov ecx, dword [0x589960]
mov dword [edi], ecx
cmp dword [ebp + 0x10], 1
jne 0x410913
push 1
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x10], eax
xor eax, eax
cmp dword [ebp - 0x10], 0xffffffff
setne al
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
jne 0x410913
mov eax, 0x2000000
jmp 0x41095b
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040ec80
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x410939
mov eax, dword [ebp - 0xc]
jmp 0x41095b
mov eax, dword [ebp - 4]
push eax
call fcn.0040f350
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx], 0
jne 0x410959
mov eax, 0x200
jmp 0x41095b
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4121c0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x5ae9b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x88], ecx
mov byte [ebp - 0x48], 0
push 0x3f
push 0
lea eax, [ebp - 0x47]
push eax
call fcn.0052b7e0
add esp, 0xc
push 0x40
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x88]
call fcn.00412ad0
mov byte [ebp - 0x80], 0
push 0x37
push 0
lea eax, [ebp - 0x7f]
push eax
call fcn.0052b7e0
add esp, 0xc
mov dword [ebp - 0x84], 0
jmp 0x412231
mov ecx, dword [ebp - 0x84]
add ecx, 1
mov dword [ebp - 0x84], ecx
cmp dword [ebp - 0x84], 0x38
jge 0x412257
mov edx, dword [ebp - 0x84]
movsx eax, byte [edx + str.91__]
mov ecx, dword [ebp - 0x84]
mov dl, byte [ebp + eax - 0x49]
mov byte [ebp + ecx - 0x80], dl
jmp 0x412222
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x88]
call fcn.00412280
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00528556
mov esp, ebp
pop ebp
ret 8
Function at 0x4124c0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5ae9b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x114], ecx
mov byte [ebp - 0x68], 0
push 0x3f
push 0
lea eax, [ebp - 0x67]
push eax
call fcn.0052b7e0
add esp, 0xc
mov byte [ebp - 0xc8], 0
push 0x3f
push 0
lea ecx, [ebp - 0xc7]
push ecx
call fcn.0052b7e0
add esp, 0xc
mov byte [ebp - 0x24], 0
xor edx, edx
mov dword [ebp - 0x23], edx
mov dword [ebp - 0x1f], edx
mov dword [ebp - 0x1b], edx
mov dword [ebp - 0x17], edx
mov dword [ebp - 0x13], edx
mov dword [ebp - 0xf], edx
mov dword [ebp - 0xb], edx
mov word [ebp - 7], dx
mov byte [ebp - 5], dl
mov byte [ebp - 0x88], 0
xor eax, eax
mov dword [ebp - 0x87], eax
mov dword [ebp - 0x83], eax
mov dword [ebp - 0x7f], eax
mov dword [ebp - 0x7b], eax
mov dword [ebp - 0x77], eax
mov dword [ebp - 0x73], eax
mov dword [ebp - 0x6f], eax
mov word [ebp - 0x6b], ax
mov byte [ebp - 0x69], al
mov byte [ebp - 0x108], 0
push 0x3f
push 0
lea ecx, [ebp - 0x107]
push ecx
call fcn.0052b7e0
add esp, 0xc
push 0x40
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x114]
call fcn.00412ad0
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x114]
call fcn.00412870
mov ecx, 8
lea esi, [ebp - 0xc8]
lea edi, [ebp - 0x88]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0xa8]
mov ecx, 8
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10c], 0
jmp 0x4125d9
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x10
jge 0x41260a
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, 0xf
sub edx, dword [ebp - 0x10c]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0x114]
call fcn.004126c0
jmp 0x4125ca
mov ecx, 8
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x108]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [ebp - 0x88]
lea edi, [ebp - 0xe8]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x110], 0
jmp 0x412648
mov edx, dword [ebp - 0x110]
add edx, 1
mov dword [ebp - 0x110], edx
cmp dword [ebp - 0x110], 0x40
jge 0x412679
mov eax, dword [ebp - 0x110]
movsx ecx, byte [eax + 0x587e58]
mov edx, dword [ebp - 0x114]
add edx, dword [ebp - 0x110]
mov al, byte [ebp + ecx - 0x109]
mov byte [edx + 0x640], al
jmp 0x412639
push 0x40
mov ecx, dword [ebp - 0x114]
add ecx, 0x640
push ecx
mov edx, dword [ebp - 0x114]
add edx, 0x688
push edx
mov ecx, dword [ebp - 0x114]
call fcn.00412b30
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00528556
mov esp, ebp
pop ebp
ret 8

Function at 0x412870
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x41288b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x40
jge 0x4128ac
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + str.:2_]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + edx - 1]
mov byte [eax], dl
jmp 0x412882
mov esp, ebp
pop ebp
ret 8
Function at 0x4128c0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x4128db
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x30
jge 0x4128fc
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x587c08]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + edx - 1]
mov byte [eax], dl
jmp 0x4128d2
mov esp, ebp
pop ebp
ret 8

Function at 0x412a80
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x412a9b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
jge 0x412abc
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x587e38]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + edx - 1]
mov byte [eax], dl
jmp 0x412a92
mov esp, ebp
pop ebp
ret 8
Function at 0x413d60
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5873c0]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
imul edx, edx, 0x8088405
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x18
mov eax, dword [ebp + 8]
xor edx, dword [eax + 8]
and edx, 0xff
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5873c0]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret
Function at 0x413ee0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x2d]
test edx, edx
je 0x413fc2
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x3c], 0
je 0x413f31
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x40]
cmp edx, dword [ebp + 0xc]
jae 0x413f31
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042a735
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x3c], 0
jne 0x413f5d
mov edx, dword [ebp + 0xc]
shl edx, 1
push edx
call fcn.0042a740
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x3c], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x40], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
push ecx
call fcn.0052e350
add esp, 0xc
mov dword [ebp - 8], 0
jmp 0x413f86
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x413fb9
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 8]
movzx ecx, byte [edx + eax]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x30
push edx
call fcn.00413de0
add esp, 8
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3c]
mov ecx, dword [ebp - 8]
mov byte [edx + ecx], al
jmp 0x413f7d
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x20], 0
je 0x41401d
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx + 0x28]
jb 0x413fea
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], 0x30000
xor eax, eax
jmp 0x414052
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx + 0x24]
push eax
call fcn.0052e350
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp + 0xc]
jmp 0x414052
mov edx, dword [ebp - 0x18]
cmp dword [edx + 4], 0
je 0x414046
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0xc]
jmp 0x414052
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], 0x1000000
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x414830
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557c38
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5ae9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00406860
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00404c30
sub eax, 1
push eax
lea ecx, [ebp - 0x6c]
call fcn.00414ac0
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x414896
push 0x5c
push 1
lea ecx, [ebp - 0x6c]
call fcn.00414a50
lea ecx, [ebp - 0x44]
call fcn.00414af0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00414a20
mov byte [ebp - 4], 2
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x70], 0
jmp 0x4148c7
mov edx, dword [ebp - 0x70]
add edx, 1
mov dword [ebp - 0x70], edx
lea ecx, [ebp - 0x6c]
call fcn.00404c30
cmp dword [ebp - 0x70], eax
jae 0x41491e
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00414ac0
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x414904
mov edx, dword [ebp - 0x70]
push edx
lea ecx, [ebp - 0x6c]
call fcn.00414ac0
movzx eax, word [eax]
push eax
push 1
lea ecx, [ebp - 0x2c]
call fcn.00414a50
jmp 0x41491c
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00414bb0
push 0x5c
push 1
lea ecx, [ebp - 0x2c]
call fcn.00414a50
jmp 0x4148be
lea ecx, [ebp - 0x4c]
call fcn.00414c30
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp - 0x44]
call fcn.00408520
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
jmp 0x41494d
push 0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00414c70
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00414b80
push eax
lea ecx, [ebp - 0x4c]
call fcn.00408680
movzx edx, al
test edx, edx
je 0x41498f
push 0
lea ecx, [ebp - 0x4c]
call fcn.00414c50
mov ecx, eax
call fcn.00404cf0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x50], eax
jmp 0x41493f
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040a5d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00414b60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0040a5d0
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00528556
mov esp, ebp
pop ebp
ret
Function at 0x416440
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x416449
xor ecx, ecx
jne 0x416449
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x416490
mov eax, dword [ebp - 0xc]
jmp 0x4164ed
cmp dword [ebp - 4], 1
je 0x4164a3
cmp dword [ebp - 4], 2
je 0x4164a3
mov eax, 0xd
jmp 0x4164ed
cmp dword [ebp + 0xc], 0
je 0x4164e1
cmp dword [ebp - 8], 0
je 0x4164d9
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x4164d0
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x4164d7
mov eax, 0xd
jmp 0x4164ed
jmp 0x4164e1
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x418bf0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x5ae9b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x240]
add ecx, 2
mov dword [ebp - 0x244], ecx
mov edx, dword [ebp - 0x240]
mov ax, word [edx]
mov word [ebp - 0x246], ax
add dword [ebp - 0x240], 2
cmp word [ebp - 0x246], 0
jne 0x418c1b
mov ecx, dword [ebp - 0x240]
sub ecx, dword [ebp - 0x244]
sar ecx, 1
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x23c], edx
cmp dword [ebp + 8], 0
jne 0x418c69
xor eax, eax
jmp 0x418def
cmp dword [ebp - 0x23c], 0x104
jl 0x418c7c
xor eax, eax
jmp 0x418def
push 0x20a
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0052b7e0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x250], ecx
lea edx, [ebp - 0x218]
mov dword [ebp - 0x254], edx
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x250]
mov dx, word [ecx]
mov word [ebp - 0x25a], dx
mov eax, dword [ebp - 0x254]
mov cx, word [ebp - 0x25a]
mov word [eax], cx
mov edx, dword [ebp - 0x250]
add edx, 2
mov dword [ebp - 0x250], edx
mov eax, dword [ebp - 0x254]
add eax, 2
mov dword [ebp - 0x254], eax
cmp word [ebp - 0x25a], 0
jne 0x418cb3
xor ecx, ecx
mov edx, dword [ebp - 0x23c]
mov word [ebp + edx*2 - 0x218], cx
xor eax, eax
mov ecx, dword [ebp - 0x23c]
mov word [ebp + ecx*2 - 0x216], ax
xor edx, edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x220], edx
mov word [ebp - 0x21c], dx
movzx eax, word [ebp - 0x228]
or eax, 4
mov word [ebp - 0x228], ax
movzx ecx, word [ebp - 0x228]
or ecx, 0x400
mov word [ebp - 0x228], cx
movzx edx, word [ebp - 0x228]
or edx, 0x10
mov word [ebp - 0x228], dx
mov dword [ebp - 0x222], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x21e], 0
mov dword [ebp - 0x234], 3
lea eax, [ebp - 0x218]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], 0
movzx ecx, word [ebp - 0x228]
and ecx, 0xffffffbf
mov word [ebp - 0x228], cx
lea edx, [ebp - 0x238]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x418ded
mov eax, 1
jmp 0x418def
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00528556
mov esp, ebp
pop ebp
ret