joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428490
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49da24
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, cl
mov esi, edx
mov dword [ebp - 0x30], esi
test bl, bl
je 0x428514
push str.closenoshowflag
call fcn.00465e80
add esp, 4
test eax, eax
je 0x428514
push str.closeflag
call fcn.00465e80
add esp, 4
push 0
push 0
test eax, eax
je 0x428500
mov eax, dword [esi + 4]
push 0x418
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x428666
mov ecx, dword [esi + 4]
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x428666
push 0x4528
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x42854b
push esi
call fcn.00440390
mov dword [esi], vtable.CDlgClose.0
mov dword [esi + 0x10], vtable.CDlgClose.1.0
mov dword [esi + 0x4524], edi
jmp 0x42854d
xor esi, esi
mov dword [ebp - 4], 0xffffffff
push 0x23
xor edx, edx
push str._PaddingPanel_pos_0__0__20__10____
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
call fcn.004027c0
push 0x53
push str._PngImagePanel__image_hflogo.png__imagehot_hflogo.png___pos_20__20__128__118____
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.004026a0
push 0x43
lea ecx, [ebp - 0x2c]
push 0x4b4018
call fcn.004026a0
push 0x66
push str._RadioOption_pos_140__70__250__90__name_smallhide__text_
lea ecx, [ebp - 0x2c]
call fcn.004026a0
push 0x63
push str._RadioOption_pos_250__70__320_90__name_exitquick__text_
lea ecx, [ebp - 0x2c]
call fcn.004026a0
xor ebx, ebx
cmp dword [ebp - 0x18], 8
jb 0x428682
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4285df
push eax
lea eax, [esi + 0x41c]
push 0x1000
push eax
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
push str.closedlgres.xml
mov ecx, esi
call eax
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebx
mov ecx, 0x1a4
mov dword [eax + 8], ecx
push 0x81
mov ecx, 0xdc
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 4]
push 0x96c80000
push 0x4b4258
push edx
mov ecx, esi
call dword [sym.imp.HFUILib.dll_public:_struct_HWND______thiscall_CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____]
push str.closenoshowflag
call fcn.00465e80
add esp, 4
push eax
push str.closeflag
call fcn.00465e80
mov ecx, eax
add esp, 4
mov eax, esi
call fcn.00405a20
mov ecx, esi
call dword [sym.imp.HFUILib.dll_public:_bool___thiscall_CWindowWnd::ShowModal_void_]
cmp dword [ebp - 0x18], 8
jb 0x428666
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x2c]
jmp 0x4285c9
Function at 0x4292b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cf48
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov esi, 8
cmp dword [ebp + 0x1c], esi
jae 0x4292f1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00466e70
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp dword [ebp - 0x18], esi
jae 0x429309
lea eax, [ebp - 0x2c]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x18], esi
jb 0x429331
mov ecx, dword [ebp - 0x2c]
push ecx
call edi
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
cmp dword [ebp + 0x1c], esi
jb 0x429353
mov eax, dword [ebp + 8]
push eax
call edi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x429bb0
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, eax
push 1
push ebx
mov ecx, esi
call dword [sym.imp.HFUILib.dll_public:_void___thiscall_CWindowWnd::ShowWindow_bool__bool_]
test bl, bl
je 0x429c10
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 1
mov ebx, eax
push ebx
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push ebx
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ebx, dword [ebp + 8]
push ebx
mov ecx, esi
call fcn.00429cd0
test bl, bl
jne 0x429cae
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
lea esp, [esp]
push 0
push str.UIDlgPopup
call edi
mov dword [esi + 0x265c], eax
test eax, eax
je 0x429c4a
push eax
call ebx
test eax, eax
jne 0x429c55
cmp dword [esi + 0x265c], 0
jne 0x429c30
jmp 0x429c64
mov edx, dword [esi + 0x265c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x265c], 0
jne 0x429cc3
push 0
push str.huofeng_custom_dlg
call edi
mov dword [esi + 0x265c], eax
test eax, eax
je 0x429cc3
push eax
call ebx
test eax, eax
je 0x429c9d
mov eax, dword [esi + 0x265c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
pop ebp
ret 4
pop edi
mov dword [esi + 0x265c], 0
pop esi
pop ebx
pop ebp
ret 4
mov esi, dword [esi + 0x265c]
test esi, esi
je 0x429cc3
movzx ecx, bl
push ecx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x42ae70
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00497d20
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x100c], edi
test esi, esi
je 0x42af54
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42aea1
sub eax, edx
sar eax, 1
je 0x42af54
push 0x10
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov ebx, eax
push 0x40
mov dword [ebx + 4], 3
mov dword [ebx], 2
mov dword [ebx + 8], 1
call fcn.00497652
push 0x40
mov edi, eax
push 0
push edi
mov dword [ebp - 0x1008], edi
call sub.MSVCR100.dll_memset
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x42af03
xor eax, eax
jmp 0x42af22
add eax, eax
mov dword [ebp - 0x1010], eax
call fcn.00497dd0
mov ecx, dword [ebp - 0x1010]
mov eax, esp
push 3
push ecx
push esi
push eax
call fcn.00403590
mov edx, dword [ebp - 0x1008]
mov esi, eax
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x100c]
push ebx
mov dword [ebx + 0xc], edx
call fcn.0042c650
mov eax, dword [esi + 0x24f4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x42b01d
mov ecx, dword [edi + 0x23a8]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [edi + 0x23a8]
mov dword [ecx + 4], ecx
mov dword [edi + 0x23ac], 0
cmp eax, dword [edi + 0x23a8]
je 0x42af92
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
nop
mov esi, dword [eax]
push eax
call ebx
add esp, 4
mov eax, esi
cmp esi, dword [edi + 0x23a8]
jne 0x42af80
xor ecx, ecx
push 0xffe
push ecx
lea edx, [ebp - 0x1002]
push edx
mov word [ebp - 0x1004], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1004]
push 0x800
push eax
call dword [sym.imp.HFUILib.dll_public:_static_struct_HINSTANCE______cdecl_CPaintManagerUI::GetResourceInstance_void_]
push eax
call fcn.0045b1e0
add esp, 0xc
test eax, eax
je 0x42b01d
mov esi, dword [sym.imp.MSVCR100.dll_wcscat_s]
push str.data_
lea ecx, [ebp - 0x1004]
push 0x800
push ecx
call esi
add esp, 0xc
push 0
lea edx, [ebp - 0x1004]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.hfgameworld.dat
lea eax, [ebp - 0x1004]
push 0x800
push eax
call esi
add esp, 0xc
lea ecx, [ebp - 0x1004]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esp, [ebp - 0x101c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret
Function at 0x432440
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
push 0x3014
call edi
push 0x3014
mov esi, eax
push 0
push esi
call sub.MSVCR100.dll_memset
push 0x3014
call edi
mov ecx, dword [ebp + 0x10]
push ecx
mov edi, eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 4]
lea edx, [esi + 4]
push 0x800
push edx
mov dword [esi], ebx
mov dword [esi + 0x3008], 0x800
call dword [sym.imp.MSVCR100.dll_wcscat_s]
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esi + 0x1008]
push 0x800
push ecx
call dword [sym.imp.MSVCR100.dll_wcscat_s]
push 0x3014
push esi
push edi
call sub.MSVCR100.dll_memcpy
mov edx, dword [sym.imp.HFUILib.dll_public:_static_unsigned_long_int___stdcall_CFileDownloadHelper::DownloadProc_void__]
add esp, 0x38
push 0
push 0
push esi
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
test eax, eax
je 0x4324f9
push 1
push 0x464
push ebx
mov dword [edi + 0x3010], eax
call dword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
jne 0x432507
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
call edi
push esi
call edi
add esp, 8
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x433d70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49eb9c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4cc99c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x4cf81c], 0
je 0x433e16
push 0x14
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x433dc3
mov esi, eax
call fcn.0041ca90
mov esi, eax
jmp 0x433dc5
xor esi, esi
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.HFUILib.dll_public:_struct_HWND______thiscall_CWindowWnd::GetHWND_void_const]
lea ecx, [ebp - 0x14]
push ecx
push 0
push esi
push 0x432850
mov dword [esi], eax
mov al, byte [ebp + 0xc]
push 0
push 0
mov byte [esi + 0x10], 1
mov byte [esi + 0x11], al
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x433e0f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4378b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0x267c]
push edi
mov edi, dword [eax]
cmp edi, eax
je 0x43790c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x4378d0
mov eax, dword [edi + 8]
mov cl, byte [esi + 0x2694]
mov byte [eax + 0x6108], cl
mov edx, dword [esi + 4]
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push 0x436e90
push 0
push 0
mov dword [eax], edx
call ebx
test eax, eax
je 0x437901
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
cmp edi, dword [esi + 0x267c]
jne 0x4378d0
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x43e850
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
push esi
jb 0x43e861
mov ecx, dword [eax]
jmp 0x43e863
mov ecx, eax
mov edx, dword [eax + 0x10]
lea edx, [ecx + edx*2]
mov eax, 0x811c9dc5
cmp ecx, edx
je 0x43e884
movzx esi, word [ecx]
imul eax, eax, 0x1000193
add ecx, 2
xor eax, esi
cmp ecx, edx
jne 0x43e872
and eax, 0x7fffffff
push 0x1f31d
push eax
call dword [sym.imp.MSVCR100.dll_ldiv]
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
add esp, 8
sub edx, eax
mov eax, edx
jns 0x43e8af
add eax, 0x7fffffff
pop esi
pop ebp
ret 4
Function at 0x440f30
Capabilities:
Create thread
Resume thread

Disassembly:
cmp dword [esi + 8], 0
mov dword [esi + 0x14], 0
je 0x440f40
xor eax, eax
ret
lea eax, [esi + 4]
push eax
push 4
push esi
push 0x440f90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
je 0x440f3d
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xc], eax
test eax, eax
je 0x440f3d
mov ecx, dword [esi + 8]
push ecx
mov dword [esi + 0x10], 0xfa
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
ret

Function at 0x441860
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x441877
mov byte [0x4e9dd4], al
pop ebp
ret 8
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x441891
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop ebp
ret 8
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00497652
add esp, 4
push esi
mov edi, eax
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test edi, edi
jne 0x4418cb
xor eax, eax
jmp 0x4418df
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4418d0
sub eax, edx
sar eax, 1
mov ecx, dword [ebp + 0xc]
push eax
push edi
call fcn.00402b80
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
pop edi
pop esi
pop ebp
ret 8

Function at 0x442500
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x7e
push eax
lea ecx, [ebp - 0x82]
push ecx
mov word [ebp - 0x84], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x8c]
push edx
push str.SoftwareHuofengHuofengGameWorld
push SysReAllocString
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x88], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4425a7
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x90]
push edx
push 0
push str.HWID
push eax
mov dword [ebp - 0x88], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x8c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x88], 0x42
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret
Function at 0x4425c0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
push 0x7e
lea ecx, [ebp - 0x106]
mov dword [ebp - 0x120], edi
xor eax, eax
push edi
push ecx
mov dword [ebp - 0x120], 1
mov word [ebp - 0x108], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x124]
push edx
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x120]
push ecx
push str.HWID
push str.SoftwareHuofengHuofengGameWorldUpdate
push SysReAllocString
mov dword [ebp - 0x124], 0x80
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor edx, edx
test eax, eax
je 0x442759
push 0x7e
lea eax, [ebp - 0x86]
push edi
push eax
mov word [ebp - 0x88], dx
call sub.MSVCR100.dll_memset
xor eax, eax
lea ecx, [ebp - 0x118]
add esp, 0xc
push ecx
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x11c], edi
call fcn.00449300
add esp, 4
test al, al
je 0x442722
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x114]
push edx
mov edx, dword [ebp - 0x118]
push eax
push ecx
push edx
lea eax, [ebp - 0x88]
push str._08X_08X_08X_08X
push eax
lea edx, [edi + 0x40]
call fcn.0045af90
add esp, 0x18
lea ecx, [ebp - 0x11c]
push ecx
push str.SoftwareHuofengHuofengGameWorldUpdate
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x442715
lea eax, [ebp - 0x88]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4426e6
mov ecx, dword [ebp - 0x11c]
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [ebp - 0x88]
push eax
push 1
push edi
push str.HWID
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
lea eax, [ebp - 0x88]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x442740
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x88]
push ecx
jmp 0x442787
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
lea eax, [ebp - 0x108]
mov word [esi], dx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x442770
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x108]
push eax
mov ecx, esi
call fcn.004027c0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
pop edi
call fcn.00497792
mov esp, ebp
pop ebp
ret
Function at 0x4433f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x7e
xor edi, edi
lea ecx, [ebp - 0x86]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x88], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x9c]
push edx
xor eax, eax
push str.SoftwareHuofengHuofengGameWorld
push SysReAllocString
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x9c], edi
lea esi, [edi + 1]
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa0], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4434ae
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0xa4]
push edx
push edi
push str.HWID
push eax
mov dword [ebp - 0xa0], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x9c]
push ecx
call ebx
cmp dword [ebp - 0xa0], 0x42
jne 0x4434ca
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x98]
push edx
mov dword [ebp - 0x9c], edi
call fcn.00449300
add esp, 4
test al, al
je 0x443579
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x98]
push ecx
push edx
push eax
lea ecx, [ebp - 0x88]
push str._08X_08X_08X_08X
push ecx
mov edx, 0x40
call fcn.0045af90
add esp, 0x18
lea edx, [ebp - 0x9c]
push edx
push str.SoftwareHuofengHuofengGameWorld
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x443570
lea eax, [ebp - 0x88]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x443540
sub eax, edx
mov edx, dword [ebp - 0x9c]
sar eax, 1
add eax, eax
push eax
lea ecx, [ebp - 0x88]
push ecx
push 1
push edi
push str.HWID
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 0x9c]
push eax
call ebx
mov ecx, dword [ebp - 4]
xor eax, eax
cmp esi, edi
pop edi
sete al
pop esi
xor ecx, ebp
pop ebx
call fcn.00497792
mov esp, ebp
pop ebp
ret
Function at 0x4443d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.SoftwareHuofeng
push SysReAllocString
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x444438
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
push eax
push esi
push 0x4b8728
push ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
call ebx
mov edx, dword [ebp - 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg esi
sbb esi, esi
not esi
and esi, dword [ebp - 8]
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SoftwareHuofeng
push SysReAllocString
mov dword [0x4e9e7c], esi
call edi
test eax, eax
je 0x44446e
mov eax, 2
push eax
call fcn.0047cc80
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push str.LogLevel
push ecx
mov dword [ebp - 4], 2
mov dword [ebp - 0xc], 4
call ebx
mov edx, dword [ebp - 8]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 2
test esi, esi
jne 0x4444ad
mov eax, dword [ebp - 4]
push eax
call fcn.0047cc80
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret