joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4072de
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x43b690]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0x114
mov eax, 0x42b294
call fcn.00413ea5
mov eax, dword [ebp + 0x230]
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x14], esi
push esi
lea ecx, [ebp]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp + 0x18], 7
call fcn.004034fd
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
xor eax, eax
push 0x206
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push esi
push eax
call fcn.00415aa0
add esp, 0xc
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
jne 0x407378
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.00405a78
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0
push esi
push ebx
lea ecx, [ebp]
call fcn.00404665
mov eax, edi
jmp 0x4074ba
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x407400
lea ecx, [ebp - 0x18]
push ecx
push esi
push esi
push 0x432d28
mov dword [ebp - 0x18], esi
call eax
cmp eax, esi
jge 0x4073a9
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.00405a78
jmp 0x407360
push dword [ebp - 0x18]
lea eax, [ebp - 0x11c]
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x120], eax
call fcn.004040a9
mov byte [ebp - 4], 2
push dword [ebp - 0x120]
lea eax, [ebp + 0x1c]
push eax
call fcn.00416859
pop ecx
pop ecx
mov byte [ebp - 4], bl
lea eax, [ebp - 0x11c]
cmp dword [ebp - 0x120], eax
je 0x4073f5
push dword [ebp - 0x120]
call fcn.004162a8
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x40740f
lea eax, [ebp + 0x1c]
push eax
push esi
push esi
push 0x23
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.Thunder_Network_
lea eax, [ebp + 0x1c]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [ebp + 0x1c]
push eax
call edi
cmp eax, 0xffffffff
je 0x40743f
test al, 0x10
jne 0x40744f
push 0
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x407499
push str.XMP4_
lea eax, [ebp + 0x1c]
push eax
call esi
lea eax, [ebp + 0x1c]
push eax
call edi
cmp eax, 0xffffffff
je 0x407469
test al, 0x10
jne 0x407479
push 0
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x407499
cmp dword [ebp - 0x1c], 0
je 0x40748d
push dword [ebp - 0x1c]
lea eax, [ebp + 0x1c]
push eax
call fcn.0041682b
pop ecx
pop ecx
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00405cb6
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.00405a78
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0
push 0
push ebx
lea ecx, [ebp]
call fcn.00404665
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.00413e96
add ebp, 0x228
leave
ret
Function at 0x4074dd
Capabilities:
Accept command line arguments

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00416800
push 0xffffffffffffffff
push 0x42b2c7
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x43b690]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x100c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
xor edi, edi
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x1c], eax
xor eax, eax
inc eax
cmp dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
jle 0x407604
mov esi, 0x7fe
xor eax, eax
push esi
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00415aa0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
push dword [eax + ecx*4]
lea eax, [ebp]
push eax
call fcn.00416859
lea eax, [ebp]
push eax
call fcn.00416ae4
xor eax, eax
push esi
mov word [ebp + 0x800], ax
lea eax, [ebp + 0x802]
push edi
push eax
call fcn.00415aa0
push dword [ebp - 0x20]
lea eax, [ebp + 0x800]
push eax
call fcn.00416859
lea eax, [ebp + 0x800]
push eax
call fcn.00416ae4
add esp, 0x30
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00406082
mov dword [ebp - 4], edi
lea ecx, [ebp + 0x800]
push ecx
mov ecx, eax
call fcn.004043b3
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x3c]
call fcn.00404665
test bl, bl
jne 0x4075fd
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jl 0x407553
jmp 0x407604
mov dword [ebp - 0x18], 1
push dword [ebp - 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.00413e96
add ebp, 0x1004
leave
ret
Function at 0x40b459
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [0x43e89c]
push ebp
push esi
mov esi, ecx
test eax, eax
je 0x40b46d
xor eax, eax
jmp 0x40b52e
mov eax, dword [esi + 0x24]
push ebx
or ebx, 0xffffffff
push edi
cmp eax, ebx
jne 0x40b4d0
push 0x11f
push 0
push str.C:TSLOG_CONFIG_
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov dword [esi + 0x24], eax
cmp eax, ebx
je 0x40b529
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, str.C:TSLOG_CONFIGTSLOG.ini
push ebp
call edi
cmp eax, ebx
jne 0x40b4c5
mov ebx, str.C:TSLOG_CONFIGTSLOG.txt
push ebx
call edi
cmp eax, 0xffffffff
jne 0x40b4c5
push ebp
call edi
cmp eax, 0xffffffff
jne 0x40b4c5
push ebx
call edi
cmp eax, 0xffffffff
je 0x40b4f9
push 0
mov ecx, esi
call fcn.0040a719
jmp 0x40b529
xor edi, edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, edi
je 0x40b4fd
cmp eax, 0x102
je 0x40b4f9
push 0x11f
push edi
push str.C:TSLOG_CONFIG_
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov dword [esi + 0x24], eax
xor eax, eax
jmp 0x40b52c
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
push edi
mov ecx, esi
mov dword [esi + 0x24], ebx
call fcn.0040a719
test eax, eax
je 0x40b529
push 0x11f
push edi
push str.C:TSLOG_CONFIG_
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov dword [esi + 0x24], eax
xor eax, eax
inc eax
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x40d20c
Capabilities:
Print debug messages

Disassembly:
push ebp
sub esp, 0x41c
lea ebp, [esp - 4]
mov eax, dword [0x43b690]
xor eax, ebp
mov dword [ebp + 0x41c], eax
push 0xa8
mov eax, 0x42b943
call fcn.00413ea5
mov edi, ecx
mov eax, dword [edi + 4]
mov ecx, dword [0x43e898]
lea eax, [eax + ecx*2]
push eax
push 0x430dd0
push str._s_s
lea eax, [ebp + 0x1c]
push 0xff
push eax
call fcn.004157dd
xor esi, esi
add esp, 0x14
cmp dword [0x43cc08], esi
jne 0x40d3b2
xor eax, eax
push 0x1fe
mov word [ebp + 0x21c], ax
lea eax, [ebp + 0x21e]
push esi
push eax
call fcn.00415aa0
add esp, 0xc
call fcn.00401880
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x430da4
lea eax, [ebp + 0x21c]
push 0x100
push eax
call fcn.004157dd
add esp, 0x14
push 0x42ef00
lea ecx, [ebp - 0x44]
call fcn.00406082
mov edi, eax
mov dword [ebp - 4], esi
lea eax, [ebp + 0x21c]
push eax
lea ecx, [ebp - 0x98]
call fcn.00406082
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00405d84
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x1c]
push ecx
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00406711
mov byte [ebp - 4], 3
push 0x4306cc
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00406711
mov byte [ebp - 4], 4
push 0x4306a0
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00406711
mov byte [ebp - 4], 5
push 0x43069c
push eax
lea eax, [ebp]
push eax
call fcn.00406711
add esp, 0x3c
mov byte [ebp - 4], 7
push esi
push ebx
lea ecx, [ebp - 0x60]
call fcn.00404665
mov byte [ebp - 4], 8
push esi
push ebx
lea ecx, [ebp - 0x7c]
call fcn.00404665
mov byte [ebp - 4], 9
push esi
push ebx
lea ecx, [ebp - 0xb4]
call fcn.00404665
mov byte [ebp - 4], 0xa
push esi
push ebx
lea ecx, [ebp - 0x28]
call fcn.00404665
mov byte [ebp - 4], 0xb
push esi
push ebx
lea ecx, [ebp - 0x98]
call fcn.00404665
mov byte [ebp - 4], 0xc
push esi
push ebx
lea ecx, [ebp - 0x44]
call fcn.00404665
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x40d39b
lea eax, [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
or dword [ebp - 4], 0xffffffff
push esi
push ebx
lea ecx, [ebp]
call fcn.00404665
jmp 0x40d410
mov eax, dword [edi + 0x14]
cmp eax, esi
je 0x40d3f8
xor ecx, ecx
cmp dword [edi], esi
sete cl
push ecx
push eax
push dword [edi + 0xc]
call fcn.0040ca7d
add esp, 0xc
push 1
push esi
push esi
push eax
push esi
push dword [edi]
lea eax, [ebp + 0x1c]
push eax
call fcn.0040afdf
pop ecx
pop ecx
mov ecx, eax
call fcn.0040b531
mov eax, dword [0x43cc08]
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x40d410
push dword [edi + 8]
lea eax, [ebp + 0x1c]
push dword [edi]
push eax
call fcn.0040afdf
pop ecx
pop ecx
push eax
call fcn.0040ba02
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x41c]
xor ecx, ebp
call fcn.00413e96
add ebp, 0x420
leave
ret
Function at 0x40d86a
Capabilities:
Download url
Receive data

Disassembly:
push 0xc
push 0x437058
call fcn.004158b0
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call sub.urlmon.dll_URLDownloadToCacheFileW
xor ecx, ecx
test eax, eax
setge cl
mov dword [ebp - 0x1c], ecx
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40d8de
mov dword [ebp - 4], 0xfffffffe
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x1c]
call fcn.004158f5
ret
Function at 0x40dac8
Capabilities:
Check if file exists

Disassembly:
push 0x248
mov eax, 0x42b9c9
call fcn.00413f0e
xor ebx, ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x21c], ebp
xor edi, edi
inc edi
push edi
push dword [ebp - 0x21c]
push str.int___cdecl_ToolBox_XmpSetup::GetInstallType_void_
call fcn.0040ca7d
mov esi, eax
add esp, 0xc
mov eax, 0x431790
cmp esi, ebx
jne 0x40db09
mov esi, eax
push ebx
push ebx
push ebx
push ebx
push eax
push 0x431748
push esi
lea ecx, [ebp - 0x254]
call fcn.0040ba81
mov dword [ebp - 4], ebx
cmp esi, ebx
jne 0x40db28
push ebp
pop ebp
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], 0x104
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov byte [ebp - 4], 1
push 0x20019
push str.SOFTWAREThunder_NetworkXmp
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x22c]
call fcn.004031ee
mov esi, 0x4316c8
cmp eax, ebx
jne 0x40dba9
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
push str.Path
lea ecx, [ebp - 0x22c]
call fcn.00403267
cmp eax, ebx
jne 0x40dba9
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
jne 0x40dba9
mov dword [ebp - 0x224], edi
jmp 0x40dcd4
lea eax, [ebp - 0x220]
push eax
push str.lastuninstalltime
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x220], ebx
call fcn.0040322f
push esi
mov edi, eax
call fcn.004069f6
pop ecx
test eax, eax
jne 0x40dbfe
push 1
push dword [ebp - 0x220]
push str._XmpSetup_lastuninstalltime_
push ebx
push esi
call fcn.0040afdf
pop ecx
pop ecx
mov ecx, eax
call fcn.0040cf68
mov ecx, eax
call fcn.004013c8
mov ecx, eax
call fcn.0040ba50
cmp edi, ebx
jne 0x40dcd4
mov eax, dword [ebp - 0x220]
cmp eax, ebx
je 0x40dcd4
push ebx
mov dword [ebp - 0x234], eax
call fcn.00413743
push esi
mov edi, eax
mov dword [ebp - 0x238], edx
call fcn.004069f6
pop ecx
pop ecx
test eax, eax
jne 0x40dc5a
push 1
push edi
push str._XmpSetup_time_now_
push ebx
push esi
call fcn.0040afdf
pop ecx
pop ecx
mov ecx, eax
call fcn.0040cf68
mov ecx, eax
call fcn.0040134b
mov ecx, eax
call fcn.0040ba50
push esi
call fcn.004069f6
pop ecx
test eax, eax
jne 0x40dca5
push eax
push dword [ebp - 0x234]
push dword [ebp - 0x238]
push edi
call fcn.0041367c
add esp, 0x10
push 1
push ecx
push ecx
fstp qword [esp]
push 0x431648
push ebx
push esi
call fcn.0040afdf
pop ecx
pop ecx
mov ecx, eax
call fcn.0040cf68
mov ecx, eax
call fcn.00401445
mov ecx, eax
call fcn.0040ba50
xor eax, eax
push eax
push dword [ebp - 0x234]
push dword [ebp - 0x238]
push edi
call fcn.0041367c
fcomp qword [0x431640]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x40dcd4
mov dword [ebp - 0x224], 1
push esi
call fcn.004069f6
pop ecx
test eax, eax
jne 0x40dd0a
push 1
push dword [ebp - 0x224]
push str._XmpSetup_install_type_
push ebx
push esi
call fcn.0040afdf
pop ecx
pop ecx
mov ecx, eax
call fcn.0040cf68
mov ecx, eax
call fcn.00401251
mov ecx, eax
call fcn.0040ba50
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x22c]
call fcn.004031d3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.0040d20c
mov eax, dword [ebp - 0x224]
call fcn.00413f91
ret
Function at 0x40e78d
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push esi
call fcn.0040e3d6
cmp dword [esi + 0x18], 8
pop ecx
mov bl, al
jb 0x40e7a7
mov eax, dword [esi + 4]
jmp 0x40e7aa
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x40e7c6
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call fcn.0040e3d6
pop ecx
mov bl, al
pop esi
mov al, bl
pop ebx
ret

Function at 0x40e8ac
Capabilities:
Create thread

Disassembly:
push 0x10
mov eax, 0x42bb8f
call fcn.00413ea5
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
push 0x20019
push str.SOFTWAREThunder_NetworkXmp
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], esi
call fcn.004031ee
mov edi, dword [ebp + 8]
cmp eax, esi
jne 0x40e901
lea eax, [ebp - 0x10]
push eax
push str.lastuninstalltime
lea ecx, [ebp - 0x1c]
call fcn.0040322f
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x10]
mov dword [edi + 0x10], eax
cmp edi, esi
je 0x40e92c
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push 0x40d8f4
push esi
push esi
mov dword [edi], 0xc11
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004031d3
call fcn.00413f7d
ret

Function at 0x40f45a
Capabilities:
Accept command line arguments

Disassembly:
push 0x1c
mov eax, 0x42b9f9
call fcn.00413ea5
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x10], ebp
push ebx
push dword [ebp - 0x10]
push str.int___thiscall_CCmdlineParser::Parser_const_wchar_t__
call fcn.0040ca7d
mov edi, eax
add esp, 0xc
mov eax, 0x4321f8
cmp edi, ebx
jne 0x40f48e
mov edi, eax
push ebx
push ebx
push ebx
push esi
push eax
push 0x4321c8
push edi
lea ecx, [ebp - 0x28]
call fcn.0040ba81
mov dword [ebp - 4], ebx
cmp edi, ebx
jne 0x40f4aa
push ebp
pop ebp
mov ecx, esi
call fcn.0040dd33
mov edi, dword [ebp + 8]
cmp edi, ebx
jne 0x40f4c0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
push edi
call fcn.00414000
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041168c
pop ecx
pop ecx
mov dword [esi + 0x38], eax
cmp eax, ebx
jne 0x40f4fa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040d20c
xor eax, eax
call fcn.00413f7d
ret 4
cmp edi, ebx
je 0x40f502
push edi
push eax
jmp 0x40f50c
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push dword [esi + 0x38]
call fcn.00416859
pop ecx
pop ecx
mov ecx, esi
call fcn.0040ddb2
test eax, eax
jne 0x40f535
mov ecx, esi
call fcn.0040dd33
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040d20c
mov eax, ebx
jmp 0x40f4f2
xor ebx, ebx
inc ebx
jmp 0x40f525
Function at 0x40fb94
Capabilities:
Accept command line arguments

Disassembly:
push 0x20
mov eax, 0x42bce1
call fcn.00413ea5
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.004091b5
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 0x20]
call fcn.00408a04
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x10], ebp
push edi
push dword [ebp - 0x10]
push str.__thiscall_CCmdlineParser::CCmdlineParser_const_wchar_t__
call fcn.0040ca7d
mov ebx, eax
add esp, 0xc
mov eax, 0x432538
cmp ebx, edi
jne 0x40fbdf
mov ebx, eax
push edi
push edi
push edi
push esi
push eax
push 0x4324f8
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040ba81
mov byte [ebp - 4], 2
cmp ebx, edi
jne 0x40fbfc
push ebp
pop ebp
call fcn.004098e7
mov ecx, esi
call fcn.00405a9e
lea ecx, [esi + 0x20]
call fcn.00407a82
mov eax, dword [ebp + 8]
mov dword [esi + 0x38], edi
cmp eax, edi
jne 0x40fc20
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov ecx, esi
call fcn.0040f45a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040d20c
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00413f7d
ret 4
Function at 0x413e96
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43b690]
jne 0x413ea0
repz ret
jmp fcn.0041d68c

Function at 0x425e8a
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.0041d07f
and dword [ebp - 4], 0
cmp dword [0x43f488], 0
mov ebx, eax
jne 0x425f3b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x425fec
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x425fec
push eax
call fcn.0041d00d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43f488], eax
call esi
push eax
call fcn.0041d00d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43f48c], eax
call esi
push eax
call fcn.0041d00d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43f490], eax
call esi
push eax
call fcn.0041d00d
pop ecx
mov dword [0x43f498], eax
test eax, eax
je 0x425f3b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041d00d
pop ecx
mov dword [0x43f494], eax
mov eax, dword [0x43f494]
cmp eax, ebx
je 0x425f93
cmp dword [0x43f498], ebx
je 0x425f93
push eax
call fcn.0041d088
push dword [0x43f498]
mov esi, eax
call fcn.0041d088
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x425f93
test edi, edi
je 0x425f93
call esi
test eax, eax
je 0x425f8a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x425f8a
test byte [ebp - 0xc], 1
jne 0x425f93
or dword [ebp + 0x10], 0x200000
jmp 0x425fcc
mov eax, dword [0x43f48c]
cmp eax, ebx
je 0x425fcc
push eax
call fcn.0041d088
pop ecx
test eax, eax
je 0x425fcc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x425fcc
mov eax, dword [0x43f490]
cmp eax, ebx
je 0x425fcc
push eax
call fcn.0041d088
pop ecx
test eax, eax
je 0x425fcc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43f488]
call fcn.0041d088
pop ecx
test eax, eax
je 0x425fec
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x425fee
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x30424964
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x37ca5f54
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x1000137a
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x100013a3
push str.m_hKey___0
push 0
push 0x1460
push 0x10029838
push 2
call fcn.1000d400
add esp, 0x14
cmp eax, 1
jne 0x100013a3
int3
push dword [esp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop esi
ret 4

Function at 0x10001b47
Capabilities:
Delete registry value

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x10001b70
push str.m_hKey___0
push 0
push 0x1466
push 0x10029838
push 2
call fcn.1000d400
add esp, 0x14
cmp eax, 1
jne 0x10001b70
int3
push dword [esp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
pop esi
ret 4

Function at 0x10001bf6
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x10001c1f
push str.m_hKey___0
push 0
push 0x15dc
push 0x10029838
push 2
call fcn.1000d400
add esp, 0x14
cmp eax, 1
jne 0x10001c1f
int3
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret 8

Function at 0x10001c3a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi], ebx
mov esi, 0x10029838
jne 0x10001c69
push str.m_hKey___0
push ebx
push 0x15e8
push esi
push 2
call fcn.1000d400
add esp, 0x14
cmp eax, 1
jne 0x10001c69
int3
xor eax, eax
cmp dword [ebp + 0xc], ebx
setne al
cmp eax, ebx
jne 0x10001c9b
push 0x10029c20
push ebx
push 0x15e9
push esi
push 2
call fcn.1000d400
add esp, 0x14
cmp eax, 1
jne 0x10001c91
int3
push 0x80004005
call fcn.1000120c
cmp dword [ebp + 0x10], 1
je 0x10001cc3
cmp dword [ebp + 0x10], 2
je 0x10001cc3
push str._dwType____1______dwType____2___
push ebx
push 0x15ea
push esi
push 2
call fcn.1000d400
add esp, 0x14
cmp eax, 1
jne 0x10001cc3
int3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x10001ce7
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi], ebx
mov esi, 0x10029838
jne 0x10001d13
push str.m_hKey___0
push ebx
push 0x15f5
push esi
push 2
call fcn.1000d400
add esp, 0x14
cmp eax, 1
jne 0x10001d13
int3
xor eax, eax
cmp dword [esp + 0x14], ebx
setne al
cmp eax, ebx
jne 0x10001d46
push 0x10029c20
push ebx
push 0x15f6
push esi
push 2
call fcn.1000d400
add esp, 0x14
cmp eax, 1
jne 0x10001d3c
int3
push 0x80004005
call fcn.1000120c
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add ebx, eax
cmp eax, 1
jne 0x10001d4a
push ebx
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8