joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1015b39
Capabilities:
Persist via run registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x102e0fc]
push esi
mov esi, dword [ebp + 0xc]
mov edx, dword [esi]
push edi
xor ecx, ecx
xor edi, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
inc edi
cmp eax, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], edi
jne 0x1015b84
xor eax, eax
jmp 0x1015cc1
push ebx
lea eax, [ebp - 0x138]
push eax
push edi
push ecx
push 0x1005d28
mov ebx, 0x80000001
push ebx
call fcn.0102b456
test eax, eax
jne 0x1015c1e
push 0x96
lea eax, [ebp - 0x130]
push eax
push 0x9d
push dword [0x102efb0]
call fcn.0102ae77
test eax, eax
je 0x1015c05
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 0x144]
lea eax, [ebp - 0x13c]
push eax
push 0
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x138]
call fcn.0102b674
test eax, eax
jne 0x1015bfe
cmp dword [ebp - 0x13c], edi
jne 0x1015bfe
mov dword [ebp - 0x134], edi
jmp 0x1015c05
and dword [ebp - 0x134], 0
push dword [ebp - 0x138]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x134], 0
jne 0x1015cb2
mov eax, dword [esi]
cmp eax, 0x208
mov dword [ebp - 0x140], eax
jb 0x1015cb2
lea eax, [ebp - 0x138]
push eax
push edi
push 0
push 0x10028f8
push ebx
call fcn.0102b456
test eax, eax
jne 0x1015cb2
mov ebx, dword [ebp - 0x144]
lea eax, [ebp - 0x140]
push eax
push ebx
lea eax, [ebp - 0x13c]
push eax
push 0
push 0x1005d14
push dword [ebp - 0x138]
call fcn.0102b674
test eax, eax
jne 0x1015ccf
cmp dword [ebp - 0x13c], edi
jne 0x1015ccf
push ebx
mov dword [ebp - 0x134], edi
call fcn.0101690b
push ebx
call dword [sym.imp.msvcrt.dll_wcslen]
mov ecx, dword [esi]
shr ecx, 1
sub ecx, eax
push ecx
push 0x1005cc0
push ebx
call dword [sym.imp.msvcrt.dll_wcsncat]
add esp, 0x10
push dword [ebp - 0x138]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x140]
mov dword [esi], eax
mov eax, dword [ebp - 0x134]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01016306
leave
ret 8
and dword [ebp - 0x134], 0
jmp 0x1015ca6

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x102e0fc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
xor eax, eax
test ecx, ecx
je 0x1016c97
push 0x103
push ecx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0xc
push 0x5c
lea eax, [ebp - 0x108]
push eax
call fcn.0101699c
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1016c95
test al, 0x10
je 0x1016c95
xor eax, eax
inc eax
jmp 0x1016c97
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.01016306
leave
ret 4
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x18b348dd
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xbf07395
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4079a0
Capabilities:
Create thread
Hide graphical window

Disassembly:
sub esp, 0x48
push ebx
push esi
push edi
mov esi, eax
call fcn.00407bf0
push 4
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push 0x7f00
push 0
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f04
push 0
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x14]
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], 0x407b70
mov dword [esp + 0x50], 0x41d0ac
mov dword [esp + 0x4c], 0
mov dword [esp + 0x2c], 0xb
call dword [sym.imp.USER32.dll_RegisterClassW]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
push 0
push edx
mov edx, dword [esp + 0x54]
push 0
push 0
push eax
push ecx
push 0
push 0
push 0x800a0000
push 0
push edx
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0xffffffffffffffec
push eax
mov dword [esi + 0x18], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
jne 0x407a6f
or eax, 0x80000
push eax
mov eax, dword [esi + 0x18]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
call fcn.00407b00
mov ecx, dword [esi + 0x18]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x18]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 0x18]
push 0
push 0
push eax
push 0x408390
push 0
push 0
call fcn.00409d42
mov ecx, dword [esi + 0x18]
add esp, 0x18
call fcn.00407cb0
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
call esi
test eax, eax
je 0x407aef
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
mov edi, edi
lea edx, [esp + 0xc]
push edx
call edi
lea eax, [esp + 0xc]
push eax
call ebx
push 0
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
call esi
test eax, eax
jne 0x407ad0
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
add esp, 0x48
ret
Function at 0x407bf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x41d0cc
mov edi, eax
push 0x66
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x407caa
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x407ca9
push ebp
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push ebx
push eax
call fcn.0040c1b0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebp, dword [esp + 0x10]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x407c86
lea eax, [esi + 4]
push eax
push ebp
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x407c88
xor esi, esi
push edi
mov dword [0x4221e8], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
pop esi
pop edi
pop ebx
pop ecx
ret
Function at 0x408450
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x43c
mov eax, dword [0x4202b0]
xor eax, esp
mov dword [esp + 0x438], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0xff
lea ecx, [esp + 0x244]
push ecx
push 0x67
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_LoadStringW]
push 4
call fcn.00409bdc
xor esi, esi
add esp, 4
cmp eax, esi
je 0x4084a7
lea edx, [esp + 0x240]
mov dword [eax], edx
mov ebx, eax
jmp 0x4084a9
xor ebx, ebx
push 0x206
lea ecx, [esp + 0x3e]
xor eax, eax
push esi
push ecx
mov word [esp + 0x44], ax
call fcn.004104c0
add esp, 0xc
lea edi, [esp + 0x38]
call fcn.004088f0
cmp eax, esi
je 0x4084e3
mov edx, edi
push edx
call fcn.004085a0
movzx eax, al
cmp eax, esi
jne 0x408577
push 0x41d0f8
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x422240], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x408577
push esi
push esi
push ebx
push 0x4083f0
push esi
push esi
call fcn.00409d42
mov eax, dword [esp + 0x24]
add esp, 0x18
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, 0xc8
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [0x422258], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call sub.gdiplus.dll_GdiplusStartup
lea eax, [esp + 0x10]
call fcn.004079a0
mov eax, dword [0x422244]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x20]
push ecx
call sub.gdiplus.dll_GdiplusShutdown
jmp 0x408581
push ebx
lea ebx, [esp + 0x3c]
call fcn.00408e50
mov ecx, dword [esp + 0x444]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00409129
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4086f0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
sub esp, 0x40c
mov eax, dword [0x4202b0]
xor eax, esp
mov dword [esp + 0x408], eax
push esi
push edi
push 0
push 0
push 0
push 0
push str.Mozilla_4.0__compatible__MSIE_6.0__
mov esi, ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [esp + 0xc], edi
test edi, edi
je 0x4087d0
push ebp
push 0
push 0x80000000
push 0
push 0
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebp, eax
test ebp, ebp
je 0x4087c8
push esi
push str._s_n
call fcn.00409df2
push 0x3ff
lea eax, [esp + 0x21]
push 0
push eax
mov byte [esp + 0x28], 0
call fcn.004104c0
add esp, 0x14
mov byte [ebx], 0
mov dword [esp + 0xc], 1
lea ecx, [esp + 0xc]
push ecx
push 0x3ff
lea edx, [esp + 0x1c]
push edx
push ebp
call dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [esp + 0x14]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x408792
mov edi, ebx
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4087a0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp dword [esp + 0xc], 0
rep movsb byte es:[edi], byte [esi]
ja 0x408776
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop ebp
mov ecx, dword [esp + 0x410]
pop edi
pop esi
xor ecx, esp
call fcn.00409129
add esp, 0x40c
ret

Function at 0x4087f0
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
sub esp, 0x408
mov eax, dword [0x4202b0]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
push ebp
push esi
push 0
push 0
push 0
push 0
push str.RookIE_1.0
mov esi, ecx
mov ebx, edx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
test ebp, ebp
je 0x4088d6
push edi
push 0
push 0x4000000
push 0
push 0
push esi
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
je 0x4088ce
push esi
push str._s_n
call fcn.00409df2
add esp, 8
mov dword [esp + 0x10], 1
test ebx, ebx
je 0x408868
push ebx
call fcn.00408610
jmp 0x40886a
xor eax, eax
push 0x41d198
push eax
call fcn.00409f7b
mov esi, eax
add esp, 8
test esi, esi
je 0x4088c7
cmp dword [esp + 0x10], 0
jbe 0x4088be
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x408890
lea eax, [esp + 0x10]
push eax
push 0x3ff
lea ecx, [esp + 0x1c]
push ecx
push edi
call ebx
mov edx, dword [esp + 0x10]
push esi
push edx
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.0040a0f4
add esp, 0x10
cmp dword [esp + 0x10], 0
ja 0x408890
push esi
call fcn.0040a1ed
add esp, 4
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
mov ecx, dword [esp + 0x410]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00409129
add esp, 0x408
ret
Function at 0x4088f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x4202b0]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov dword [esp + 0x14], 0x104
mov word [esp + 0x1c], ax
call fcn.004104c0
add esp, 0xc
lea edx, [esp + 4]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsNaiTangMini.exe
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0x41d228
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 4]
mov esi, eax
neg esi
sbb esi, esi
push ecx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
je 0x4089a9
lea eax, [esp + 0xc]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x408980
mov eax, 1
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00409129
add esp, 0x218
ret
mov ecx, dword [esp + 0x214]
xor ecx, esp
xor eax, eax
call fcn.00409129
add esp, 0x218
ret
Function at 0x408e50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x58
push esi
push edi
push ebx
call fcn.004085a0
test al, al
je 0x408f55
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004104c0
mov ecx, 5
mov eax, ebx
add esp, 0xc
mov dword [esp + 0x18], 0x44
mov dword [esp + 0x44], 1
mov word [esp + 0x48], cx
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x408e93
mov edx, dword [0x41d29c]
mov dword [eax], edx
mov cx, word [0x41d2a0]
mov edx, dword [esp + 0x64]
mov word [eax + 4], cx
mov eax, dword [edx]
mov edx, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408ec0
mov edi, ebx
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x408ed2
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x408ef3
mov eax, dword [0x41d2a4]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [esp + 0x64], 0xffffffff
test eax, eax
je 0x408f55
mov ecx, dword [esp + 8]
lea eax, [esp + 0x64]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
pop edi
pop esi
add esp, 0x58
ret 4

Function at 0x409129
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4202b0]
jne 0x409133
repz ret
jmp fcn.0040c646
Function at 0x4145f2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040fe36
and dword [ebp - 4], 0
cmp dword [0x4220d0], 0
mov ebx, eax
jne 0x4146a3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x414754
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x414754
push eax
call fcn.0040fdc4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4220d0], eax
call esi
push eax
call fcn.0040fdc4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4220d4], eax
call esi
push eax
call fcn.0040fdc4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4220d8], eax
call esi
push eax
call fcn.0040fdc4
pop ecx
mov dword [0x4220e0], eax
test eax, eax
je 0x4146a3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040fdc4
pop ecx
mov dword [0x4220dc], eax
mov eax, dword [0x4220dc]
cmp eax, ebx
je 0x4146fb
cmp dword [0x4220e0], ebx
je 0x4146fb
push eax
call fcn.0040fe3f
push dword [0x4220e0]
mov esi, eax
call fcn.0040fe3f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4146fb
test edi, edi
je 0x4146fb
call esi
test eax, eax
je 0x4146f2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4146f2
test byte [ebp - 0xc], 1
jne 0x4146fb
or dword [ebp + 0x10], 0x200000
jmp 0x414734
mov eax, dword [0x4220d4]
cmp eax, ebx
je 0x414734
push eax
call fcn.0040fe3f
pop ecx
test eax, eax
je 0x414734
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x414734
mov eax, dword [0x4220d8]
cmp eax, ebx
je 0x414734
push eax
call fcn.0040fe3f
pop ecx
test eax, eax
je 0x414734
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4220d0]
call fcn.0040fe3f
pop ecx
test eax, eax
je 0x414754
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x414756
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40128a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x44af80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
push edi
push eax
mov ebx, 0x43b4dc
push ebx
push 0x17
push 0
mov edi, 0x43b684
push edi
mov dword [ebp - 0x218], eax
call esi
mov dword [ebp - 0x214], eax
test eax, eax
js 0x4012db
mov eax, dword [ebp - 0x218]
cmp dword [eax], 0
jne 0x4013c4
push 0x105
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x4013c4
push str.MSXML3.DLL
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.00421c0f
and dword [ebp - 0x210], 0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x401366
push 0x43b664
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40134e
call eax
test eax, eax
jns 0x401358
mov dword [ebp - 0x210], 3
jmp 0x401358
mov dword [ebp - 0x210], 2
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x401370
mov dword [ebp - 0x210], 1
cmp dword [ebp - 0x210], 0
je 0x4013b0
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push str.CLARiSOFT_CLARiNET_has_not_been_installed_correctly.__failed_to_create_MSXML.dll___d___n_CLARiSOFT_CLARiNET_can_still_run_but_parameter_names_and_values_will_be_displayed_incorrectly._nInstalling_Internet_Explorer_5.0_or_later_will_solve_this_problem.
push 0x100
push eax
call fcn.00421bf1
add esp, 0x10
push 0
push 0x43b558
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4013c4
push dword [ebp - 0x218]
push ebx
push 0x17
push 0
push edi
call esi
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x214]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421c7c
leave
ret

Function at 0x402c79
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x44af80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x63
lea eax, [ebp - 0x67]
push ebx
push eax
mov byte [ebp - 0x68], bl
call fcn.00422690
push dword [esi]
lea eax, [ebp - 0x68]
push 0x64
push eax
call fcn.0042262c
add esp, 0x18
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareClaricom_LtdLanguageName
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x402d02
lea eax, [ebp - 0x68]
push eax
call fcn.00421060
pop ecx
inc eax
push eax
lea eax, [ebp - 0x68]
push eax
push 1
push ebx
push 0x43b7c4
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x402d04
xor al, al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00421c7c
leave
ret
Function at 0x4035e1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x7c
mov eax, 0x436508
call fcn.004220d8
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x7c], eax
mov eax, dword [0x44a014]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x80]
push eax
push 0x20019
push ebx
mov edi, str.SoftwareClaricom_LtdLanguageName
push edi
mov esi, SysReAllocStringLen
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40367f
push 0x63
lea eax, [ebp - 0x73]
push ebx
push eax
mov byte [ebp - 0x74], bl
call fcn.00422690
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x84]
push eax
push ebx
push 0x43b7c4
push dword [ebp - 0x80]
mov dword [ebp - 0x88], 0x64
mov dword [ebp - 0x84], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40369f
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x78]
call fcn.00401adf
jmp 0x40369f
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4036a8
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x78]
cmp dword [eax - 8], ebx
jne 0x4036bb
push dword [ebp - 0x7c]
call fcn.00403460
pop ecx
jmp 0x4036c7
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
call fcn.00403361
lea ecx, [ebp - 0x78]
call fcn.0040147e
mov eax, dword [ebp - 0x7c]
call fcn.0042215b
ret

Function at 0x404bc7
Capabilities:
Print debug messages

Disassembly:
push 0x530
mov eax, 0x436913
call fcn.0042210e
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [0x44c750], bl
je 0x404c99
cmp dword [ebp + 8], ebx
je 0x404c99
cmp dword [ebp + 0xc], ebx
ja 0x404c99
lea eax, [ebp - 0x484]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x478]
push eax
movzx eax, word [ebp - 0x47a]
push eax
movzx eax, word [ebp - 0x47c]
push eax
push str._02d:_02d:_02d__
lea eax, [ebp - 0x460]
push 0xc
push eax
call fcn.00421bf1
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x454]
push 0x3ff
push 0x400
push eax
call fcn.004223c3
add esp, 0x2c
lea eax, [ebp - 0x524]
push eax
mov dword [ebp - 0x524], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x514], 2
jne 0x404c9f
cmp dword [ebp - 0x520], 3
jb 0x404c9f
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.ATL:
call esi
lea eax, [ebp - 0x460]
push eax
call esi
lea eax, [ebp - 0x454]
push eax
call esi
call fcn.0042216a
ret
push ecx
mov ecx, esp
mov dword [ebp - 0x530], esp
push str.ATL:
call fcn.00401d7c
call fcn.00404429
lea eax, [ebp - 0x460]
mov ecx, esp
mov dword [ebp - 0x530], esp
push eax
call fcn.00401d7c
call fcn.00404429
lea eax, [ebp - 0x454]
mov ecx, esp
mov dword [ebp - 0x530], esp
push eax
call fcn.00401d7c
call fcn.00404429
pop ecx
jmp 0x404c99