joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405c76
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
test esi, esi
jne 0x405c89
push 0xd
pop eax
jmp 0x405cb1
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x405c8c
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x40621f
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x44af80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], esi
call fcn.00405bff
mov ebx, eax
cmp ebx, esi
je 0x406290
lea ecx, [ebp - 0x114]
call fcn.00405b88
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421c7c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x4062ae
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x114]
call fcn.0040621f
cmp eax, esi
jne 0x4062f5
lea eax, [ebp - 0x120]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp - 0x114]
mov dword [ebp - 0x108], 0x100
call ebx
test eax, eax
je 0x406298
lea ecx, [ebp - 0x114]
call fcn.00405b88
push dword [ebp - 0x118]
mov ecx, edi
call fcn.00405b66
lea ecx, [ebp - 0x114]
mov esi, eax
call fcn.00405b88
mov eax, esi
jmp 0x40627f
Function at 0x4087e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x436b04
call fcn.0042210e
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x424], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x418], edi
mov byte [ebp - 4], 1
cmp esi, edi
je 0x408894
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.00405829
add esp, 0xc
test eax, eax
js 0x408894
mov ebx, dword [ebp - 0x41c]
cmp ebx, 0x400
jg 0x408874
push ebx
call fcn.004061a5
pop ecx
test al, al
je 0x408874
mov eax, ebx
call fcn.004230b0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x408886
push ebx
lea ecx, [ebp - 0x424]
call fcn.0040638b
mov edi, dword [ebp - 0x424]
push 3
push ebx
push esi
push eax
call fcn.0040590f
test eax, eax
jne 0x4088c6
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4088b8
lea ecx, [ebp - 0x418]
call fcn.0040f37a
jmp 0x4088b8
push edi
mov edi, dword [edi]
call fcn.004210eb
pop ecx
test edi, edi
jne 0x4088af
mov eax, 0x8007000e
jmp 0x4089e3
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
jne 0x4088e9
call fcn.00405973
mov esi, eax
jmp 0x4089b9
push dword [ebp - 0x420]
push dword [ebp - 0x428]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x40890c
call fcn.00405973
jmp 0x4089ab
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x408902
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x428], esi
cmp eax, esi
jae 0x40893c
mov esi, 0x8007000e
jmp 0x4089ad
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.004068db
mov dword [ebp - 4], 1
jmp 0x40896e
cmp dword [ebp - 0x418], 0
je 0x408935
push esi
push dword [ebp - 0x420]
push esi
push dword [ebp - 0x418]
call fcn.00401050
mov eax, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], 0
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.00408512
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4089dd
lea ecx, [ebp - 0x418]
call fcn.0040f37a
jmp 0x4089dd
push edi
mov edi, dword [edi]
call fcn.004210eb
pop ecx
test edi, edi
jne 0x4089d4
mov eax, esi
lea esp, [ebp - 0x440]
call fcn.0042216a
ret 0x10
Function at 0x40956a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436c2d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x112c
call fcn.004223f0
mov eax, dword [0x44af80]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0x43b916
lea ecx, [ebp - 0x1130]
mov dword [ebp - 4], ebx
call fcn.00401d7c
mov byte [ebp - 4], 1
cmp byte [0x44c750], bl
je 0x40969b
lea eax, [ebp - 0x1084]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x1078]
push eax
movzx eax, word [ebp - 0x107a]
push eax
movzx eax, word [ebp - 0x107c]
push eax
push str._02d:_02d:_02d__
lea eax, [ebp - 0x1060]
push 0xc
push eax
call fcn.00421bf1
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1054]
push 0xfff
push 0x1000
push eax
call fcn.004223c3
add esp, 0x2c
lea eax, [ebp - 0x1124]
push eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x1124], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x1114], 2
jne 0x409667
cmp dword [ebp - 0x1120], 3
jb 0x409667
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x1060]
push eax
call esi
lea eax, [ebp - 0x1054]
push eax
call esi
jmp 0x40969b
push ecx
lea eax, [ebp - 0x1060]
mov ecx, esp
mov dword [ebp - 0x1134], esp
push eax
call fcn.00401d7c
call fcn.00404429
lea eax, [ebp - 0x1054]
mov ecx, esp
mov dword [ebp - 0x1134], esp
push eax
call fcn.00401d7c
call fcn.00404429
pop ecx
lea ecx, [ebp - 0x1130]
call fcn.0040147e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00421c7c
leave
ret
Function at 0x40db64
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x40dbdb
push esi
push edi
call fcn.00422d40
mov esi, eax
pop ecx
test esi, esi
je 0x40dbda
push esi
push edi
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x43c3a8
push esi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0x14]
push ecx
movzx ecx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
movzx eax, word [eax + 0x12]
push ecx
push eax
push str._u._u._u._u
push 0x44c2fc
call fcn.00403397
push esi
call fcn.004210eb
add esp, 0x1c
pop esi
pop edi
leave
ret 0xc

