joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433ab0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x469af8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x433ae9
inc eax
mov dword [esi + 0x10], eax
jmp 0x433bfc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x433afd
mov eax, 0xffffffc7
jmp 0x433bfe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x433b0e
cmp dword [esi + 8], eax
jne 0x433afd
cmp dword [esi + 8], eax
jne 0x433b27
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x433b27
mov eax, 0xffffffc7
jmp 0x433bfe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x433b3b
push eax
mov ecx, ebx
call fcn.004332e0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004049d0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x433b6c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004049f0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00432a50
test eax, eax
mov dword [esp + 0x38], eax
je 0x433b9f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x55edc8
call fcn.00404bd0
mov eax, dword [esp + 0x38]
jmp 0x433bfe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00433910
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x433be3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00433930
mov esi, eax
test esi, esi
jne 0x433c13
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00433910
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x433bb5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x55edc8
call fcn.00404bd0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x55edc8
call fcn.00404bd0
mov eax, esi
jmp 0x433bfe

Function at 0x436d40
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x436da0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x436da0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x436da0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x436da0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x436de0
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 0x43ccf0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46a128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00462ffd
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043c690
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00462f2b
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0045f7ef
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0045f7ef
push 1
push 0
push 0
mov ecx, esi
call fcn.0045f797
push 1
push 0
push 1
mov ecx, esi
call fcn.0045f797
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046306f
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43ce70
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46a148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00462ffd
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043c690
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00462f2b
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43cf34
cmp dword [esp + 0x40], 1
jne 0x43cf32
cmp ecx, eax
jge 0x43cf34
mov eax, ecx
cmp eax, 0xc8
jge 0x43cf40
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043ccf0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046306f
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43d6c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46a1b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045dc0f
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004632a5
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004647c1
test eax, eax
je 0x43d7dc
mov ecx, dword [esp + 0x3c]
call fcn.004632d2
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43d7a0
push edi
mov ecx, esi
call fcn.00460936
mov ecx, esi
call fcn.0043d940
cmp dword [esp + 0x38], 1
jne 0x43d7d5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00460a71
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x440200
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x440233
push esi
call fcn.004432f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44022c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4402b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4402a2
mov eax, dword [esi + 8]
test eax, eax
je 0x440257
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44029e
cmp eax, 2
je 0x4402a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44024a
cmp eax, 3
je 0x44027d
cmp eax, 1
jne 0x44024a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44024a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44024a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004402e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4402c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004402e0
add esp, 4
pop esi
ret

Function at 0x45ea05
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45ea3d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045cab9
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045ca91
jmp 0x45ea49
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4600f3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x460135
call fcn.00465bac
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x460135
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46012c
xor eax, eax
jmp 0x46013d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00460143
pop edi
pop esi
pop ebx
ret 4

Function at 0x4660dc
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46610a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x466128
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00466042
jmp 0x466128
mov eax, dword [esi + 0x14]
test eax, eax
je 0x466128
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00466042
test edi, edi
mov eax, edi
jne 0x466112
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401690
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x218
mov eax, dword [0x435080]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x43011c
mov esi, eax
push 0x65
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x401740
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push ebx
push str._sminidownload.exe
mov edi, eax
lea eax, [esp + 0x18]
push 0x104
push eax
call fcn.004110eb
add esp, 0x10
push 0
push 0x20
push 2
push 0
push 7
push 0xc0000000
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x401740
mov eax, dword [esp + 8]
push 0
lea edx, [esp + 0x10]
push edx
push eax
push edi
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x401756
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00410f66
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
call fcn.00403070
test eax, eax
je 0x401740
push 3
call fcn.00401790
mov ecx, dword [esp + 0x220]
add esp, 4
pop edi
pop esi
xor ecx, esp
call fcn.00410f66
mov esp, ebp
pop ebp
ret
Function at 0x402b60
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a8
mov eax, dword [0x435080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x28c]
push eax
push 0x104
call esi
push 0x7e
xor ebx, ebx
lea edx, [ebp - 0x82]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x84], cx
call fcn.00411530
push 0x80
lea edi, [ebp - 0x84]
call fcn.00402cd0
add esp, 0x10
test eax, eax
je 0x402c33
push 2
call fcn.00401790
add esp, 4
lea eax, [ebp - 0x4a0]
push eax
push 0x104
mov dword [ebp - method.UtilNetwork::CBindStatusCallback.virtual_0], vtable.UtilNetwork::CBindStatusCallback.0
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x290], ebx
call esi
push 0x104
lea ecx, [ebp - 0x4a0]
push ecx
lea edx, [ebp - 0x6a8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x430cd4
lea eax, [ebp - 0x6a8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea esi, [ebp - 0x6a8]
call fcn.0040f6d0
test eax, eax
je 0x402c3e
mov ecx, esi
push ecx
call fcn.0040f760
jmp 0x402c3e
lea ebx, [ebp - 0x28c]
call fcn.00401690
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00410f66
mov esp, ebp
pop ebp
ret 0x10

Function at 0x402c60
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push esi
lea ecx, [ebp - 8]
push ecx
push str.InstallPath
push str.SOFTWARESogouComponentsDOWNLOAD
push 0x80000002
mov dword [ebp - 4], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x402cbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x104
push esi
push str.PROGRAMFILES
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push str.SogouDownLoad
push esi
push str._s_s
push 0x104
push esi
call fcn.004110eb
add esp, 0x14
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x402cd0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1284
call fcn.00418190
mov eax, dword [0x435080]
xor eax, esp
mov dword [esp + 0x1280], eax
mov eax, dword [ebp + 8]
push esi
lea ecx, [esp + 8]
push ecx
push edi
lea edx, [esp + 0x14]
push edx
push str.Version
push str.SOFTWARESogouComponentsDOWNLOAD
push 0x80000002
mov dword [esp + 0x20], eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x402da1
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1082]
push ecx
mov word [esp + 0x1084], ax
call fcn.00411530
add esp, 0xc
lea esi, [esp + 0x1078]
call fcn.00402c60
push str.DlgHandler.dll
mov edx, esi
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402db9
mov ecx, esi
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.004063a0
test edi, edi
je 0x402db9
movzx eax, word [esp + 0x26]
movzx ecx, word [esp + 0x24]
movzx edx, word [esp + 0x22]
push eax
movzx eax, word [esp + 0x24]
push ecx
push edx
push eax
push str._d._d._d._d
push 0x104
push edi
call fcn.004110eb
add esp, 0x1c
mov eax, 1
pop esi
mov ecx, dword [esp + 0x1280]
xor ecx, esp
call fcn.00410f66
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1284]
pop esi
xor ecx, esp
xor eax, eax
call fcn.00410f66
mov esp, ebp
pop ebp
ret

Function at 0x402dd0
Capabilities:
Check if file exists
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1288
call fcn.00418190
mov eax, dword [0x435080]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.00411530
add esp, 0xc
lea edx, [ebp - 0x1284]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 8]
push ecx
push str.InstallPath
push str.SOFTWARESogouComponentsDOWNLOAD
push 0x80000002
mov dword [ebp - 0x1284], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x402e78
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x104
lea edx, [ebp - 0x218]
push edx
push str.PROGRAMFILES
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push str.SogouDownLoad
lea eax, [ebp - 0x218]
push eax
push str._s_s
mov ecx, eax
push 0x104
push ecx
call fcn.004110eb
add esp, 0x14
push str.DownLoadDlg.exe
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402eeb
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x1280]
push edx
call fcn.004063a0
mov eax, dword [ebp - 0x1270]
mov ecx, dword [ebp - 0x126c]
mov dword [ebp - 0xc], eax
movzx edx, word [ebp - 0xa]
movzx eax, ax
shl eax, 8
add eax, edx
mov dword [ebp - 8], ecx
movzx edx, word [ebp - 6]
shl eax, 8
movzx ecx, cx
add eax, ecx
shl eax, 8
add eax, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410f66
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00410f66
mov esp, ebp
pop ebp
ret
Function at 0x402f00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cb38
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x435080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
push esi
lea ecx, [ebp - 0x14]
push ecx
push str.HWID
push str.SOFTWARESogouComponentsDOWNLOAD
push 0x80000002
mov dword [ebp - 0x10], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x402f5e
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x402f94
push edi
push 0
push esi
call fcn.00411530
add esp, 0xc
mov dword [ebp - 0x14], vtable.CQMSeqIDGen.0
push esi
mov dword [ebp - 4], 0
call fcn.00408c70
movzx eax, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x435080]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00411530
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
push ecx
push 0x430480
push str.SOFTWARESogouComponentsDOWNLOAD
push 0x80000002
mov dword [ebp - 0x210], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x40305b
push str.x400443_18
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov eax, dword [ebp + 8]
push eax
push esi
push 1
push 0x430480
push str.SOFTWARESogouComponentsDOWNLOAD
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x40305b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410f66
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.00410f66
mov esp, ebp
pop ebp
ret
Function at 0x403070
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [0x435080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x40
xor edi, edi
lea eax, [ebp - 0x47c]
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x480], 0x44
call fcn.00411530
xor eax, eax
push 0x40e
lea edx, [ebp - 0x416]
xor ecx, ecx
push edi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], eax
push edx
mov dword [ebp - 0x424], 0xc
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x41c], 1
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], eax
mov word [ebp - 0x418], cx
call fcn.00411530
push 0x207
lea eax, [ebp - 0x418]
push esi
push eax
call fcn.0041f24d
add esp, 0x24
lea ecx, [ebp - 0x434]
push ecx
lea edx, [ebp - 0x480]
push edx
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x424]
push eax
mov ecx, eax
push ecx
lea edx, [ebp - 0x418]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x403158
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410f66
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x434]
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x403171
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x434]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x430]
push edx
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00410f66
mov esp, ebp
pop ebp
ret

Function at 0x404700
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 8
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
lea eax, [ebp - 4]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x40479c
nop
mov eax, dword [ebp - 4]
test eax, eax
je 0x4047d5
inc eax
push eax
call fcn.00410f50
mov esi, eax
add esp, 4
test esi, esi
je 0x40479c
mov edx, dword [ebp - 4]
inc edx
push edx
push 0
push esi
call fcn.00411530
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 8]
push eax
push ecx
push esi
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4047a5
mov eax, dword [ebp - 8]
lea ebx, [eax + edi]
cmp ebx, 0x32000
ja 0x4047ba
add edi, dword [ebp + 0xc]
push eax
push esi
push edi
call fcn.00417890
push esi
mov edi, ebx
call fcn.0041121b
mov edx, dword [ebp + 8]
add esp, 0x10
push 0
push 0
lea ecx, [ebp - 4]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x404720
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.0041121b
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x32000
sub eax, edi
add edi, dword [ebp + 0xc]
push eax
push esi
push edi
call fcn.00417890
push esi
call fcn.0041121b
add esp, 0x10
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret