joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56868c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x5687b4
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00568578
mov eax, dword [esi]
call fcn.00409388
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x419790]
call fcn.0040953c
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.0040479c
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.0040479c
add ebx, 0x1c
mov eax, dword [esi]
call fcn.00409388
mov dword [ebp - 0xc], eax
mov eax, dword [0x61347c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.00557b14
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00405008
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.00409388
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.00557af0
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov ebx, eax
mov eax, ebx
call fcn.005578a8
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.00557b0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5687bb
lea eax, [ebp - 4]
mov edx, dword [0x419790]
call fcn.00409548
ret

Function at 0x582a10
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
mov edx, 0x10
call fcn.004081c4
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x582a35
sub eax, 4
mov eax, dword [eax]
mov dword [esp], eax
push esp
mov eax, dword [ebx]
call fcn.00408030
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x582a54
mov eax, ebx
mov edx, dword [esp]
call fcn.004081c4
pop ecx
pop edx
pop ebx
ret
Function at 0x5d19c4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x5d19dc
add esp, 0xfffffff0
call fcn.00405c30
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x5d1af6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.00404598
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x5d1ae0
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004b2774
xor eax, eax
push ebp
push 0x5d1acd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004b2774
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.00408128
jmp 0x5d1a9e
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.00408454
mov eax, dword [ebx + 4]
call fcn.00407824
dec eax
jle 0x5d1ab2
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x5d1a8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d1ad4
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d1afd
lea eax, [ebp - 4]
call fcn.0040737c
ret

Function at 0x5d6350
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00405008
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
call sub.shell32.dll_ShellExecuteExA
test eax, eax
je 0x5d63e1
xor eax, eax
push ebp
push 0x5d63da
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 8], 0
je 0x5d63c3
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d63e1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5d8648
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
xor ecx, ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x5d86b7
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push eax
lea eax, [ebp - 0x208]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
lea edx, [ebp - 0x20c]
lea eax, [ebp - 0x208]
call fcn.004208f8
mov edx, dword [ebp - 0x20c]
mov eax, ebx
mov ecx, 0x5d86d0
call fcn.0040829c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d86be
lea eax, [ebp - 0x20c]
call fcn.00407334
ret

Function at 0x5f1f08
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x619990], 0
jne 0x5f1f1f
call fcn.005f1ec4
mov eax, edi
dec eax
test eax, eax
jl 0x5f1f47
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x619590]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5f1f29
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x5f4c18
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x5f4cb2.0
jmp dword [ecx*4 + 0x5f4c4b]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5f4c7d
sub dl, 8
je 0x5f4c8c
jmp case.0x5f4cb2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f48e4
jmp case.0x5f4cb2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f4938
jmp case.0x5f4cb2.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x5f4cb2.0
movzx ecx, byte [ecx + 0x5f4cb9]
jmp dword [ecx*4 + 0x5f4cca]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f49d8
jmp case.0x5f4cb2.0
cmp dl, 3
jne 0x5f4cf7
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f4a30
jmp case.0x5f4cb2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f49ec
jmp case.0x5f4cb2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f4a74
jmp case.0x5f4cb2.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5f4d22
sub dl, 8
je 0x5f4d2e
jmp case.0x5f4cb2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f4aa0
jmp case.0x5f4cb2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f4b04
jmp case.0x5f4cb2.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5f4d4d
sub dl, 8
je 0x5f4d59
jmp case.0x5f4cb2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f4bb4
jmp case.0x5f4cb2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f4bdc
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x5f4dfb
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005f3e20
test eax, eax
je 0x5f4dfb
mov eax, ebx
call fcn.005f4e04
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x5f4d94
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5f4e04
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x5f4e35
dec al
je 0x5f4e70
dec al
je 0x5f4eb5
dec al
je 0x5f4f1e
jmp 0x5f4fa8
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x5f4fa8
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5f4e45
jmp 0x5f4fa8
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5f4fa8
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5f4e80
jmp 0x5f4fa8
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5f4fa8
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x5f4ee4
xor ebp, ebp
jmp 0x5f4ef4
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x5f4efd
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5f4ec5
jmp 0x5f4fa8
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5f4fa8
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x5f4f77
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.005f1f50
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5f4f32
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x401220
Capabilities:
Create thread
Delete file
Get common file path
Terminate process

Disassembly:
sub esp, 0x220
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x12d]
mov byte [esp + 0x12c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x12c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x10]
call fcn.004018d0
lea ecx, [esp + 0x12c]
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.004018e0
test eax, eax
jne 0x40129c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x12c]
push 0
push edx
lea ecx, [esp + 0x18]
call fcn.004018e0
test eax, eax
je 0x40127a
lea ecx, [esp + 0x10]
call fcn.00401a90
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
push 8
mov dword [0x401aa4], eax
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x401aa4]
mov dword [0x401aa0], eax
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00401a10
lea ecx, [esp + 0x10]
call fcn.00401a70
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x28]
push 0x104
push edx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x28]
push 0x40119c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x12c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4013a5
lea ecx, [esp + 0x14]
call fcn.004018d0
lea eax, [esp + 0x28]
push 0x1001
push eax
lea ecx, [esp + 0x1c]
call fcn.004018e0
test eax, eax
je 0x4013a5
mov ecx, dword [0x401aa4]
mov edx, dword [0x401aa0]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00401a40
lea eax, [esp + 0x12c]
push 0x104
push eax
lea ecx, [esp + 0x1c]
call fcn.00401a40
lea ecx, [esp + 0x14]
jmp 0x402640
push 0x401190
call fcn.004014f0
mov eax, dword [0x401aa4]
mov ecx, dword [0x401aa0]
lea esi, [ecx + eax - 0x104]
push esi
call fcn.00401810
add esp, 8
test al, al
je 0x4013e0
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [0x401aa0]
mov edx, dword [0x401aa4]
mov eax, dword [ecx + 0x1c]
add eax, ecx
sub ecx, eax
mov dword [0x401aa8], eax
mov edi, eax
lea esi, [eax + 0x80]
lea ebp, [ecx + edx - 0x80]
xor edx, edx
xor ecx, ecx
test ebp, ebp
jle 0x401427
mov al, byte [ecx + edi]
xor byte [edx + esi], al
inc ecx
inc edx
cmp ecx, 0x80
jl 0x40141e
xor ecx, ecx
cmp edx, ebp
jl 0x40140c
mov eax, dword [0x401aa8]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
add eax, 0x80
mov dword [0x401aac], eax
mov dword [esp + 0x18], 0x401108
mov dword [esp + 0x1c], 0x401098
mov ecx, dword [0x401aac]
push ecx
lea ecx, [esp + 0x1c]
jmp section..htext
Function at 0x401370
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7ec
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x79c], 4
mov dword [ebp - 0x784], 0x80000000
mov dword [ebp - 0x798], 0x20019
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x72c], eax
pushal
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x12d
mov dword [ebp - 0x28], 0x16
mov dword [ebp - 0x7ec], str.222TWARE11asses
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x12c
mov dword [ebp - 0x28], 0x15
mov ecx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [0x4360c8], ecx
mov edx, dword [ebp - 0x7ec]
mov byte [edx], 0x53
mov eax, dword [ebp - 0x7ec]
mov byte [eax + 1], 0x4f
mov ecx, dword [ebp - 0x7ec]
mov byte [ecx + 2], 0x46
mov edx, dword [ebp - 0x7ec]
mov byte [edx + 9], 0x43
mov eax, dword [ebp - 0x7ec]
mov byte [eax + 0xa], 0x6c
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x7ec]
push edx
push 0x80000002
call dword [0x4360c8]
or eax, eax
je 0x401461
xor eax, eax
jmp 0x401706
lea eax, [ebp - 0x34]
push eax
push str.clsid09474572_b2fb_11d1_a1a1_0000f875b132inprocserver32
push 0x80000000
call dword [0x4360c8]
or eax, eax
je 0x401480
xor eax, eax
jmp 0x401706
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
or eax, eax
jne 0x401498
xor eax, eax
jmp 0x401706
push 1
mov ecx, dword [0x4360c4]
push ecx
jmp 0x45b93d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401a70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x114], str._ffffffffffffffff
mov eax, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x11c], eax
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [ebp - 0x11c]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x401aea
cmp dword [ebp - 0x118], 0
je 0x401aea
jmp 0x401b4c
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x401b4c
mov dword [ebp - 0x120], 0x3c41
mov eax, dword [ebp + 8]
add eax, 8
mov dword [0x4360b4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [0x4360d0], edx
mov dword [ebp - 0x120], 0x3c41
mov dword [ebp - 0x120], 0x3c41
call fcn.004011c0
mov eax, dword [ebp + 8]
mov dword [0x4360cc], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
call fcn.00401980
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x401aea
mov esp, ebp
pop ebp
ret
Function at 0x100f6c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x10ee0e3
call fcn.01003440
sub esp, 0x114
mov eax, dword [0x1116788]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x110], edi
mov dword [ebp - 0xec], ebx
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::constructor_long_int_]
xor esi, esi
inc esi
push 0x100f8c8
lea ecx, [ebp - 0x10c]
mov dword [ebp - 4], esi
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::SetFunctionName_unsigned_short_int_const__]
lea eax, [ebp - 0xe4]
push eax
push 0x20019
push ebx
push 0x100f878
push 0x80000002
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0xf8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10570ae
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xf0]
push eax
push ebx
push 0x100f868
push dword [ebp - 0xe4]
mov dword [ebp - 0xfc], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100f7f7
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x100f7f7
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xd8]
push 0x100f850
push eax
call dword [sym.imp.msvcrt.dll_swscanf]
add esp, 0x18
cmp eax, 2
jl 0x100f7f7
cmp dword [ebp - 0xe0], 6
jb 0x100f7ea
mov dword [ebp - 0xdc], esi
cmp dword [ebp - 0xe0], 5
je 0x1057096
push dword [ebp - 0xe4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xdc], ebx
je 0x10570ae
lea eax, [ebp - 0x10c]
push eax
mov ecx, edi
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::constructor_class_mmcerror::SC_const__]
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], bl
mov dword [ebp - 0xec], esi
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.010032ea
leave
ret 4
cmp dword [ebp - 0xe8], 0x32
jb 0x100f7f7
mov dword [ebp - 0xdc], esi
jmp 0x100f7f7
push 0x3466
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.mmcbase.DLL_class_mmcerror::SC___stdcall_ScFromMMC_long_int_]
push eax
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 2
call dword [sym.imp.mmcbase.DLL_public:_class_mmcerror::SC____thiscall_mmcerror::SC::operator_class_mmcerror::SC_const__]
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 1
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::destructor_void_]
lea eax, [ebp - 0x10c]
push eax
mov ecx, edi
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::constructor_class_mmcerror::SC_const__]
jmp 0x100f81e

Function at 0x1011b7e
Capabilities:
Capture webcam image

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
push 0x419
push dword [ecx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
pop ebp
ret 4
Function at 0x40acde
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4398bc]
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
test eax, eax
je 0x40ada3
xor edi, edi
cmp dword [0x4398fc], edi
jbe 0x40ad74
cmp dword [esi + 0x30], 0
mov eax, dword [eax + edi*4]
mov dword [ebp - 8], eax
jne 0x40ad5f
and dword [ebp - 4], 0
lea edx, [ebp - 4]
mov ecx, eax
call fcn.0040f587
mov ebx, dword [ebp - 4]
test eax, eax
js 0x40ad51
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40ad51
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40ad51
cmp eax, 3
je 0x40ad51
push 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x40ad51
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x40ad5c
mov ecx, ebx
call fcn.0040eb78
mov eax, dword [ebp - 8]
mov ecx, eax
call fcn.0040eb78
mov eax, dword [0x4398bc]
inc edi
cmp edi, dword [0x4398fc]
jb 0x40ad00
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jne 0x40ad8d
call fcn.0040ef02
and dword [0x4398bc], 0
cmp dword [esi + 0x14], 0
je 0x40ada3
push ecx
mov ecx, dword [esi + 8]
call fcn.0040f080
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x40adaa
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
cmp eax, 8
ja case.0x40adba.1
jmp dword [eax*4 + 0x40ae8a]
mov eax, dword [0x439798]
xor esi, esi
cmp esi, dword [ebp + 0x14]
ja case.0x40adba.1
jae 0x40adee
call fcn.0040b256
mov eax, dword [0x439798]
add eax, 0x100000
mov dword [0x439798], eax
cmp esi, dword [ebp + 0x14]
jb 0x40add3
ja case.0x40adba.1
cmp eax, dword [ebp + 0x10]
jb 0x40add3
jmp case.0x40adba.1
mov ecx, dword [ebp + 0xc]
call fcn.0040aeae
call fcn.0040b256
jmp case.0x40adba.1
call fcn.0040b256
push 0x80
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 0xc]
call fcn.0040af9e
mov esi, eax
test esi, esi
jns case.0x40adba.1
push 0x4073d4
jmp 0x40ae7b
mov ecx, dword [ebp + 0xc]
call fcn.0040aeae
and dword [0x439798], 0
jmp case.0x40adba.1
mov eax, dword [0x439798]
xor esi, esi
cmp esi, dword [ebp + 0x14]
ja case.0x40adba.1
jae 0x40ae66
call fcn.0040b256
mov eax, dword [0x439798]
add eax, 0x80000
mov dword [0x439798], eax
cmp esi, dword [ebp + 0x14]
jb 0x40ae4b
ja case.0x40adba.1
cmp eax, dword [ebp + 0x10]
jb 0x40ae4b
call fcn.0040b286
mov esi, eax
test esi, esi
jns 0x40ae83
push 0x40735c
push esi
call fcn.0040e21e
pop ecx
pop ecx
mov eax, esi
pop esi
pop ebp
ret 0x14