joyce8/EMBER2024-capa huggingface dataset:
Function at 0x631690
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 4], ecx
push esi
push edi
mov edi, ebx
test ebx, ebx
je 0x6316bd
cmp byte [ebx], cl
je 0x6316b5
nop dword [eax + eax]
inc edi
cmp byte [edi], cl
jne 0x6316b0
sub edi, ebx
and edi, 0x3fffffff
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], eax
mov esi, dword [edx + 4]
mov dword [ebp - 0x14], esi
test esi, esi
jle 0x631785
mov esi, eax
xor esi, 1
cmp eax, 2
cmovge esi, eax
cmp dword [ebp + 0x10], 0
je 0x631745
mov eax, dword [edx + 8]
mov ecx, esi
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov ecx, dword [ebp + 0x10]
mov bl, byte [ecx]
test bl, bl
je 0x631727
sub ecx, edx
mov al, bl
mov dword [ebp - 0x10], ecx
mov edi, ecx
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x6b4890]
cmp al, byte [ecx + 0x6b4890]
jne 0x631724
mov al, byte [edi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x631703
mov edi, dword [ebp - 8]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x6b4890]
movzx eax, bl
mov ebx, dword [ebp + 0xc]
movzx eax, byte [eax + 0x6b4890]
sub eax, ecx
jne 0x631793
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
add esi, esi
mov esi, dword [eax + esi*8 + 0xc]
add esi, 4
cmp dword [esi + 0xc], 0
je 0x631767
push edi
push ebx
call fcn.00658ff0
xor edx, edx
add esp, 8
div dword [esi]
jmp 0x631769
xor edx, edx
push edx
push edi
push ebx
push esi
call fcn.00608e10
add esp, 0x10
test eax, eax
je 0x63178c
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x631796
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [ebp - 4], ecx
jmp 0x631796
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 0x14]
jge 0x631783
mov edx, dword [ebp + 8]
jmp 0x6316d6
Function at 0x658ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
jle 0x659020
push ebx
mov ebx, dword [ebp + 8]
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x6b4890]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x659002
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x65f1f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov ecx, dword [ebp + 8]
call fcn.0044b4d0
movzx eax, al
test eax, eax
je 0x65f20d
xor eax, eax
jmp 0x65f342
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx]
mov eax, dword [0x7006d0]
cmp eax, dword [edx + 4]
jle 0x65f25d
push 0x7006d0
call fcn.005e3563
add esp, 4
cmp dword [0x7006d0], 0xffffffff
jne 0x65f25d
mov ecx, 0x7006d4
call fcn.0040a3e0
push 0x67ce20
call fcn.0058d683
add esp, 4
push 0x7006d0
call fcn.005e3512
add esp, 4
mov ecx, 0x7006d4
call fcn.0044b4d0
movzx ecx, al
test ecx, ecx
je 0x65f2bb
push 0
push 0x28
push 0x104
mov ecx, 0x7006d4
call fcn.00409f00
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, 0x7006d4
call fcn.004095d0
mov ecx, 0x7006d4
call fcn.0044b4d0
movzx edx, al
test edx, edx
je 0x65f2ae
xor eax, eax
jmp 0x65f342
push 0x7006d4
call fcn.0065f1b0
add esp, 4
mov ecx, dword [ebp + 8]
call fcn.00409c70
mov esi, eax
mov ecx, 0x7006d4
call fcn.00409c70
cmp esi, eax
jge 0x65f2d7
xor eax, eax
jmp 0x65f342
mov ecx, 0x7006d4
call fcn.00409c70
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.0044a0e0
mov dword [ebp - 0xc], eax
mov ecx, 0x7006d4
call fcn.004058c0
push eax
mov ecx, dword [ebp - 0xc]
call fcn.004058c0
push eax
call fcn.005cc926
add esp, 8
test eax, eax
jne 0x65f31a
mov dword [ebp - 8], 1
jmp 0x65f321
mov dword [ebp - 8], 0
mov cl, byte [ebp - 8]
mov byte [ebp - 1], cl
lea ecx, [ebp - 0x10]
call fcn.0040a480
movzx edx, byte [ebp - 1]
test edx, edx
je 0x65f340
mov eax, 1
jmp 0x65f342
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x65f350
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x6f0f64]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.005bc9a0
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x65f38a
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp + 0x10], eax
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.005bc9a0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x65f3cc
xor eax, eax
jmp 0x65f4eb
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x65f3f1
xor eax, eax
jmp 0x65f4eb
lea ecx, [ebp - 0x215]
call fcn.004060a0
push eax
mov ecx, dword [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x234]
call fcn.00449f30
push 0
lea ecx, [ebp - 0x234]
call fcn.00449ea0
push eax
mov edx, dword [ebp - 0x21c]
push edx
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x65f4ce
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0x6bff20
push 0
lea ecx, [ebp - 0x234]
call fcn.00449ea0
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x65f4ce
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x214]
jb 0x65f4b9
mov edx, dword [ebp - 0x214]
push edx
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005ebb38
add esp, 0xc
jmp 0x65f4ce
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x214]
mov dword [edx], eax
mov dword [ebp - 0x210], 0
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x228], ecx
lea ecx, [ebp - 0x234]
call fcn.00449f10
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058d09a
mov esp, ebp
pop ebp
ret
Function at 0x65f500
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67bcad
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6f0f64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x65f535
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x65f53c
xor eax, eax
jmp 0x65f6aa
lea ecx, [ebp - 0x4c]
call fcn.005ed0b9
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x14]
call fcn.00409b50
mov byte [ebp - 4], 1
push str..
lea ecx, [ebp - 0x14]
call fcn.0044a620
push 0
lea ecx, [ebp - 0x14]
call fcn.004058c0
push eax
lea ecx, [ebp - 0x4c]
call fcn.005ed1c3
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x65f648
lea ecx, [ebp - 0x4c]
call fcn.005ed370
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x4c]
call fcn.005ed701
test eax, eax
jne 0x65f643
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.005ed41c
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00409b50
mov byte [ebp - 4], 3
lea edx, [ebp - 0x1c]
push edx
push 0x6bff1c
lea eax, [ebp - 0x28]
push eax
call fcn.0044a030
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x24]
push edx
lea ecx, [ebp - 0x10]
call fcn.0044a560
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0040a480
lea ecx, [ebp - 0x4c]
call fcn.0044b500
test eax, eax
je 0x65f61c
lea ecx, [ebp - 0x10]
call fcn.004058c0
push eax
call fcn.0065f500
add esp, 4
jmp 0x65f62b
lea ecx, [ebp - 0x10]
call fcn.004058c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0040a480
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040a480
jmp 0x65f57e
lea ecx, [ebp - 0x4c]
call fcn.005ed169
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x65f685
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040a480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.005ed0eb
mov eax, dword [ebp - 0x2c]
jmp 0x65f6aa
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040a480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.005ed0eb
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x660270
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x6f0f64]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
call fcn.0044bb10
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0
push 0x288
call fcn.005bffa3
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0x288
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x6602e6
mov edx, dword [ebp - 0x10]
push edx
call fcn.005bffae
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005bffa3
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x6602e6
jmp 0x660396
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x66038a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x66038a
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x2c]
jne 0x660380
mov dword [ebp - 0x18], 0
jmp 0x660343
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x190]
jae 0x660380
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x18]
movzx eax, byte [edx + 0x194]
push eax
push str._02X
push 4
lea ecx, [ebp - 0xc]
push ecx
call fcn.0044b990
add esp, 0x10
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0042e720
jmp 0x66033a
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
jmp 0x66030e
mov edx, dword [ebp - 0x10]
push edx
call fcn.005bffae
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058d09a
mov esp, ebp
pop ebp
ret
Function at 0x6603b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
jmp 0x6603c8
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
movzx eax, word [edx + ecx*2]
test eax, eax
je 0x660488
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
movzx eax, word [edx + ecx*2]
cmp eax, 0x5c
je 0x6603fc
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
movzx eax, word [edx + ecx*2]
cmp eax, 0x2f
jne 0x660483
lea ecx, [ebp - 1]
call fcn.004060a0
push eax
mov ecx, dword [ebp - 8]
add ecx, 2
push ecx
lea ecx, [ebp - 0x18]
call fcn.00449f30
mov edx, dword [ebp - 8]
add edx, 1
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00449ec0
push eax
push 0
lea ecx, [ebp - 0x18]
call fcn.00449ea0
push eax
call fcn.005c0094
add esp, 0x10
push 0
lea ecx, [ebp - 0x18]
call fcn.00449ea0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x66047b
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.00449ea0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x66047b
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x18]
call fcn.00449f10
mov eax, dword [ebp - 0xc]
jmp 0x66048d
lea ecx, [ebp - 0x18]
call fcn.00449f10
jmp 0x6603bf
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x661250
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67bfaf
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x6f0f64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 8]
call fcn.0044b4d0
movzx eax, al
test eax, eax
je 0x66128e
xor eax, eax
jmp 0x66142e
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004497d0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.006608f0
lea ecx, [ebp - 0x3c]
call fcn.00664480
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
call fcn.00660d10
mov ecx, eax
call fcn.004058c0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00664500
test eax, eax
je 0x6612ff
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.006644b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040a480
mov eax, dword [ebp - 0x1c]
jmp 0x66142e
lea ecx, [ebp - 0x14]
call fcn.0040a3e0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
push edx
push str.SELECT_value_FROM__s_WHERE_key_s
lea eax, [ebp - 0x14]
push eax
call fcn.00409580
add esp, 0x10
lea ecx, [ebp - 0x3c]
call fcn.0044ece0
lea ecx, [ebp - 0x14]
call fcn.004058c0
push eax
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00664600
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.0044ecc0
test eax, eax
je 0x661396
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.0044ed00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0040a480
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.006644b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040a480
mov eax, dword [ebp - 0x20]
jmp 0x66142e
lea ecx, [ebp - 0x64]
call fcn.0044ed30
test eax, eax
jne 0x6613ac
mov ecx, dword [ebp + 0xc]
call fcn.00409c00
jmp 0x6613f1
lea ecx, [ebp - 0x64]
call fcn.0044ed30
cmp eax, 1
jne 0x6613f1
push 0
lea ecx, [ebp - 0x64]
call fcn.00664ae0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00409b50
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00449e20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.0040a480
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.0044ed00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0040a480
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.006644b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040a480
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x6616e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6f0f64]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x661760
mov dword [ebp - 0x218], 0x104
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058d09a
mov esp, ebp
pop ebp
ret
Function at 0x662140
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67c0b3
mov eax, dword fs:[0]
push eax
sub esp, 0x4c4
mov eax, dword [0x6f0f64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4d0], 0
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x4ac], eax
cmp dword [ebp - 0x4ac], 0x20
ja 0x66235b
lea edx, [ebp - 0x420]
push edx
push str..htm
push SysReAllocStringLen
call fcn.006616e0
add esp, 0xc
test eax, eax
jne 0x66235b
push str._shellopencommand
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x420]
push edx
push SysReAllocStringLen
call fcn.006616e0
add esp, 0xc
test eax, eax
jne 0x66235b
push str.__1_
lea eax, [ebp - 0x420]
push eax
call fcn.00449690
add esp, 8
mov dword [ebp - 0x4a8], eax
cmp dword [ebp - 0x4a8], 0
jne 0x662266
push 0x6c3ba4
lea ecx, [ebp - 0x420]
push ecx
call fcn.00449690
add esp, 8
mov dword [ebp - 0x4a8], eax
cmp dword [ebp - 0x4a8], 0
jne 0x662259
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x422]
mov dword [ebp - 0x4a8], eax
jmp 0x662264
xor ecx, ecx
mov edx, dword [ebp - 0x4a8]
mov word [edx], cx
jmp 0x662271
xor eax, eax
mov ecx, dword [ebp - 0x4a8]
mov word [ecx], ax
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x4c8]
call fcn.00409b50
mov dword [ebp - 0x4b4], eax
mov eax, dword [ebp - 0x4b4]
mov dword [ebp - 0x4b8], eax
mov dword [ebp - 4], 0
push 0x6c3bb8
mov ecx, dword [ebp - 0x4b8]
push ecx
lea edx, [ebp - 0x4c4]
push edx
call fcn.00449c20
add esp, 0xc
mov dword [ebp - 0x4bc], eax
mov eax, dword [ebp - 0x4bc]
mov dword [ebp - 0x4c0], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x4c0]
push edx
lea eax, [ebp - 0x4b0]
push eax
call fcn.00449c20
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c4]
call fcn.0040a480
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c8]
call fcn.0040a480
lea ecx, [ebp - 0x4b0]
call fcn.004058c0
push eax
lea ecx, [ebp - 0x4a4]
call fcn.0044fa20
mov dword [ebp - 0x4cc], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x4cc]
call fcn.004058c0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0x4ac], eax
lea ecx, [ebp - 0x4a4]
call fcn.0044f210
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4b0]
call fcn.0040a480
mov eax, dword [ebp - 0x4ac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058d09a
mov esp, ebp
pop ebp
ret
Function at 0x6625f0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67c13c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x6f0f64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CFileCleaner.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00450030
test eax, eax
je 0x662641
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x38]
mov edx, dword [eax + 0x60]
call edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x30], 0
je 0x66269c
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x30]
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x662672
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x30]
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x662695
push 1
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x18], eax
jmp 0x66269c
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00664cf0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0044b9f0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004504f0
mov ecx, dword [ebp - 0x10]
call fcn.00450430
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x662f70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
jne 0x662f80
xor eax, eax
jmp 0x662fe7
cmp dword [ebp + 0xc], 0
jne 0x662f8a
xor eax, eax
jmp 0x662fe7
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.005c34b0
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x663020
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67c2ab
mov eax, dword fs:[0]
push eax
sub esp, 0x360
mov eax, dword [0x6f0f64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34c], 0
lea ecx, [ebp - 0x348]
call fcn.0040a3e0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x6630a5
lea eax, [ebp - 0x348]
push eax
mov ecx, dword [ebp + 8]
call fcn.004497d0
mov ecx, dword [ebp - 0x34c]
or ecx, 1
mov dword [ebp - 0x34c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x348]
call fcn.0040a480
mov eax, dword [ebp + 8]
jmp 0x66325e
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x358], eax
cmp dword [ebp - 0x358], 0xffffffff
jne 0x663108
lea eax, [ebp - 0x348]
push eax
mov ecx, dword [ebp + 8]
call fcn.004497d0
mov ecx, dword [ebp - 0x34c]
or ecx, 1
mov dword [ebp - 0x34c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x348]
call fcn.0040a480
mov eax, dword [ebp + 8]
jmp 0x66325e
lea ecx, [ebp - 0x344]
call fcn.00457010
push 0
lea edx, [ebp - 0x344]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00468abe
test eax, eax
je 0x66321e
mov ecx, dword [ebp - 0x32c]
mov dword [ebp - 0x354], ecx
cmp dword [ebp - 0x354], 0
je 0x66321e
mov dword [ebp - 0x360], 0
mov edx, dword [ebp - 0x354]
add edx, 1
push edx
call fcn.0045fa8f
add esp, 4
mov dword [ebp - 0x35c], eax
mov eax, dword [ebp - 0x35c]
mov dword [ebp - 0x350], eax
push 0
lea ecx, [ebp - 0x360]
push ecx
mov edx, dword [ebp - 0x354]
push edx
mov eax, dword [ebp - 0x350]
push eax
mov ecx, dword [ebp - 0x358]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x350]
add edx, dword [ebp - 0x354]
mov byte [edx], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x350]
push ecx
lea ecx, [ebp - 0x114]
call fcn.0044f240
mov dword [ebp - 0x364], eax
mov edx, dword [ebp - 0x364]
mov dword [ebp - 0x368], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x368]
call fcn.004058c0
push eax
lea ecx, [ebp - 0x348]
call fcn.0040a2e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x114]
call fcn.0044f210
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x36c], eax
mov ecx, dword [ebp - 0x36c]
push ecx
call fcn.0045fa98
add esp, 4
mov dword [ebp - 0x350], 0
mov edx, dword [ebp - 0x358]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x348]
push eax
mov ecx, dword [ebp + 8]
call fcn.004497d0
mov ecx, dword [ebp - 0x34c]
or ecx, 1
mov dword [ebp - 0x34c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x348]
call fcn.0040a480
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058d09a
mov esp, ebp
pop ebp
ret