Function at 0x40ea91
Capabilities:
Get graphical window text

Disassembly:
push 0x9c
mov eax, 0x437296
call fcn.0042210e
mov esi, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa0], ebx
push dword [esi]
mov dword [ebp - 4], ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], ebx
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
and dword [ebp - 0x98], 0
mov ebx, eax
mov dword [ebp - 0x9c], ebx
mov byte [ebp - 4], 1
test ebx, ebx
jle 0x40eb6d
lea eax, [ebx + 1]
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.0040e91f
mov dword [ebp - 4], 1
jmp 0x40eb24
cmp dword [ebp - 0x98], 0
jne 0x40eb49
lea eax, [ebp - 0x94]
test eax, eax
je 0x40eb42
lea ecx, [ebp - 0x98]
call fcn.0040f37a
xor eax, eax
jmp 0x40ec40
lea eax, [ebx + 1]
push eax
push dword [ebp - 0x98]
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x40eb6d
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x98], eax
jmp 0x40eb35
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa4], eax
test eax, eax
je 0x40eba1
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push 2
push eax
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x9c]
push eax
call fcn.00405829
add esp, 0xc
test eax, eax
jns 0x40eba5
xor eax, eax
jmp 0x40ebe9
mov edi, dword [ebp - 0x9c]
cmp edi, 0x400
jg 0x40ebcc
push edi
call fcn.004061a5
pop ecx
test al, al
je 0x40ebcc
mov eax, edi
call fcn.004230b0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x40ebd8
push edi
lea ecx, [ebp - 0xa0]
call fcn.0040638b
push 3
shr edi, 1
push edi
push dword [ebp - 0xa4]
push eax
call fcn.004058d7
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test ebx, ebx
jne 0x40ebfa
xor edi, edi
jmp 0x40ec03
xor ecx, ecx
test eax, eax
setne cl
mov edi, ecx
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x98], eax
je 0x40ec1c
lea ecx, [ebp - 0x98]
call fcn.0040f37a
cmp dword [ebp - 0xa0], 0
je 0x40ec3e
mov eax, dword [ebp - 0xa0]
mov esi, dword [eax]
push eax
mov dword [ebp - 0xa0], esi
call fcn.004210eb
pop ecx
test esi, esi
jne 0x40ec25
mov eax, edi
lea esp, [ebp - 0xb8]
call fcn.0042216a
ret 4
Function at 0x410310
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ecx + 0x24]
and dword [ebp - 8], 0
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0xc], esi
call fcn.0040a94a
mov eax, dword [eax]
push 0x43bdd0
push eax
call fcn.0042251a
pop ecx
mov ebx, eax
pop ecx
neg ebx
lea ecx, [ebp + 8]
sbb bl, bl
call fcn.0040147e
xor eax, eax
inc bl
setne al
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 0x40f8d9
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 8], 0
je 0x41037e
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x41038b
push esi
push str.CLicensSummary::SendMessageToProcess___could_not_find_Window_for_process__lx_
call fcn.0040be44
pop ecx
pop ecx
pop esi
pop ebx
leave
ret 0x10

Function at 0x410391
Capabilities:
Enumerate processes

Disassembly:
push 0x1e0
mov eax, 0x437507
call fcn.004220d8
mov edi, ecx
cmp byte [edi + 0x38], 0
je 0x41051e
push 0x7f02
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [edi + 0x24]
lea eax, [ebp - 0x1d0]
push eax
call fcn.0040a94a
push str..exe
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 4], esi
call fcn.0040174a
mov dword [ebp - 0x1ec], esi
mov dword [ebp - 0x1e8], esi
mov dword [ebp - 0x1e4], esi
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0xa4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 2
jne 0x410508
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x1d8], eax
cmp eax, 0xffffffff
jne 0x41044b
lea ecx, [ebp - 0x1ec]
call fcn.00415994
lea ecx, [ebp - 0x1d0]
call fcn.0040147e
jmp 0x41052c
lea ecx, [ebp - 0x1cc]
push ecx
push eax
mov dword [ebp - 0x1cc], 0x128
call sub.KERNEL32.dll_Process32First
jmp 0x4104f9
push dword [ebp - 0x1c4]
push esi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1dc], eax
cmp eax, esi
je 0x4104e7
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.00401d7c
push dword [ebp - 0x1d0]
mov byte [ebp - 4], 2
push dword [ebp - 0x1d4]
call fcn.0042251a
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
pop ecx
pop ecx
je 0x4104c8
push esi
push 0x3e7
push 0x10
push dword [ebp - 0x1c4]
mov ecx, edi
call fcn.00410310
push dword [ebp - 0x1dc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1d4]
test bl, bl
jne 0x410503
mov byte [ebp - 4], 1
call fcn.0040147e
lea eax, [ebp - 0x1cc]
push eax
push dword [ebp - 0x1d8]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x410467
jmp 0x410508
call fcn.0040147e
lea ecx, [ebp - 0x1ec]
call fcn.00415994
lea ecx, [ebp - 0x1d0]
call fcn.0040147e
movzx eax, word [ebp + 0xc]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
call fcn.0042215b
ret 0x10
Function at 0x4114d9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x44af80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0xfc
lea eax, [ebp - 0x104]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x104]
push eax
call fcn.00421060
cmp byte [ebp + eax - 0x105], 0x2a
pop ecx
je 0x411543
push 0x43c4e0
lea eax, [ebp - 0x104]
push 0xff
push eax
call fcn.00421c0f
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00421c7c
leave
ret

Function at 0x4115bf
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0x10]
cmp ecx, 1
je 0x4115d2
cmp ecx, 2
jne 0x411646
mov eax, dword [eax + 0x14]
cmp eax, 3
je 0x411646
push edi
cmp eax, 1
jne 0x4115e8
lea edi, [esi + 0x90]
jmp 0x4115f3
cmp eax, 2
jne 0x411606
lea edi, [esi + 0x94]
push edi
call fcn.004114d9
mov edi, dword [edi]
pop ecx
push 0
push edi
mov ecx, esi
call fcn.00413436
mov eax, dword [esi + 0x54]
cmp dword [eax + 0x10], 1
jne 0x411626
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x60]
call edi
push 0
push dword [esi + 0x9c]
call edi
mov eax, dword [esi + 0x54]
push 3
pop edi
mov dword [eax + 0x24], edi
mov ecx, dword [esi + 0x54]
call fcn.0040a9be
push edi
lea ecx, [esi + 4]
call fcn.0040e891
xor eax, eax
pop edi
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x413a28
Capabilities:
Hide graphical window

Disassembly:
push 0x10
mov eax, 0x437936
call fcn.0042206f
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [esi + 4]
call fcn.004132ac
mov ecx, dword [esi + 0x24]
lea eax, [ebp - 0x18]
push eax
call fcn.0040a94a
push dword [eax]
lea eax, [ebp - 0x14]
push ebx
push 0xf8b4
push eax
mov dword [ebp - 4], ebx
call fcn.0041d194
add esp, 0x10
push dword [eax]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00401d7c
lea ecx, [ebp - 0x14]
call fcn.0040147e
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0040147e
push dword [ebp - 0x10]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [0x44c2fc]
lea ecx, [ebp - 0x1c]
call fcn.0040144c
push eax
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0x30]
mov byte [ebp - 4], 5
call fcn.0041517f
push dword [ebp - 0x1c]
mov byte [ebp - 4], 4
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esi + 0x24]
call fcn.0040b539
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ea
push dword [esi + 4]
mov dword [esi + 0x20], eax
call ebx
mov ecx, esi
mov dword [esi + 0x28], eax
call fcn.004134a8
push 0x3fd
push dword [esi + 4]
call ebx
push 0x440
push dword [esi + 4]
mov dword [esi + 0x2c], eax
call ebx
push 0
push eax
mov dword [esi + 0x30], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x441
push dword [esi + 4]
call ebx
push 0
push eax
mov dword [esi + 0x34], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.004135dd
lea ecx, [ebp - 0x10]
call fcn.0040147e
xor eax, eax
call fcn.00422147
ret 0x10
Function at 0x415860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
call fcn.00414817
lea edi, [esi + 0x28]
push edi
mov dword [ebp + 0xc], edi
call fcn.0042270a
pop ecx
push dword [ebp + 0x14]
mov ecx, esi
movzx ebx, ax
call fcn.0041e85e
xor eax, eax
cmp ax, bx
jae 0x4158c2
mov dword [ebp + 0x10], ebx
movzx eax, word [edi]
mov cx, word [esi + 0x1ac8]
xor cx, ax
movzx ebx, cx
push eax
mov ecx, esi
call fcn.0041e522
mov word [edi], bx
add edi, 2
dec dword [ebp + 0x10]
jne 0x41589c
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x4158d4
mov ecx, dword [ebp + 8]
and dword [ecx], edi
pop edi
pop esi
mov eax, ecx
pop ebx
leave
ret 0x10
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
jne 0x4158cb
push 0x8007000e
call fcn.00401000
int3

Function at 0x4158ef
Capabilities:
Encode data using xor

Disassembly:
push 4
mov eax, 0x4395da
call fcn.0042206f
mov esi, ecx
and dword [ebp - 0x10], 0
and dword [ebp - 4], 0
push ecx
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.004143d2
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00414e05
push dword [ebp + 0x14]
mov ecx, esi
call fcn.0041e85e
lea edi, [esi + 0x28]
mov dword [ebp + 0x14], edi
mov dword [ebp + 0xc], 5
movzx eax, word [edi]
mov cx, word [esi + 0x1ac8]
xor cx, ax
movzx ebx, cx
push eax
mov ecx, esi
call fcn.0041e522
mov word [edi], bx
add edi, 2
dec dword [ebp + 0xc]
jne 0x415935
cmp dword [ebp + 0x14], 0
jne 0x415977
mov esi, dword [ebp + 8]
and dword [esi], 0
push dword [ebp + 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
call fcn.00422147
ret 0x10
push dword [ebp + 0x14]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, dword [ebp + 8]
mov dword [esi], eax
test eax, eax
jne 0x415964
push 0x8007000e
call fcn.00401000
int3
Function at 0x4170e8
Capabilities:
Get disk information

Disassembly:
push 0x24
mov eax, 0x437f8b
call fcn.004220d8
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
jne 0x417104
xor eax, eax
jmp 0x4171be
push str.CApplicationLicense::CalculateMachineInfo
lea ecx, [ebp - 0x2c]
call fcn.00402035
movzx edi, byte [esi + 3]
movzx eax, byte [esi + 2]
shl edi, 8
add edi, eax
movzx eax, byte [esi + 5]
shl edi, 8
add edi, eax
movzx eax, byte [esi + 1]
add edi, eax
movzx eax, byte [esi + 4]
shl edi, 8
add edi, eax
movzx eax, byte [esi]
add edi, eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], ebx
jae 0x41714a
lea eax, [ebp - 0x2c]
push edi
push eax
push str._s___dwMACAddress__02lx_
call fcn.00402064
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push 0x43c940
mov dword [ebp - 0x30], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41717d
lea eax, [ebp - 0x2c]
push dword [ebp - 0x30]
push eax
push str._s___dwVolumeSerialNumber__02lx_
call fcn.00402064
or dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 0x10
jae 0x41719d
lea eax, [ebp - 0x2c]
push dword [ebp - 0x30]
push eax
push str._s___dwVolumeSerialNumber__02lx__converted
call fcn.00402064
mov esi, dword [ebp - 0x30]
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401836
mov eax, esi
call fcn.0042215b
ret 4
Function at 0x4174a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0x888
mov eax, 0x438043
call fcn.004220d8
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x88c], ebx
mov eax, ecx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x878], eax
mov dword [ebp - 0x890], esi
mov byte [esi], bl
mov eax, dword [eax + 0x1b74]
push eax
push eax
push eax
push str.c_03dc_03xc_04d
xor edi, edi
lea eax, [ebp - 0x74]
push 0x64
inc edi
push eax
mov dword [ebp - 0x88c], edi
call fcn.00421bf1
push 0x400
lea eax, [ebp - 0x874]
push ebx
push eax
call fcn.00422690
add esp, 0x24
mov dword [ebp - 0x888], 0x400
mov dword [ebp - 0x87c], ebx
lea eax, [ebp - 0x884]
push eax
push 0xf003f
push ebx
push str.SYSTEMCurrentControlSetControlLockGUID
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
jne 0x4176d6
lea eax, [ebp - 0x888]
push eax
lea eax, [ebp - 0x874]
push eax
push ebx
push ebx
push str.GUID
push dword [ebp - 0x884]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x880]
call fcn.0040144c
push ecx
lea eax, [ebp - 0x874]
mov ecx, esp
mov dword [ebp - 0x894], esp
push eax
mov byte [ebp - 4], 2
call fcn.0040144c
lea eax, [ebp - 0x880]
push eax
call fcn.00415f94
pop ecx
pop ecx
mov ecx, dword [ebp - 0x878]
lea eax, [ebp - 0x880]
push eax
lea eax, [ebp - 0x878]
push eax
call fcn.00414cf1
push eax
lea ecx, [ebp - 0x87c]
call fcn.0041471e
push dword [ebp - 0x878]
call edi
cmp dword [ebp - 0x87c], ebx
je 0x4175e9
push dword [ebp - 0x87c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4175f1
mov dword [ebp - 0x878], ebx
jmp 0x41761a
add eax, eax
mov dword [ebp - 0x878], eax
call fcn.004230b0
mov eax, esp
push 3
push dword [ebp - 0x878]
push dword [ebp - 0x87c]
push eax
call fcn.0040590f
mov dword [ebp - 0x878], eax
push dword [ebp - 0x878]
call fcn.00421060
pop ecx
push eax
push dword [ebp - 0x878]
mov ecx, esi
call fcn.00401c4a
lea eax, [ebp - 0x87c]
push eax
call fcn.00415c2d
pop ecx
cmp dword [ebp - 0x87c], ebx
je 0x41765d
push dword [ebp - 0x87c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x417661
xor eax, eax
jmp 0x417684
add eax, eax
mov dword [ebp - 0x878], eax
call fcn.004230b0
mov eax, esp
push 3
push dword [ebp - 0x878]
push dword [ebp - 0x87c]
push eax
call fcn.0040590f
push eax
lea eax, [ebp - 0x474]
push 0x400
push eax
call fcn.0042262c
lea eax, [ebp - 0x474]
push eax
call fcn.00421060
add esp, 0x10
inc eax
push eax
lea eax, [ebp - 0x474]
push eax
push 2
push ebx
push str.BASKET
push dword [ebp - 0x884]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x884]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x880]
call edi
push dword [ebp - 0x87c]
call edi
mov eax, esi
lea esp, [ebp - 0x8a4]
call fcn.0042215b
ret 4
Function at 0x41ce55
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x44af80]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x44c758], 0
push esi
mov esi, 0x44c758
jne 0x41ceef
push edi
push esi
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x41ce98
push str.c:_temp_
push edi
push esi
call fcn.0042262c
add esp, 0xc
push 0x43b558
push edi
push esi
call fcn.00421c0f
push 0x140
lea eax, [ebp - 0x144]
push 0
push eax
call fcn.00422690
add esp, 0x18
lea eax, [ebp - 0x144]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x41ced8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x41cedf
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x43c3a8
push edi
push esi
call fcn.00421c0f
add esp, 0xc
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00421c7c
leave
ret

Function at 0x41cefe
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x44af80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov esi, 0x44cb78
cmp byte [0x44cb78], bl
jne 0x41cf9c
push edi
push esi
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov edi, 0x104
test eax, eax
jns 0x41cf47
push str.c:ClaricomData
push edi
push esi
call fcn.0042262c
add esp, 0xc
push str.Claricom
push edi
push esi
call fcn.00421c0f
push 0x140
lea eax, [ebp - 0x144]
push ebx
push eax
call fcn.00422690
add esp, 0x18
lea eax, [ebp - 0x144]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x41cf85
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x41cf8c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x43c3a8
push edi
push esi
call fcn.00421c0f
add esp, 0xc
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421c7c
leave
ret

Function at 0x41dd3f
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x44af80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x194]
mov esi, ecx
push eax
push 2
mov dword [esi], vtable.CEthernetHelper.0
mov dword [esi + 4], 1
call dword [sym.imp.WSOCK32.dll_WSAStartup]
mov ecx, dword [ebp - 4]
mov dword [esi + 4], eax
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00421c7c
leave
ret