joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410b90
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x426060
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x10], 0
jmp 0x410bc0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x18]
call fcn.004064d0
lea eax, [esp + 0x18]
push eax
lea ecx, [ebx + 4]
mov dword [esp + 0x5c], 0
call fcn.004102c0
mov esi, dword [ebx + 0x38]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
sub esi, 0x10
mov dword [esp + 0x18], esp
mov ebp, esp
call dword [edx + 0x10]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea edx, [esi + 0xc]
jl 0x410c19
cmp eax, dword [esi]
jne 0x410c19
mov eax, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x410c4d
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x410d1f
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
add ecx, ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, 0x10
mov dword [ebp], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
call fcn.0040ffe0
mov byte [esp + 0x58], 1
call fcn.00412dc0
push eax
push str.actEnumWindows_Begin_time_u
push 0x30
call fcn.00412c70
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
push 0x410920
call dword [sym.imp.USER32.dll_EnumWindows]
call fcn.00412dc0
push eax
push str.actEnumWindows_End_time_u
push 0x30
call fcn.00412c70
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.0040ea60
test eax, eax
jne 0x410d24
mov eax, dword [ebx + 0x38]
push ecx
sub eax, 0x10
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00403570
lea edx, [esp + 0x20]
add esp, 4
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.0040e4b0
add esp, 8
test eax, eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 0
je 0x410d5b
call fcn.0040fbd0
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
call fcn.00406560
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x28
mov dword [esp + 0x10], eax
jl 0x410bc0
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
jmp fcn.004016b0
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 0
call fcn.0040fbd0
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
call fcn.00406560
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
call fcn.0040fbd0
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
call fcn.00406560
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x4c
ret
Function at 0x411680
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x10]
push 0xa
push 0
push eax
call fcn.0041a1f4
mov esi, eax
mov eax, dword [edi + 0x18]
push eax
call fcn.004128c0
add esp, 0x10
cmp eax, esi
jle 0x4116c5
mov eax, dword [edi + 0x18]
push eax
push str.act__CheckDownload__File_Size_not_Equal:_s
push 0x30
call fcn.00412c70
mov ecx, dword [edi + 0x18]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
xor eax, eax
pop esi
ret
jne 0x4116c0
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax - 4]
lea esi, [edi + 0x1c]
sub eax, 0x10
mov eax, dword [eax + 8]
mov edx, 1
sub edx, ecx
sub eax, 0x20
or edx, eax
jge 0x4116ed
push 0x20
mov ecx, esi
call fcn.00401f20
mov eax, dword [esi]
mov ecx, dword [edi + 0x18]
push ebx
push eax
push ecx
call fcn.00412aa0
mov ebx, eax
mov eax, dword [esi]
add esp, 8
test eax, eax
je 0x411712
push eax
call fcn.004195c1
add esp, 4
test eax, eax
jl 0x411770
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x411770
push ebx
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
push str.act__FileMD5String____result:_d
push 0x30
mov word [ecx + eax*2], 0
call fcn.00412c70
mov esi, dword [esi]
mov eax, dword [edi + 8]
push esi
push eax
call fcn.00419d5d
add esp, 0x14
test eax, eax
je 0x411767
mov edx, dword [edi + 0x18]
push edx
push str.act__CheckDownload__File_MD5_not_Equal:_s
push 0x30
call fcn.00412c70
mov eax, dword [edi + 0x18]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebx
pop edi
mov eax, 1
pop esi
ret
push 0x80070057
call fcn.00401220
int3
Function at 0x412820
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x412840
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4309b0]
mov dword [esp + 0x208], eax
lea eax, [esp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x104
ja 0x41289f
test eax, eax
je 0x41289f
mov ecx, dword [esp + 0x210]
push ecx
push 0
push str.bdguard
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x208]
call fcn.0041931e
add esp, 0x20c
ret
mov ecx, dword [esp + 0x208]
xor eax, eax
call fcn.0041931e
add esp, 0x20c
ret

Function at 0x4128c0
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4128e9
xor eax, eax
pop esi
ret
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret

Function at 0x412910
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push edi
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov dword [esp + 4], eax
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea edx, [esp + 0x18]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x80]
push eax
push ecx
mov dword [esp + 0x3c], 0x44
mov word [esp + 0x6c], 5
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
jne 0x41296c
add esp, 0x54
ret
mov edx, dword [esp]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
mov eax, 1
pop esi
add esp, 0x54
ret

Function at 0x412990
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push esi
push edi
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], 3
mov dword [esp + 0x18], str.open
mov dword [esp + 0x10], 0x140
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4129e6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
add esp, 0x3c
ret
Function at 0x4129f0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x4309b0]
push ebx
push esi
push edi
mov dword [esp + 0x21c], eax
xor eax, eax
mov ecx, 0x82
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push 0x104
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00419b28
lea edx, [esp + 0x1c]
push edx
call fcn.004195c1
mov ebx, eax
add esp, 0x10
xor esi, esi
test ebx, ebx
jle 0x412a7a
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp word [esp + esi*2 + 0x10], 0x5c
jne 0x412a75
lea eax, [esp + 0x10]
push eax
mov word [esp + esi*2 + 0x14], 0
call edi
cmp eax, 0xffffffff
jne 0x412a6e
push 0
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov word [esp + esi*2 + 0x10], 0x5c
inc esi
cmp esi, ebx
jl 0x412a46
mov ecx, dword [esp + 0x21c]
mov eax, 1
call fcn.0041931e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x412aa0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x18
mov eax, dword [0x4309b0]
push edi
push 0
push 0x80
push 3
push 0
push 3
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x412ae1
xor eax, eax
pop edi
mov ecx, dword [esp + 0x14]
call fcn.0041931e
add esp, 0x18
ret
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.00419d94
add esp, 4
push 0
lea ecx, [esp + 0x10]
push ecx
push esi
mov ebx, eax
push ebx
push edi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [esp + 0x10]
push edx
push esi
push ebx
call fcn.004080b0
lea eax, [esp + 0x10]
test eax, eax
je 0x412b62
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x412b62
xor eax, eax
nop
movzx ecx, byte [esp + eax + 0x10]
mov esi, ecx
shr esi, 4
mov si, word [esi*2 + str.0123456789abcdef]
and ecx, 0xf
mov word [edx + eax*4], si
mov cx, word [ecx*2 + str.0123456789abcdef]
mov word [edx + eax*4 + 2], cx
inc eax
cmp eax, 0x10
jb 0x412b30
mov word [edx + eax*4], 0
push ebx
call fcn.00419d8f
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x20]
pop esi
pop ebx
mov eax, 1
pop edi
call fcn.0041931e
add esp, 0x18
ret

