joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c620
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
xor eax, eax
mov ebx, ecx
push 0x7e
push eax
lea ecx, [esp + 0x2a]
mov edi, edx
mov esi, dword [edi + 0x18]
push ecx
mov dword [esp + 0x18], ebx
mov word [esp + 0x2c], ax
call fcn.0049ca10
mov eax, dword [ebx + 4]
add esp, 0xc
push 0x40
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xff0000
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
lea ebx, [edi + 0x1c]
push ebx
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x20]
lea edx, [eax + 2]
jmp 0x40c6a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c6a0
sub eax, edx
push 0x8e25
lea edx, [esp + 0x14]
push edx
sar eax, 1
push eax
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
lea eax, [esp + 0x20]
lea ecx, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40c6d0
push 0x8a25
sub eax, ecx
push ebx
sar eax, 1
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x28]
mov edi, dword [edi + 0x24]
sub edi, dword [ebx]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
call ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
dec eax
push 0
push eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x20]
add eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
add eax, edi
cdq
dec ecx
sub eax, edx
push ecx
sar eax, 1
push eax
push esi
call dword [sym.imp.GDI32.dll_LineTo]
mov edx, dword [esp + 0xc]
push edx
push esi
call ebx
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00497c58
mov esp, ebp
pop ebp
ret

Function at 0x40c7e0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x34
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 0
call esi
push 1
mov edi, eax
call esi
mov dword [esp + 0x14], eax
lea eax, [esp + 8]
push eax
push ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], edi
call dword [sym.imp.USER32.dll_CopyRect]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x40c85c
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0xc]
push eax
push ebx
call dword [sym.imp.USER32.dll_SubtractRect]
pop edi
pop esi
add esp, 0x34
ret
Function at 0x40cd30
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4be0c6
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4f9f84]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, str.http:__ime.sogou.com_pyup.gif_
shr edx, 0x10
mov dword [esp + 0x18], ecx
test edx, edx
jne 0x40cdaa
mov eax, str.http:__ime.sogou.com_pyup.gif_
movzx eax, ax
push eax
lea ecx, [esp + 0x1c]
call fcn.004037f0
jmp 0x40cddc
push str.http:__ime.sogou.com_pyup.gif_
call ebp
mov esi, eax
cmp esi, ebx
je 0x40cddc
mov ecx, esi
lea edx, [esp + 0x18]
call fcn.004034c0
test eax, eax
je 0x40cddc
mov edx, dword [esp + 0x18]
lea ecx, [esi + esi]
push ecx
push str.http:__ime.sogou.com_pyup.gif_
push edx
call fcn.0049c670
add esp, 0xc
push 0x206
lea ecx, [esp + 0x42]
xor eax, eax
push ebx
mov dword [esp + 0x258], ebx
push ecx
mov word [esp + 0x48], ax
call fcn.0049ca10
lea edx, [esp + 0x48]
add esp, 0xc
push edx
mov ecx, 0x104
call fcn.00405180
add esp, 4
lea eax, [esp + 0x3c]
push eax
call ebp
cmp eax, ebx
je 0x40ce29
mov esi, eax
lea edx, [esp + 0x3c]
lea eax, [esp + 0x18]
call fcn.00403750
push str.qtip1
call ebp
cmp eax, ebx
je 0x40ce44
mov esi, eax
mov edx, str.qtip1
lea eax, [esp + 0x18]
call fcn.00403750
lea ecx, [esp + 0x20]
lea edx, [esp + 0x24]
mov dword [esp + 0x20], ebx
call fcn.00420340
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x254], 1
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x24], ebx
call fcn.004204e0
mov eax, dword [edi + 0xa4]
push ebx
mov byte [eax + 0x7e8], bl
mov ecx, dword [edi + 0xa4]
mov edx, dword [ecx + 4]
push ebx
push 0x505
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 4]
push ebx
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov esi, dword [esp + 0x38]
cmp esi, ebx
je 0x40ceb3
call fcn.00420ac0
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, 0x4f9f74
je 0x40cee2
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x40cee2
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00498b08
add esp, 4
mov esi, dword [esp + 0x18]
lea eax, [esi - 0xc]
cmp eax, 0x4f9f74
je 0x40cf03
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x40cf03
push esi
call fcn.00498b08
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00497c58
add esp, 0x240
ret
Function at 0x40d220
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push 0x4dbfc4
push 0x4dbfc4
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [edi + 0x94]
mov ebx, eax
call fcn.00403650
mov eax, dword [edi + 4]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [edi + 0x30]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ecx
call esi
mov edx, dword [edi + 0x9c]
push 5
push edx
call esi
mov eax, dword [edi + 0x8c]
push 5
push eax
call esi
inc dword [edi + 0xa0]
pop esi
xor eax, eax
pop ebx
ret

Function at 0x40d280
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov ecx, dword [esi + 0xa4]
mov byte [ecx + 0x7e8], 1
mov eax, dword [esi + 0xa4]
mov edx, dword [eax + 4]
add eax, 4
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xf7fbffff
push eax
mov eax, dword [esi + 0xa4]
mov ecx, dword [eax + 4]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi + 0xa4]
mov eax, dword [edx + 4]
push 5
push eax
call edi
mov ecx, dword [esi + 0xa4]
mov edx, dword [ecx + 4]
push 0
push 0
push 0x505
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
pop edi
ret

Function at 0x40d300
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, eax
push edi
lea ebx, [esi + 0x700]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x718], 0
jne 0x40d347
call fcn.0040b1a0
mov eax, dword [esi + 0x94]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov ecx, dword [esi + 0x98]
push 5
push ecx
call edi
mov edx, dword [esi + 0xf4]
push 0
push edx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x4124c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4b9acb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004b7cbc
push 4
mov dword [esp + 0x20], 0
call fcn.00498bee
mov edi, eax
add esp, 4
test edi, edi
je 0x41253e
call fcn.004b7b2d
mov dword [edi], eax
call fcn.004b795b
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.004b7c7d
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x412533
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.004b7ca5
jmp 0x412540
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
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], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
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 0x412b00
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4bd7a8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412b91
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x14], bl
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], ebx
call fcn.0044efa0
test al, al
jne 0x412b65
lea ecx, [esp + 0x10]
call fcn.00447770
jmp 0x412b88
lea edx, [esp + 0x2c]
mov dword [esp + 0xc], ebx
push edx
lea edx, [esp + 0x10]
mov ecx, str.MainProc
lea ebx, [esp + 0x14]
call fcn.0044f300
test al, al
je 0x412b88
call dword [esp + 0xc]
lea ecx, [esp + 0x10]
call fcn.004476c0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x20
ret 4
Function at 0x413360
Capabilities:
Suspend thread

Disassembly:
push 1
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x413380
call fcn.0040d7c0
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
ret
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4bbadc
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [esp + 0x24]
mov eax, dword [0x4f9f84]
mov dword [edi], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov ecx, dword [0x4f9f84]
mov dword [edi + 4], ecx
mov edx, dword [0x4f9f84]
mov dword [edi + 8], edx
mov ecx, dword [0x4f9f84]
mov dword [edi + 0xc], ecx
mov edx, dword [0x4f9f84]
lea esi, [edi + 0x10]
mov dword [esi], edx
mov ecx, dword [0x4f9f84]
lea ebp, [edi + 0x14]
mov dword [ebp], ecx
mov edx, dword [0x4f9f84]
mov dword [edi + 0x18], edx
mov ecx, dword [0x4f9f84]
mov dword [edi + 0x1c], ecx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov dword [edi + 0x20], edx
mov edx, dword [esp + 0x30]
mov dword [edi + 0x24], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x28], edx
mov edx, dword [esp + 0x3c]
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], edx
mov ecx, dword [0x4f9f84]
mov dword [edi + 0x34], ecx
mov edx, dword [0x4f9f84]
mov dword [edi + 0x38], edx
mov ecx, dword [0x4f9f84]
mov dword [edi + 0x3c], ecx
mov edx, dword [0x4f9f84]
mov dword [edi + 0x40], edx
mov ecx, dword [0x4f9f84]
mov dword [edi + 0x44], ecx
mov byte [esp + 0x1c], 0xc
cmp ebx, eax
je 0x413ebb
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
mov ebx, eax
call fcn.00403650
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x413ecf
xor eax, eax
jmp 0x413ed6
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
mov ebx, eax
mov esi, ebp
call fcn.00403650
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x413eec
xor eax, eax
jmp 0x413ef3
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
mov ebx, eax
lea esi, [edi + 0x18]
call fcn.00403650
push str.SogouPinyin.exe
push str.SogouPinyin.exe
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea esi, [edi + 0x1c]
call fcn.00403650
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x20
Function at 0x4142e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 8]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWARESogouInput
push reloc.WS2_32.dll_accept
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x414378
mov eax, dword [esp + 4]
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.UpUseBT
push eax
mov esi, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41436d
cmp dword [esp + 0x10], 4
jne 0x41436d
cmp dword [esp + 8], eax
jne 0x41436d
test esi, esi
je 0x414366
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop esi
add esp, 0x14
ret
test esi, esi
je 0x414378
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
add esp, 0x14
ret
Function at 0x418790
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 0x2001f
xor esi, esi
push esi
push str.SOFTWARESogouInput
push reloc.WS2_32.dll_accept
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x418825
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.BTState
push esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418825
cmp dword [esp + 0x14], 4
jne 0x418825
mov eax, dword [esp + 8]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push 0
inc eax
push str.BTState
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
call edi
test eax, eax
sete al
test al, al
jne 0x418885
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWARESogouInput
push reloc.WS2_32.dll_accept
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x418885
test esi, esi
je 0x418863
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 8]
test eax, eax
jne 0x418885
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push eax
push str.BTState
push esi
mov dword [esp + 0x2c], 1
call edi
test esi, esi
je 0x418890
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4188a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 0x2001f
xor esi, esi
push esi
push str.SOFTWARESogouInput
push reloc.WS2_32.dll_accept
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x418935
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.SodalibState
push esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418935
cmp dword [esp + 0x14], 4
jne 0x418935
mov eax, dword [esp + 8]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push 0
inc eax
push str.SodalibState
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
call edi
test eax, eax
sete al
test al, al
jne 0x418995
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWARESogouInput
push reloc.WS2_32.dll_accept
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x418995
test esi, esi
je 0x418973
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 8]
test eax, eax
jne 0x418995
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push eax
push str.SodalibState
push esi
mov dword [esp + 0x2c], 1
call edi
test esi, esi
je 0x4189a0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0x10
ret
Function at 0x418937
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 0x2001f
xor esi, esi
push esi
push str.SOFTWARESogouInput
push reloc.WS2_32.dll_accept
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x418935
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.SodalibState
push esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418935
cmp dword [esp + 0x14], 4
jne 0x418935
mov eax, dword [esp + 8]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push 0
inc eax
push str.SodalibState
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
call edi
test eax, eax
sete al
test al, al
jne 0x418995
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWARESogouInput
push reloc.WS2_32.dll_accept
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x418995
test esi, esi
je 0x418973
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 8]
test eax, eax
jne 0x418995
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push eax
push str.SodalibState
push esi
mov dword [esp + 0x2c], 1
call edi
test esi, esi
je 0x4189a0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0x10
ret
Function at 0x41aa10
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4baf48
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
xor ebx, ebx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], ebx
mov eax, dword [eax + 0x38]
push ecx
sub esp, 0x1c
mov esi, esp
xor edx, edx
mov ecx, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x30], esp
mov word [esi + 4], dx
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x41aa81
sub ecx, edi
sar ecx, 1
push ecx
call fcn.00405e30
call fcn.0041a930
lea edx, [esp + 0x14]
call fcn.0041c080
test al, al
jne 0x41aae1
mov eax, dword [esp + 0x18]
mov ebx, 0x10
cmp dword [esp + 0x2c], ebx
jae 0x41aabb
lea eax, [esp + 0x18]
push eax
call fcn.0049b120
add esp, 4
mov esi, eax
mov edi, edx
cmp dword [esp + 0x2c], ebx
jb 0x41aadb
mov eax, dword [esp + 0x18]
push eax
call fcn.00498355
add esp, 4
mov eax, esi
mov edx, edi
jmp 0x41aaf9
cmp dword [esp + 0x2c], 0x10
jb 0x41aaf5
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00498355
add esp, 4
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00497c58
add esp, 0x30
ret 4

Function at 0x41ab20
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4baf48
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
xor ebx, ebx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], ebx
mov eax, dword [eax + 0x40]
push ecx
sub esp, 0x1c
mov esi, esp
xor edx, edx
mov ecx, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x30], esp
mov word [esi + 4], dx
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x41ab91
sub ecx, edi
sar ecx, 1
push ecx
call fcn.00405e30
call fcn.0041a930
xor esi, esi
lea edi, [esi + 0x10]
cmp dword [esp + 0x28], ebx
je 0x41abcf
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x41abc4
lea eax, [esp + 0x18]
push eax
call fcn.0049b115
add esp, 4
mov esi, eax
cmp dword [esp + 0x2c], edi
jb 0x41abe2
mov eax, dword [esp + 0x18]
push eax
call fcn.00498355
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00497c58
add esp, 0x30
ret 4
Function at 0x41ac10
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4baf48
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
xor ebx, ebx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], ebx
mov eax, dword [eax + 0x44]
push ecx
sub esp, 0x1c
mov esi, esp
xor edx, edx
mov ecx, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x30], esp
mov word [esi + 4], dx
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x41ac81
sub ecx, edi
sar ecx, 1
push ecx
call fcn.00405e30
call fcn.0041a930
xor esi, esi
lea edi, [esi + 0x10]
cmp dword [esp + 0x28], ebx
je 0x41acbf
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x41acb4
lea eax, [esp + 0x18]
push eax
call fcn.0049b115
add esp, 4
mov esi, eax
cmp dword [esp + 0x2c], edi
jb 0x41acd2
mov eax, dword [esp + 0x18]
push eax
call fcn.00498355
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00497c58
add esp, 0x30
ret 4