joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425c50
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4df037
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x5114a8]
xor eax, esp
mov dword [esp + 0x3a0], eax
push ebp
push esi
mov eax, dword [0x5114a8]
xor eax, esp
push eax
lea eax, [esp + 0x3b4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c4]
xor eax, eax
mov dword [esp + 0x3bc], eax
mov dword [esp + 0xc], eax
mov esi, dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
mov ecx, edi
mov dword [esp + 0x10], edi
call esi
mov dword [esp + 0x3bc], 0
lea ecx, [esp + 0x11c]
mov dword [esp + 0xc], 1
call esi
lea esi, [esp + 0x14]
mov dword [esp + 0x3bc], 1
call fcn.004010b0
push str.config.ini
lea ecx, [esp + 0x9c]
push ecx
mov ecx, eax
mov byte [esp + 0x3c4], 2
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CDuiString___thiscall_DuiLib::CDuiString::operator_wchar_t_const__]
push eax
lea ecx, [esp + 0x120]
mov byte [esp + 0x3c0], 3
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_class_DuiLib::CDuiString_const__]
mov byte [esp + 0x3bc], 2
mov esi, dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [esp + 0x98]
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x3bc], 1
call esi
lea ecx, [esp + 0x11c]
call dword [sym.imp.LibDui.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
push 0x104
lea edx, [esp + 0x1ac]
push edx
push ebx
push ebp
push str.Soft_LeiBaoJsq
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x1a4]
push eax
push 0x4f55cc
push edi
call dword [sym.imp.LibDui.dll_public:_int___cdecl_DuiLib::CDuiString::Format_wchar_t_const__]
add esp, 0xc
lea ecx, [esp + 0x11c]
mov byte [esp + 0x3bc], 0
call esi
mov eax, edi
mov ecx, dword [esp + 0x3b4]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x3a0]
xor ecx, esp
call fcn.0045ef20
add esp, 0x3b4
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4da299
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5114a8]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], esi
call dword [sym.imp.LibDui.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x425f06
test al, 0x10
je 0x425f06
mov esi, 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret
Function at 0x4261e0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4da25c
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x5114a8]
xor eax, esp
mov dword [esp + 0x290], eax
mov eax, dword [0x5114a8]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x96]
push ecx
mov word [esp + 0x98], ax
call fcn.00471250
add esp, 0xc
push 0x104
lea edx, [esp + 0x90]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 8]
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0xc]
push str.__s_
push ecx
mov dword [esp + 0x2ac], 0
call dword [sym.imp.LibDui.dll_public:_int___cdecl_DuiLib::CDuiString::Format_wchar_t_const__]
add esp, 0xc
lea edx, [esp + 4]
push edx
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4262cb
push 0x104
lea ecx, [esp + 0xc]
call dword [sym.imp.LibDui.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push eax
mov eax, dword [esp + 0xc]
push 1
push 0
push str.Soft_LeiBaoJsq
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov dword [esp + 0x2a0], 0xffffffff
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.0045ef20
add esp, 0x2a0
ret

Function at 0x426310
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
sub esp, 0x10c
mov eax, dword [0x5114a8]
xor eax, esp
mov dword [esp + 0x108], eax
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call fcn.00471250
add esp, 0xc
push 0x104
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp]
push edx
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x426387
mov eax, dword [esp]
push str.Soft_LeiBaoJsq
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x108]
xor ecx, esp
xor eax, eax
call fcn.0045ef20
add esp, 0x10c
ret
Function at 0x4263a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesRasManParameters
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42640a
mov dword [esp + 4], eax
mov eax, 4
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push eax
push 0
push str.ProhibitIpSec
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42640a
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 4]
add esp, 0x10
ret
xor eax, eax
add esp, 0x10
ret

Function at 0x426410
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0x20006
push 0
push str.SYSTEMCurrentControlSetServicesRasManParameters
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42645d
mov edx, dword [esp]
push 4
lea ecx, [esp + 8]
push ecx
push 4
push eax
push str.ProhibitIpSec
push edx
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 8
ret

Function at 0x426590
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4da978
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x5114a8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x426664
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 0x34]
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esp + 0x38], 0x10
mov ecx, dword [esp + 0x24]
jae 0x4265f2
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x38]
inc ecx
push ecx
push eax
call fcn.004685f0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esp + 0x14], 0xffffffff
cmp dword [esp + 0x38], 0x10
jb 0x426634
mov edx, dword [esp + 0x24]
push edx
call fcn.0045f220
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401050
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret
mov dword [esp + 0x14], 0xffffffff
cmp dword [esp + 0x38], 0x10
jb 0x426680
mov eax, dword [esp + 0x24]
push eax
call fcn.0045f220
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401050
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x430630
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push ecx
push fcn.00426750
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret

Function at 0x430650
Capabilities:
Create thread

Disassembly:
push ecx
test edi, edi
je 0x4306a0
mov ecx, dword [0x51a96c]
cmp dword [ecx + 0x1ce0], 0
jne 0x4306a0
push esi
mov esi, dword [sym.imp.LibDui.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push 0
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [0x51a96c]
call esi
push eax
call fcn.00443120
mov ecx, dword [0x51a96c]
add esp, 4
push 1
mov dword [ecx + 0x1ce0], eax
push 1
mov ecx, eax
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
pop esi
lea edx, [esp]
push edx
push 0
push edi
push 0x42ae50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret

Function at 0x4306c0
Capabilities:
Create thread

Disassembly:
push ecx
test esi, esi
je 0x4306f9
push edi
mov edi, dword [sym.imp.LibDui.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push 0
mov ecx, esi
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, esi
call edi
push eax
call fcn.00443120
add esp, 4
push 1
push 1
mov ecx, eax
mov dword [esi + 0x1ce0], eax
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
pop edi
lea eax, [esp]
push eax
push 0
push esi
push 0x42e250
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret

Function at 0x430720
Capabilities:
Create thread

Disassembly:
push ecx
test esi, esi
je 0x430759
push edi
mov edi, dword [sym.imp.LibDui.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push 0
mov ecx, esi
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, esi
call edi
push eax
call fcn.00443120
add esp, 4
push 1
push 1
mov ecx, eax
mov dword [esi + 0x1ce0], eax
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
pop edi
lea eax, [esp]
push eax
push 0
push esi
push 0x42ced0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret

Function at 0x430780
Capabilities:
Create thread

Disassembly:
push ecx
test esi, esi
je 0x4307b9
push edi
mov edi, dword [sym.imp.LibDui.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push 0
mov ecx, esi
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, esi
call edi
push eax
call fcn.00443120
add esp, 4
push 1
push 1
mov ecx, eax
mov dword [esi + 0x1ce0], eax
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
pop edi
lea eax, [esp]
push eax
push 0
push esi
push 0x42d4e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4307e0
Capabilities:
Create thread

Disassembly:
push ecx
test edi, edi
je 0x430830
mov ecx, dword [0x51a96c]
cmp dword [ecx + 0x1ce0], 0
jne 0x430830
push esi
mov esi, dword [sym.imp.LibDui.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push 0
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [0x51a96c]
call esi
push eax
call fcn.00443120
mov ecx, dword [0x51a96c]
add esp, 4
push 1
mov dword [ecx + 0x1ce0], eax
push 1
mov ecx, eax
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
pop esi
lea edx, [esp]
push edx
push 0
push edi
push 0x42efa0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x435050
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4da1c9
mov eax, dword fs:[0]
push eax
mov eax, 0x107c
call fcn.0047e5b0
mov eax, dword [0x5114a8]
xor eax, esp
mov dword [esp + 0x1074], eax
push ebp
push esi
push edi
mov eax, dword [0x5114a8]
xor eax, esp
push eax
lea eax, [esp + 0x108c]
mov dword fs:[0], eax
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x109c], 0
push ecx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x30], 0xc
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x435147
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x18]
xor ecx, ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x40]
push eax
push ecx
push ecx
push 0x10
push 1
push ecx
mov word [esp + 0x88], cx
push ecx
lea ecx, [esp + 0x10bc]
mov dword [esp + 0x88], 0x101
call dword [sym.imp.LibDui.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x435166
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x2c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0x109c]
mov dword [esp + 0x1094], 0xffffffff
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
xor eax, eax
jmp 0x43521e
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebp
push 0xfff
lea ecx, [esp + 0x89]
push 0
push ecx
mov byte [esp + 0x90], 0
call fcn.00471250
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
push 0
lea edx, [esp + 0x20]
push edx
push 0xfff
lea eax, [esp + 0x90]
push eax
push ecx
call esi
test eax, eax
je 0x4351e6
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ecx]
push 0x1f4
call edi
mov ecx, dword [esp + 0x14]
push 0
lea edx, [esp + 0x20]
push edx
push 0xfff
lea eax, [esp + 0x90]
push eax
push ecx
call esi
test eax, eax
jne 0x4351c0
mov edx, dword [esp + 0x30]
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebp
mov ecx, dword [esp + 0x2c]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0x109c]
mov dword [esp + 0x1094], 0xffffffff
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov eax, 1
mov ecx, dword [esp + 0x108c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1074]
xor ecx, esp
call fcn.0045ef20
add esp, 0x1088
ret 0x84
Function at 0x435250
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4dee3c
mov eax, dword fs:[0]
push eax
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5114a8]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x12c]
xor ebx, ebx
xor eax, eax
mov dword [edi + 0xc], ebx
mov dword [edi + 0x28], 7
mov dword [edi + 0x24], ebx
mov word [edi + 0x14], ax
lea ebp, [edi + 0x30]
mov dword [esp + 0x124], ebx
mov ecx, ebp
mov dword [edi], vtable.CRasCtl.0
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
lea esi, [esp + 0x98]
mov byte [esp + 0x124], 1
call fcn.004010b0
push 0x4fb88c
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
mov byte [esp + 0x12c], 2
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CDuiString___thiscall_DuiLib::CDuiString::operator_wchar_t_const__]
push eax
mov ecx, ebp
mov byte [esp + 0x128], 3
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_class_DuiLib::CDuiString_const__]
mov byte [esp + 0x124], 2
mov esi, dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [esp + 0x14]
call esi
lea ecx, [esp + 0x98]
mov byte [esp + 0x124], 1
call esi
mov dword [edi + 0xb4], ebx
mov eax, edi
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 4

Function at 0x435340
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4dbcf8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5114a8]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov dword [esi], vtable.CRasCtl.0
lea ecx, [esi + 0x30]
mov dword [esp + 0x10], 0
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov dword [esp + 0x10], 0xffffffff
mov dword [esi], vtable.CDailBase.0
add esi, 0xc
cmp dword [esi + 0x1c], 8
jb 0x43539f
mov eax, dword [esi + 8]
push eax
call fcn.0045f220
add esp, 4
xor ecx, ecx
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], 0
mov word [esi + 8], cx
mov ecx, esi
call fcn.00401050
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x43bf70
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4da5de
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5114a8]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5114a8]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov eax, dword [esp + 0x234]
push str.wangka
lea ecx, [eax + 0x30]
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov esi, eax
mov eax, dword [esi + 0x550]
mov edx, dword [eax + 0x20]
lea ebx, [esi + 0x550]
mov ecx, ebx
mov dword [esp + 0x18], esi
call edx
push 0x288
call fcn.00462890
mov ebp, eax
add esp, 4
lea eax, [esp + 0x14]
push eax
push ebp
mov dword [esp + 0x1c], 0x288
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x43c015
push ebp
call fcn.0045f200
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00462890
add esp, 8
mov ebp, eax
lea edx, [esp + 0x14]
push edx
push ebp
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x43c10e
mov edi, ebp
test ebp, ebp
je 0x43c0f9
mov eax, dword [edi + 0x1a0]
cmp eax, 6
je 0x43c046
cmp eax, 0x47
jne 0x43c0eb
lea eax, [edi + 0x10c]
push str.TAP_Win32
push eax
call fcn.00468a50
add esp, 8
test eax, eax
jne 0x43c0eb
mov edx, dword [edi + 0x19c]
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.0043c150
push 0x568
call fcn.00461e20
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x22c], 0
test esi, esi
je 0x43c0a5
mov ecx, esi
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CListLabelElementUI::constructor_void_]
mov dword [esi], vtable.DuiLib::CListLabelElementUI.0
jmp 0x43c0a7
xor esi, esi
mov dword [esp + 0x22c], 0xffffffff
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call edx
mov ecx, dword [edi + 0x19c]
mov eax, dword [esi]
mov edx, dword [eax + 0xf0]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xa8]
push 0x17
mov ecx, esi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
push esi
mov ecx, ebx
call edx
mov edi, dword [edi]
test edi, edi
jne 0x43c032
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x698]
mov edx, dword [eax + 0xc]
lea ecx, [esi + 0x698]
push 0
push 0
call edx
push ebp
call fcn.0045f200
add esp, 4
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0045ef20
add esp, 0x21c
ret 4
Function at 0x43c5c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4df7d7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5114a8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x4fd280
mov dword [edi + 0x58], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 8]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.0043d5e0
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
call fcn.0043df80
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x51b0d4]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x43d240
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4df792
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5114a8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x4f547c
mov dword [edi + 0x54], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 4]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.0043d550
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
call fcn.0043df80
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x51b0d4]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov byte [esp + 0x1c], 2
call fcn.0043d830
test eax, eax
jne 0x43d330
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi + 8]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x43d329
or eax, 4
push ebx
push eax
call fcn.00403d30
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4