Function at 0x412bc0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x4309b0]
push edi
mov dword [esp + 0x8c], eax
xor eax, eax
mov word [esp + 8], 0
mov ecx, 0x1f
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x40
lea eax, [esp + 0xc]
push eax
push str._hao123toy_Log_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x412c32
cmp eax, 0x40
ja 0x412c32
lea ecx, [esp + 8]
push 0x429cd4
push ecx
call fcn.00419d5d
add esp, 8
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esp + 0x8c]
call fcn.0041931e
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x8c]
xor eax, eax
call fcn.0041931e
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x412c70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x828
mov eax, dword [0x4309b0]
mov dword [esp + 0x824], eax
mov eax, dword [0x4321f4]
test eax, eax
push esi
push edi
je 0x412d9f
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push 0
push 1
push 0x4321f0
call esi
test eax, eax
je 0x412cc5
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call edi
push 0
push 1
push 0x4321f0
call esi
test eax, eax
jne 0x412cb2
xor eax, eax
mov word [esp + 0x20], 0
mov ecx, 0x200
lea edi, [esp + 0x22]
push 0x400
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push str.LOG
push eax
call fcn.00419d99
lea ecx, [esp + 0x2c]
push ecx
call fcn.004195c1
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
push edx
push ecx
mov edx, 0x400
sub edx, eax
push edx
lea eax, [esp + eax*2 + 0x3c]
push eax
call fcn.0041a525
push 0x400
lea ecx, [esp + 0x44]
push 0x429cdc
push ecx
call fcn.00419d99
mov eax, dword [0x4301ac]
add esp, 0x2c
cmp eax, 0xffffffff
je 0x412d95
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x1c], 0
call dword [0x4321f8]
push 1
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
call dword [0x4321fc]
test eax, eax
jne 0x412d95
movzx ecx, word [esp + 0xc]
mov edx, dword [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x4301ac]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [0x4301ac]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea edx, [esp + 0xc]
push edx
call dword [0x432200]
mov dword [0x4321f0], 0
mov ecx, dword [esp + 0x82c]
call fcn.0041931e
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x412e50
Capabilities:
Query environment variable

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
push esi
push edi
push str._APPDATA__baiduhao123_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x412e80
cmp eax, esi
ja 0x412e80
push edi
call fcn.004129f0
add esp, 4
pop edi
mov eax, 1
pop esi
ret
pop edi
xor eax, eax
pop esi
ret
Function at 0x412e90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x210
mov eax, dword [0x4309b0]
push ebx
mov ebx, dword [esp + 0x21c]
test ebx, ebx
push ebp
push esi
mov dword [esp + 0x218], eax
push edi
mov byte [esp + 0x13], 0
mov ebp, 0x5e
je 0x412ef0
push ebp
push ebx
call fcn.00419bc3
add esp, 8
test eax, eax
je 0x412ef0
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
cmp cx, 0x22
je 0x412ef0
cmp cx, bp
je 0x412ef0
push ebp
push eax
call fcn.00419bc3
add esp, 8
test eax, eax
jne 0x412ed0
mov eax, dword [esp + 0x224]
test eax, eax
jne 0x412fd3
cmp word [ebx], 0x22
mov edi, ebx
mov esi, ebx
jne 0x412f3c
mov ax, word [ebx + 2]
test ax, ax
lea esi, [ebx + 2]
mov byte [esp + 0x13], 1
mov ecx, esi
je 0x412f64
lea esp, [esp]
cmp ax, 0x22
jne 0x412f2c
cmp word [esi - 2], bp
jne 0x412f62
mov ax, word [esi + 2]
add esi, 2
test ax, ax
mov edi, esi
jne 0x412f20
jmp 0x412f64
mov ax, word [esi]
test ax, ax
mov ecx, ebx
je 0x412f64
cmp ax, 0x20
je 0x412f62
cmp ax, 9
je 0x412f62
mov ax, word [esi + 2]
add esi, 2
test ax, ax
mov edi, esi
jne 0x412f46
jmp 0x412f64
mov edi, esi
mov bx, word [edi]
push 0
lea eax, [esp + 0x18]
push eax
push 0x104
push str..exe
push ecx
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
mov ebp, eax
shl ebp, 1
test ebp, ebp
je 0x412faa
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x412faa
add ebp, 2
je 0x412faa
cmp ebp, 0x208
jb 0x412fcc
mov word [edi], bx
cmp word [esi], 0
je 0x413024
mov al, byte [esp + 0x13]
test al, al
jne 0x413024
mov ebx, dword [esp + 0x228]
add esi, 2
mov edi, esi
jmp 0x412f3c
mov word [edi], bx
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x230]
mov esi, dword [esp + 0x22c]
push ecx
push eax
push esi
call fcn.00419b28
push esi
push str.strProcessPath___s_n
push 0x30
call fcn.00412c70
add esp, 0x18
cmp word [esi], 0
mov edi, 1
je 0x413024
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41303d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x413024
call esi
cmp eax, 3
jne 0x41303d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20c]
call fcn.0041931e
add esp, 0x210
ret
mov ecx, dword [esp + 0x21c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
call fcn.0041931e
add esp, 0x210
ret
Function at 0x413060
Capabilities:
Initialize iwebbrowser2

Disassembly:
sub esp, 0x14
push edi
push str.using_com_method_to_start_IE
push 0x30
call fcn.00412c70
add esp, 8
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
jl 0x41310e
lea eax, [esp + 4]
push eax
push 0x42b0f0
push 4
push edi
push 0x42b0e0
mov dword [esp + 0x18], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [esp + 4], edi
je 0x413108
push esi
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 8]
mov edx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [edx + 0xa4]
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea edx, [esp + 0xc]
push edx
push edx
push edx
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push esi
push eax
call dword [ecx + 0x2c]
push eax
push str.act__IWebBrowser2_Navigate___result:__d
push 0x30
call fcn.00412c70
add esp, 0xc
push esi
mov edi, 1
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop esi
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, edi
pop edi
add esp, 0x14
ret

Function at 0x413120
Capabilities:
Delete registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareBaiduHao123hao123desk
push SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x413188
push esi
mov esi, dword [esp + 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.BaiduTn
push esi
call edi
push str.NewBaiduTn
push esi
call edi
test esi, esi
je 0x41317d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 8
ret
mov eax, 1
add esp, 8
ret

Function at 0x4131a0
Capabilities:
Delete registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareBaiduHao123hao123desk
push SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4131fc
push esi
mov esi, dword [esp + 4]
push str.TnFromIEHomePage
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
je 0x4131f2
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 8
ret
mov eax, 1
add esp, 8
ret

Function at 0x413210
Capabilities:
Delete registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareBaiduHao123hao123desk
push SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41326c
push esi
mov esi, dword [esp + 4]
push str.IEHomePage
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
je 0x413262
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 8
ret
mov eax, 1
add esp, 8
ret
Function at 0x413280
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push edi
lea eax, [esp + 0xc]
push eax
xor edi, edi
lea ecx, [esp + 8]
push ecx
push edi
push 0x2001f
push edi
push edi
push edi
push str.SoftwareBaiduHao123hao123desk
push SysReAllocString
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x413304
push esi
mov esi, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push edi
push str.InstallValue
push esi
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4132f8
cmp dword [esp + 8], 4
jne 0x4132f8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov dword [edx], eax
mov edi, 1
test esi, esi
je 0x413303
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, edi
pop edi
add esp, 0xc
ret

Function at 0x413310
Capabilities:
Delete registry value
Get geographical location

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareBaiduHao123hao123desk
push SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41336c
push esi
mov esi, dword [esp + 4]
push str.CountryType
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
je 0x413362
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 8
ret
mov eax, 1
add esp, 8
ret

Function at 0x413380
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push edi
lea eax, [esp + 0xc]
push eax
xor edi, edi
lea ecx, [esp + 8]
push ecx
push edi
push 0x2001f
push edi
push edi
push edi
push str.SoftwareBaiduHao123hao123desk
push SysReAllocString
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x413404
push esi
mov esi, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push edi
push str.LaunchCount
push esi
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4133f8
cmp dword [esp + 8], 4
jne 0x4133f8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov dword [edx], eax
mov edi, 1
test esi, esi
je 0x413403
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, edi
pop edi
add esp, 0xc
ret
Function at 0x413410
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareBaiduHao123hao123desk
push SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41347f
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push str.LaunchCount
push esi
mov dword [esp + 0x20], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x413475
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 8
ret
mov eax, 1
add esp, 8
ret

Function at 0x4134d0
Capabilities:
Delete registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareBaiduHao123hao123desk
push SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41352c
push esi
mov esi, dword [esp + 4]
push str.LaunchCount
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
je 0x413522
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 8
ret
mov eax, 1
add esp, 8
ret

Function at 0x413540
Capabilities:
Delete registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareBaiduHao123hao123desk
push SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41359c
push esi
mov esi, dword [esp + 4]
push str.InstallValue
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
je 0x413592
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 8
ret
mov eax, 1
add esp, 8
ret