joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408d80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4292c0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x43b274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00401000
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401730
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x28]
call fcn.004011a0
push 0
lea ecx, [ebp - 0x28]
call fcn.00408ea0
push str._from10001
lea ecx, [ebp - 0x28]
call fcn.004016e0
movzx eax, al
test eax, eax
je 0x408e03
push 0x5e
push 0x6e6
call fcn.00404860
add esp, 8
push str.from
lea ecx, [ebp - 0x28]
call fcn.004016e0
movzx ecx, al
test ecx, ecx
je 0x408e26
push 0x5e
push 0x6e6
call fcn.00404860
add esp, 8
push 0x42d064
lea ecx, [ebp - 0x28]
call fcn.004016e0
movzx edx, al
test edx, edx
je 0x408e69
mov ecx, dword [ebp - 0x34]
call fcn.004093e0
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401120
mov eax, dword [ebp - 0x2c]
jmp 0x408e8e
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401120
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40fdd0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40fe41
push 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40fe37
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x40fe2d
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x412230
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429c71
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x43b274]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
lea eax, [ebp - 0x34]
push eax
call fcn.00409d50
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x44]
call fcn.004137d0
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00401800
push str.config.ini
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push 1
push str.shortcut
push str.sysopt
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
setne dl
mov byte [ebp - 0x35], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, byte [ebp - 0x35]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042279c
mov esp, ebp
pop ebp
ret
Function at 0x412520
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429d17
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x43b274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x228]
call fcn.00401730
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.00401730
mov byte [ebp - 4], 1
push 0
push 0x19
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4126cf
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x22c]
push edx
call fcn.00412720
add esp, 8
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x240], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00401820
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.00401800
lea ecx, [ebp - 0x220]
call fcn.00401860
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x230]
push ecx
call fcn.004127c0
add esp, 8
mov dword [ebp - 0x244], eax
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0x248], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x248]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.0040a6d0
add esp, 0xc
mov dword [ebp - 0x24c], eax
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x250], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x250]
push eax
lea ecx, [ebp - 0x228]
call fcn.00401820
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
call fcn.00401800
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00401800
push str..lnk
lea ecx, [ebp - 0x220]
push ecx
call fcn.00413860
add esp, 8
movzx edx, al
test edx, edx
je 0x41269d
push str..lnk
lea ecx, [ebp - 0x228]
call fcn.00413840
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x228]
call fcn.004137d0
push eax
call fcn.00412870
add esp, 0x1c
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.00401800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.00401800
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042279c
mov esp, ebp
pop ebp
ret

Function at 0x413010
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
push str.OnCopyData
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 4], 0
je 0x413052
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x413052
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0x8c]
call eax
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 1
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x413070
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
ja case.default.0x41308c
mov ecx, dword [ebp - 0x1c]
jmp dword [ecx*4 + 0x4131fc]
push 1
push 0
push 0
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.004135b0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.004137d0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 8]
call fcn.00401800
push 0x5e
push 0x6e9
call fcn.00404860
add esp, 8
jmp case.default.0x41308c
push 1
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x37c
call fcn.00412e90
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
call fcn.004137d0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xc]
call fcn.00401800
push 0x5e
push 0x6e3
call fcn.00404860
add esp, 8
jmp case.default.0x41308c
push 1
push 0
push str._scan:0_src:90
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x37c
call fcn.00412e50
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
call fcn.004137d0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x10]
call fcn.00401800
push 0x5e
push 0x6e4
call fcn.00404860
add esp, 8
jmp case.default.0x41308c
push 0x42d8dc
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4131c8
push 1
push 0
push str._rcmdsoft
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x37c
call fcn.00412ed0
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.004137d0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.00401800
jmp 0x4131e4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push 0
push 0x406
mov ecx, dword [ebp - 0x18]
call dword [sym.imp.duilib.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_]
push 0x5e
push 0x6e5
call fcn.00404860
add esp, 8
mov esp, ebp
pop ebp
ret 4
Function at 0x413210
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429e98
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x43b274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
push str.data_rcmdv2sp01_syshelper.ini
lea eax, [ebp - 0x30]
push eax
call fcn.00409d50
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x40]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.0040a6d0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401800
push 0
call fcn.004112a0
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x20]
call fcn.004137d0
push eax
push 0
push 0x42d93c
push str.data
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cdq
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
lea ecx, [ebp - 0x20]
call fcn.004137d0
push eax
push 0
push 0x42d928
push str.data
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cdq
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x14]
or ecx, dword [ebp - 0x10]
je 0x4132dc
mov edx, dword [ebp - 0x2c]
or edx, dword [ebp - 0x28]
jne 0x4132ed
mov byte [ebp - 0x31], 0
lea ecx, [ebp - 0x20]
call fcn.00401800
mov al, byte [ebp - 0x31]
jmp 0x413331
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jl 0x413322
jg 0x4132ff
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x14]
jb 0x413322
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x28]
jg 0x413322
jl 0x413311
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
ja 0x413322
mov byte [ebp - 0x32], 1
lea ecx, [ebp - 0x20]
call fcn.00401800
mov al, byte [ebp - 0x32]
jmp 0x413331
mov byte [ebp - 0x33], 0
lea ecx, [ebp - 0x20]
call fcn.00401800
mov al, byte [ebp - 0x33]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4134f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x43b274]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], 0
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
je 0x41358e
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x413581
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x41356a
mov dword [ebp - 0x240], 1
jmp 0x413581
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x413546
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042279c
mov esp, ebp
pop ebp
ret

Function at 0x4135b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429f1b
mov eax, dword fs:[0]
push eax
sub esp, 0x824
mov eax, dword [0x43b274]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x828], ecx
mov dword [ebp - 0x824], 0
push str.data_rcmdv2sp01_syshelper.ini
lea eax, [ebp - 0x820]
push eax
call fcn.00409d50
add esp, 4
mov dword [ebp - 0x82c], eax
mov ecx, dword [ebp - 0x82c]
mov dword [ebp - 0x830], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x830]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.0040a6d0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x820]
call fcn.00401800
mov word [ebp - 0x81c], 0
push 0x7fe
push 0
lea ecx, [ebp - 0x81a]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.004137d0
push eax
push 0x3ff
lea edx, [ebp - 0x81c]
push edx
push 0x42d108
push 0x42da3c
push str.data
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401750
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401d70
mov edx, dword [ebp - 0x824]
or edx, 1
mov dword [ebp - 0x824], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00401800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401800
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0042279c
mov esp, ebp
pop ebp
ret 4
Function at 0x416af0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a4ac
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x43b274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.boost::detail::thread_data_base.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.004077b0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.00416c90
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0040a840
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0040a840
mov byte [ebp - 4], 3
push 0
push 1
call fcn.00405ae0
add esp, 8
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.004077b0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x44], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x41a5b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x41af40
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x14], eax
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x42dba0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
movzx ecx, ax
test ecx, ecx
jne 0x41a628
xor eax, eax
jmp 0x41a6db
mov edx, dword [ebp - 0x30]
push edx
push 0
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x10000000
push 0
push 0x42dba0
push 0x800a0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 8], eax
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 8], 0
jne 0x41a689
xor eax, eax
jmp 0x41a6db
push 0xfffffffffffffff0
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xff3fffff
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x41acf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov eax, dword [0x43bc28]
and eax, 1
jne 0x41ad24
mov ecx, dword [0x43bc28]
or ecx, 1
mov dword [0x43bc28], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x28]
sub ecx, dword [eax + 0x20]
mov dword [0x43bc24], ecx
mov edx, dword [0x43bc28]
and edx, 2
jne 0x41ad4d
mov eax, dword [0x43bc28]
or eax, 2
mov dword [0x43bc28], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x2c]
sub eax, dword [edx + 0x24]
mov dword [0x43bc20], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x30
call fcn.0041b0a0
movzx ecx, al
test ecx, ecx
je 0x41ad6e
push 1
mov ecx, dword [ebp - 0x1c]
call fcn.0041aef0
jmp 0x41aed1
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov eax, dword [0x43bc24]
imul eax, dword [0x43bc20]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042278a
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov ecx, dword [0x43bc24]
imul ecx, dword [0x43bc20]
shl ecx, 2
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x30
call fcn.004137d0
push eax
mov edx, dword [ebp - 8]
push edx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push 0xfa
mov eax, dword [0x43bc20]
push eax
mov ecx, dword [0x43bc24]
push ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x30
call fcn.004137d0
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0041a9a0
mov dword [ebp - 4], eax
mov eax, dword [0x43bc20]
push eax
mov ecx, dword [0x43bc24]
push ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.0041a6e0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x10
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0041ac20
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
movzx ecx, byte [0x43add4]
test ecx, ecx
je 0x41aeb9
push 1
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [0x43add4], 0
cmp dword [ebp - 4], 0
sete dl
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.0041aef0
xor eax, eax
jne 0x41ad4d
mov esp, ebp
pop ebp
ret
Function at 0x41aef0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x41af28
mov ecx, dword [ebp - 4]
add ecx, 0x38
call fcn.0041b2c0
test eax, eax
je 0x41af28
mov ecx, dword [ebp - 4]
add ecx, 0x38
call fcn.0041b160
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
mov cl, byte [ebp + 8]
mov byte [eax], cl
mov esp, ebp
pop ebp
ret 4

Function at 0x41c650
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x41c659
xor ecx, ecx
jne 0x41c659
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41c6a0
mov eax, dword [ebp - 0xc]
jmp 0x41c6fd
cmp dword [ebp - 4], 1
je 0x41c6b3
cmp dword [ebp - 4], 2
je 0x41c6b3
mov eax, 0xd
jmp 0x41c6fd
cmp dword [ebp + 0xc], 0
je 0x41c6f1
cmp dword [ebp - 8], 0
je 0x41c6e9
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x41c6e0
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x41c6e7
mov eax, 0xd
jmp 0x41c6fd
jmp 0x41c6f1
mov edx, dword [ebp + 0xc]
mov word [edx], 0
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc