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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5438cc]
push ebx
push esi
mov esi, 0x5438cc
push edi
mov ecx, esi
call dword [eax + 0xc]
mov edi, eax
mov eax, dword [0x5438cc]
add edi, 0x10
mov ecx, esi
mov dword [ebp - 4], edi
call dword [eax + 0xc]
and dword [ebp - 8], 0
push 1
mov ebx, eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
add ebx, 0x10
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 8]
mov dword [ebp - 0xc], ebx
call fcn.00403a08
mov esi, eax
test esi, esi
je 0x42bf40
lea eax, [ebp - 0xc]
push eax
push str.kwifi
lea ebx, [ebp - 8]
call fcn.00403a8b
mov ebx, dword [ebp - 0xc]
mov esi, eax
test esi, esi
je 0x42bf40
cmp dword [ebx - 0xc], 0
je 0x42bf40
mov esi, 0x510ad8
push esi
lea eax, [ebp - 4]
push eax
call fcn.0040127c
push 0
lea eax, [ebp - 0xc]
call fcn.00496cf0
mov eax, dword [eax]
pop ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.004246f5
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401239
push esi
lea eax, [ebp - 4]
push eax
call fcn.00407371
push 0x510adc
lea eax, [ebp - 4]
push eax
call fcn.00407371
mov edi, dword [ebp - 4]
push ebx
push edi
call dword [sym.imp.MSVCR80.dll__wcsicmp]
mov esi, eax
neg esi
pop ecx
sbb esi, esi
pop ecx
inc esi
cmp dword [ebp - 8], 0
je 0x42bf4f
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 8], 0
lea eax, [ebx - 0x10]
call fcn.00401239
lea eax, [edi - 0x10]
call fcn.00401239
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x42bf6a
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [esi], eax
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42bff3
push ebx
call fcn.004ce6ea
pop ecx
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42bfe4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4da9e4
push dword [ebp - 4]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42bfe4
cmp dword [ebp - 0xc], ebx
je 0x42bfe4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edi], ecx
mov dword [esi], eax
mov dword [ebp - 0x14], 1
cmp dword [ebp - 4], 0
je 0x42bff3
push dword [ebp - 4]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret
Function at 0x42c16d
Capabilities:
Initialize winsock library

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, eax
lea ebp, [edi + 4]
lea esi, [ebp + 0x10]
call fcn.0042e77b
lea esi, [ebp + 0x28]
call fcn.0042e77b
or dword [ebp + 0x40], 0xffffffff
xor ebx, ebx
mov dword [ebp], 1
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 4], ebx
mov byte [ebp + 0x44], bl
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], 0x2710
cmp dword [0x5438b0], ebx
je 0x42c1c3
push 0x543720
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [0x5438b0], eax
fld dword [0x5275dc]
lea esi, [edi + 0x54]
mov dword [edi], vtable.ATL::CAtlHttpClientT_class_ATL::ZEvtSyncSocket_.0
fstp dword [esi + 0xc]
fld dword [0x5275d8]
or dword [esi + 0x18], 0xffffffff
fstp dword [esi + 0x10]
mov dword [esi], ebx
fld dword [0x5275d4]
mov dword [esi + 4], ebx
fstp dword [esi + 0x14]
mov dword [esi + 8], 0x11
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 0xa
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00410829
fld dword [0x5275dc]
lea esi, [edi + 0x84]
or dword [esi + 0x18], 0xffffffff
fstp dword [esi + 0xc]
fld dword [0x5275d8]
mov dword [esi], ebx
fstp dword [esi + 0x10]
mov dword [esi + 4], ebx
fld dword [0x5275d4]
mov dword [esi + 8], 0x11
fstp dword [esi + 0x14]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 0xa
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00410829
lea eax, [edi + 0xb4]
lea esi, [edi + 0xc8]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
call fcn.0042c5ae
lea esi, [edi + 0x10d8]
call fcn.0042aecf
lea esi, [edi + 0x3544]
mov ecx, 0x5438cc
call fcn.0040121e
lea esi, [edi + 0x3548]
mov ecx, 0x5438cc
call fcn.0040121e
mov esi, ebp
call fcn.0042ba3c
call fcn.0042d4ba
mov dword [edi + 0xc4], ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x42e8ca
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov esi, 0x507210
mov dword [ebp - 8], 2
mov eax, dword [esi]
and dword [ebp - 4], 0
test eax, eax
je 0x42e924
cmp word [eax], 0
je 0x42e924
push 0xf003f
push dword [esi - 4]
lea eax, [ebp - 4]
push dword [esi - 8]
call fcn.004017a0
test eax, eax
jne 0x42e93b
push dword [esi]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x42e93b
cmp eax, 2
je 0x42e93b
jmp 0x42e93a
push dword [esi - 4]
push dword [esi - 8]
call fcn.00478d8e
test eax, eax
pop ecx
pop ecx
je 0x42e946
cmp eax, 2
je 0x42e946
inc ebx
cmp dword [ebp - 4], 0
je 0x42e946
push dword [ebp - 4]
call edi
add esi, 0xc
dec dword [ebp - 8]
jne 0x42e8e7
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x42f463
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
cmp dword [ebp + 0xc], 0x4e
push esi
push edi
mov edi, eax
jne 0x42f4a0
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0x3e8
jne 0x42f4a0
xor esi, esi
inc esi
mov ecx, edi
mov dword [edi + 0x38c], esi
call fcn.0042f3d3
mov dword [ebx], eax
cmp dword [edi + 0x38c], 0
je 0x42f4a3
mov eax, esi
jmp 0x42f4e7
xor esi, esi
inc esi
push 0
push ebx
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00438cce
test eax, eax
jne 0x42f49c
mov edx, dword [ebp + 0xc]
cmp edx, 5
lea ecx, [edi + 0x384]
jne 0x42f4ef
mov eax, dword [ebp + 0x14]
movsx edx, ax
shr eax, 0x10
movsx eax, ax
push eax
push edx
push dword [ebp + 0x10]
push ecx
call fcn.0047755c
and dword [ebx], 0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
cmp edx, 2
jne 0x42f4fb
mov dword [ecx], eax
mov dword [ecx + 4], eax
cmp edx, 0x402
jne 0x42f52b
push 5
push dword [edi + 4]
lea eax, [edi + 0x38c]
mov dword [esp + 0x14], eax
mov dword [eax], esi
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebx], 0
mov eax, dword [esp + 0xc]
cmp dword [eax], 0
je 0x42f4e5
jmp 0x42f49c
cmp edx, 0x403
jne 0x42f564
mov ecx, dword [edi + 0x394]
push eax
push eax
push eax
mov dword [edi + 0x38c], esi
mov dword [edi + 0x28], ecx
mov dword [edi + 0x378], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
and dword [ebx], 0
cmp dword [edi + 0x38c], 0
jmp 0x42f524
cmp edx, 0x465
jne 0x42f5af
mov dword [edi + 0x38c], esi
lea esi, [edi + 0x2c]
push eax
call fcn.004244ab
mov eax, dword [edi + 0x30]
add esi, 0x2a0
mov dword [edi + 0x3f8], esi
push 5
lea esi, [edi + 0x3c0]
call fcn.0049fd38
and dword [ebx], 0
cmp dword [edi + 0x38c], 0
je 0x42f4e5
xor eax, eax
inc eax
jmp 0x42f4e7
cmp edx, 0x110
jne 0x42f4e5
lea eax, [edi + 0x38c]
push ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax], esi
mov dword [esp + 0x10], eax
mov eax, esp
mov dword [eax], ecx
call fcn.0042f0bc
mov dword [ebx], eax
jmp 0x42f51d
Function at 0x42f668
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
mov edi, eax
mov dword [esp + 0x18], esi
jne 0x42f6a7
mov eax, dword [0x543f94]
cmp eax, esi
je 0x42f692
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
jmp 0x42f695
mov dword [ebp + 8], esi
cmp dword [ebp + 8], esi
jne 0x42f6a7
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
mov dword [ebp + 8], eax
je 0x42f6d1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp + 8], eax
je 0x42f6d1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42f6d1
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x18], 1
push ecx
mov eax, esp
push dword [ebp + 8]
mov dword [edi + 0x378], esi
mov ebx, edi
mov dword [eax], esi
call fcn.0042f936
mov edx, eax
cmp edx, esi
mov dword [esp + 0x10], edx
jne 0x42f702
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x42f7eb
call fcn.0042429b
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
lea ebx, [edi + 4]
push ebx
call fcn.0042414e
cmp dword [edi + 0x36c], esi
je 0x42f791
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0xc]
je 0x42f771
push 1
push eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0xc]
je 0x42f791
push esi
push eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_AttachThreadInput]
call fcn.004ae26a
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx]
mov dword [edi + 0x378], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x18], esi
je 0x42f7d7
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp + 8], esi
je 0x42f7d7
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx]
jne 0x42f7d7
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x1c]
call fcn.0042429b
push dword [ebx]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42fe2b
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
push edi
push str.kwifi.exe
lea eax, [ebp - 8]
call fcn.004014ce
xor ebx, ebx
push 0x228
lea eax, [ebp - 0x230]
push ebx
push eax
mov dword [ebp - 0x234], ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebx
push 2
mov dword [ebp - 4], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x234]
push eax
mov esi, 0x22c
push edi
mov dword [ebp - 0x234], esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42fec4
jmp 0x42fea2
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 8]
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x42febb
lea eax, [ebp - 0x234]
push eax
push edi
mov dword [ebp - 0x234], esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42fe8c
jmp 0x42fec4
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 4], eax
cmp edi, 0xffffffff
je 0x42fed0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401239
xor eax, eax
cmp dword [ebp - 4], ebx
pop edi
pop esi
setne al
pop ebx
leave
ret

Function at 0x4310a4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x11c
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa4]
push edi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x4310fd
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x4311b5
mov eax, dword [ebp - 0x94]
dec eax
je 0x4311a1
dec eax
jne 0x4311b5
cmp dword [ebp - 0xa0], 6
jne 0x431148
mov eax, dword [ebp - 0x9c]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x431134
xor eax, eax
cmp byte [ebp + 0x76], cl
setne al
add eax, 8
jmp 0x431144
cmp eax, edi
jne 0x431184
xor eax, eax
cmp byte [ebp + 0x76], cl
setne al
lea eax, [eax + eax + 7]
mov edi, eax
jmp 0x4311b5
cmp dword [ebp - 0xa0], 5
jne 0x431177
cmp dword [ebp - 0x9c], 2
jne 0x43115e
push 5
jmp 0x43119e
cmp dword [ebp - 0x9c], 1
jne 0x43116b
push 6
jmp 0x43119e
cmp dword [ebp - 0x9c], edi
jne 0x4311b5
push 3
jmp 0x43119e
cmp dword [ebp - 0xa0], 4
ja 0x4311b5
push 4
jmp 0x43119e
cmp eax, 2
jne 0x431192
cmp byte [ebp + 0x76], cl
jne 0x4311b5
push 0xa
jmp 0x43119e
cmp eax, 3
jne 0x4311b5
cmp byte [ebp + 0x76], cl
jne 0x4311b5
push 0xb
pop edi
jmp 0x4311b5
mov eax, dword [ebp - 0x98]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov eax, edi
pop edi
pop esi
add ebp, 0x78
leave
ret
Function at 0x4314c8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push edi
lea edi, [esi + 0x1c]
push str.Wlanapi.dll
call fcn.0043144f
mov ebp, eax
test ebp, ebp
je 0x431553
mov eax, dword [edi]
test eax, eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x4314ee
xor eax, eax
jmp 0x4314f6
push str.WlanOpenHandle
push eax
call ebx
mov dword [esi + 4], eax
mov eax, dword [edi]
test eax, eax
je 0x431507
push str.WlanCloseHandle
push eax
call ebx
mov dword [esi + 8], eax
mov eax, dword [edi]
test eax, eax
je 0x431518
push str.WlanEnumInterfaces
push eax
call ebx
mov dword [esi + 0x10], eax
mov eax, dword [edi]
test eax, eax
je 0x431529
push str.WlanFreeMemory
push eax
call ebx
mov dword [esi + 0xc], eax
mov eax, dword [edi]
test eax, eax
je 0x43153a
push str.WlanGetAvailableNetworkList
push eax
call ebx
mov dword [esi + 0x14], eax
mov edi, dword [edi]
test edi, edi
jne 0x431547
xor eax, eax
jmp 0x43154f
push str.WlanGetNetworkBssList
push edi
call ebx
mov dword [esi + 0x18], eax
pop ebx
pop edi
mov eax, ebp
pop ebp
ret
Function at 0x4319c1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xa8
push esi
lea ecx, [ebp + 0x4c]
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_void_]
push str.SOFTWAREClassesCLSID_
lea ecx, [ebp + 0x4c]
call dword [0x4d95ec]
push str.9B7A98EC_7EF9_468c_ACC8_37C793DBD7E0
lea ecx, [ebp + 0x4c]
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__::operator_wchar_t_const__]
push str.Implemented_Categories_
lea ecx, [ebp + 0x4c]
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__::operator_wchar_t_const__]
push str.A5F7140E_4311_4ef9_AABC_F55941B5EBE5
lea ecx, [ebp + 0x4c]
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__::operator_wchar_t_const__]
mov eax, dword [ebp + 0x50]
xor esi, esi
cmp dword [ebp + 0x64], 8
mov dword [ebp + 0x70], esi
jae 0x431a1f
lea eax, [ebp + 0x50]
lea ecx, [ebp + 0x70]
push ecx
push 1
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x431a47
lea ecx, [ebp + 0x4c]
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 eax, esi
pop esi
add ebp, 0x74
leave
ret
push 0x7e
lea eax, [ebp - 0x32]
push esi
push eax
mov word [ebp - 0x34], si
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 0x6c]
push eax
push esi
push str.idex
push dword [ebp + 0x70]
mov dword [ebp + 0x68], 0x80
mov dword [ebp + 0x6c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x431a93
mov ecx, dword [ebp + 0x7c]
lea eax, [ebp - 0x34]
push eax
call dword [0x4d95ec]
xor esi, esi
inc esi
push dword [ebp + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x431a36

Function at 0x431af7
Capabilities:
Create thread

Disassembly:
push ebx
push str.kdump.dll
or ebx, 0xffffffff
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x431b4a
push str.KxEOpenDumpMonitorEx2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x431b4a
push esi
push 0
push 0
push eax
push 0x431a9e
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
push 0xa
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x431b49
push esi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x431d28
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x431d44
mov eax, 0xe0000007
jmp 0x431dd6
push str._url:
lea ecx, [ebp - 0x20]
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__]
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
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__::operator_wchar_t_const__]
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x431d6a
lea eax, [ebp - 0x1c]
push eax
call fcn.00431b4e
mov esi, eax
cmp esi, edi
pop ecx
je 0x431dcb
push 0x206
lea eax, [ebp - 0x22a]
push edi
push eax
mov word [ebp - 0x22c], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push edi
push 0x26
lea eax, [ebp - 0x22c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x431dcb
push str.Internet_Exploreriexplore.exe
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [ebp + 8]
lea eax, [ebp - 0x22c]
call fcn.004a56f3
pop ecx
mov esi, eax
lea ecx, [ebp - 0x20]
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 eax, esi
pop edi
pop esi
leave
ret
Function at 0x431f94
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5438cc]
push ebx
xor ebx, ebx
mov ecx, 0x5438cc
mov dword [ebp - 0x14], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call fcn.00432124
test eax, eax
pop ecx
je 0x432113
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432113
push esi
push edi
push dword [ebp - 4]
lea eax, [ebp - 0x10]
push eax
call fcn.0043163f
pop ecx
pop ecx
mov edi, 0x104
push edi
lea esi, [ebp - 4]
call fcn.004015aa
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [ebp - 4], ebx
mov ebx, dword [sym.imp.MSVCR80.dll_wcslen]
jne 0x432010
xor eax, eax
jmp 0x432016
push dword [ebp - 4]
call ebx
pop ecx
lea edx, [ebp - 4]
call fcn.00401354
push edi
lea esi, [ebp - 4]
call fcn.004015aa
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
xor eax, eax
cmp dword [ebp - 4], eax
je 0x43203b
push dword [ebp - 4]
call ebx
pop ecx
lea edx, [ebp - 4]
call fcn.00401354
push dword [ebp - 0x10]
lea esi, [ebp - 4]
push edi
call fcn.004015aa
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
cmp dword [ebp - 4], eax
je 0x432063
push dword [ebp - 4]
call ebx
pop ecx
lea edx, [ebp - 4]
call fcn.00401354
push edi
lea esi, [ebp - 4]
call fcn.004015aa
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
xor eax, eax
cmp dword [ebp - 4], eax
je 0x432088
push dword [ebp - 4]
call ebx
pop ecx
lea edx, [ebp - 4]
call fcn.00401354
push str.liebao.dll
push edi
lea esi, [ebp - 4]
call fcn.004015aa
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov esi, dword [ebp - 4]
test esi, esi
jne 0x4320b0
xor eax, eax
jmp 0x4320b4
push esi
call ebx
pop ecx
lea edx, [ebp - 4]
call fcn.00401354
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432106
push esi
lea esi, [ebp - 0xc]
lea edi, [ebp - 8]
call fcn.0042bf6a
test eax, eax
pop ecx
je 0x432106
mov eax, dword [ebp - 8]
shr eax, 0x10
cmp ax, 4
jb 0x432106
cmp word [ebp - 8], 3
jb 0x432106
mov eax, dword [ebp - 0xc]
shr eax, 0x10
cmp ax, 0x1d
jb 0x432106
cmp word [ebp - 0xc], 0x178d
jb 0x432106
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401239
pop edi
pop esi
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret
Function at 0x432124
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
xor eax, eax
push edi
push 0x208
push eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x20019
push str.SOFTWAREliebao
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 4], 0x104
call fcn.004017a0
test eax, eax
jne 0x432227
push str.Install_Path_Dir
lea eax, [ebp - 8]
push eax
lea esi, [ebp - 4]
lea edi, [ebp - 0x218]
call fcn.00401739
test eax, eax
jne 0x432227
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov eax, edi
push eax
lea eax, [ebp - 4]
call fcn.004014ce
push str.liebao.exe
lea eax, [ebp - 4]
push eax
call fcn.00407371
push dword [ebp - 4]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
jne 0x4321ee
mov eax, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040127c
push str.LBBrowserliebao.exe
lea eax, [ebp - 4]
push eax
call fcn.00407371
push dword [ebp - 4]
call esi
test eax, eax
je 0x432200
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
call fcn.0042a0a0
mov dword [ebp - 0xc], 1
xor esi, esi
cmp dword [ebp - 8], esi
je 0x432213
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 8], esi
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
cmp dword [ebp - 0xc], esi
jne 0x4322bf
push 0x20a
lea eax, [ebp - 0x218]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x20019
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallliebao
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 4], 0x104
call fcn.004017a0
test eax, eax
jne 0x4322bf
push str.UninstallString
lea eax, [ebp - 8]
push eax
lea esi, [ebp - 4]
lea edi, [ebp - 0x218]
call fcn.00401739
test eax, eax
jne 0x4322bf
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.liebao.exe
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4322ac
mov eax, edi
push eax
push dword [ebp + 8]
call fcn.0040127c
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x4322ce
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x4322ce
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret