joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403180
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x435084]
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.00415d50
add esp, 0xc
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x228]
push ecx
push str.LaunchAppPath
push str.SOFTWARESogouSoftware
push 0x80000002
mov dword [ebp - 0x224], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x40325b
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40325b
push 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xd1871d0a
mov dword [ebp - 0x218], 0x4a3c4929
mov dword [ebp - 0x214], 0x4268e5aa
mov dword [ebp - 0x210], 0x4422e635
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [ebp - 0x220]
push edx
push 0x42d34c
push 0
push 1
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.ole32.dll_CoGetClassObject]
test eax, eax
jns 0x40326b
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410f94
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.00410f94
mov esp, ebp
pop ebp
ret

Function at 0x4032a0
Capabilities:
Accept command line arguments
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x435084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
push eax
push 0x104
call esi
call fcn.00403180
test eax, eax
je 0x403387
push edi
push 2
call fcn.00402cf0
add esp, 4
lea ecx, [ebp - 0x420]
push ecx
push 0x104
mov dword [ebp - method.UtilNetwork::CBindStatusCallback.virtual_0], vtable.UtilNetwork::CBindStatusCallback.0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
call esi
push 0x104
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x430fc4
lea ecx, [ebp - 0x628]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x628]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40335d
lea eax, [ebp - 0x628]
push eax
call edi
lea ecx, [ebp - 0x628]
push ecx
call fcn.0040f9d0
lea edx, [ebp - 0x628]
push edx
mov esi, eax
call edi
pop edi
test esi, esi
je 0x403396
lea eax, [ebp - 0x628]
push eax
call fcn.0040f930
jmp 0x403396
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00402b80
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00410f94
mov esp, ebp
pop ebp
ret 0x10
Function at 0x403670
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x435084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00415d50
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
push ecx
push str.InstallPath
push str.SOFTWARESogouSoftware
push 0x80000002
mov dword [ebp - 0x210], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x403715
push 0x208
lea edx, [ebp - 0x20c]
push edx
push str.PROGRAMFILES
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push str.SogouSoftware
lea eax, [ebp - 0x20c]
push eax
push str._s_s
mov ecx, eax
push 0x208
push ecx
call fcn.0041ba07
add esp, 0x14
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x20c]
push ecx
mov ebx, eax
call fcn.004028d0
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00410f94
mov esp, ebp
pop ebp
ret

Function at 0x403750
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x435084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00415d50
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
push ecx
push str.LaunchAppPath
push str.SOFTWARESogouSoftware
push 0x80000002
mov dword [ebp - 0x210], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x403802
mov ecx, esi
call fcn.00403670
test eax, eax
jne 0x4037d6
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410f94
mov esp, ebp
pop ebp
ret
push str.SogouSoftware.exe
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.SogouSoftware.exe
push esi
mov esi, eax
call fcn.004029f0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410f94
mov esp, ebp
pop ebp
ret
push ebx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x20c]
push ecx
mov ebx, eax
call fcn.004028d0
mov ecx, dword [ebp - 4]
pop ebx
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00410f94
mov esp, ebp
pop ebp
ret
Function at 0x403840
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42c5db
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1078
call fcn.00417420
mov eax, dword [0x435084]
xor eax, esp
mov dword [esp + 0x1074], eax
push esi
push edi
mov eax, dword [0x435084]
xor eax, esp
push eax
lea eax, [esp + 0x1088]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0xc]
push eax
push ebx
lea ecx, [esp + 0x18]
push ecx
push str.Version
push str.SOFTWARESogouSoftware
push 0x80000002
mov dword [esp + 0x24], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x40395e
mov edx, dword [0x4362dc]
mov dword [esp + 0xc], edx
lea ecx, [esp + 0xc]
mov dword [esp + 0x1090], 0
call fcn.004033b0
test eax, eax
je 0x403965
push str.SogouSoftware.dll
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.SogouSoftware.dll
lea ecx, [esp + 0x10]
push ecx
mov esi, eax
call fcn.004029f0
mov esi, dword [esp + 0xc]
push esi
lea edx, [esp + 0x18]
push edx
call fcn.00406b90
shr edi, 1
test ebx, ebx
je 0x403969
cmp edi, 8
jb 0x403969
movzx eax, word [esp + 0x2a]
movzx ecx, word [esp + 0x28]
movzx edx, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x28]
push ecx
push edx
push eax
push str._d._d._d._d
push edi
push ebx
call fcn.0041ba07
add esp, 0x1c
mov edx, ebx
call fcn.004039b0
lea ecx, [esi - 0xc]
cmp ecx, 0x4362cc
je 0x40395e
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40395e
push esi
call fcn.00411ad6
add esp, 4
mov eax, 1
jmp 0x40398d
mov esi, dword [esp + 0xc]
lea edx, [esi - 0xc]
cmp edx, 0x4362cc
je 0x40398b
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40398b
push esi
call fcn.00411ad6
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1088]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1074]
xor ecx, esp
call fcn.00410f94
mov esp, ebp
pop ebp
ret

Function at 0x4039b0
Capabilities:
Set registry value

Disassembly:
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4039b6
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push str.Version
push str.SOFTWARESogouSoftware
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
pop esi
ret
Function at 0x4039f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x435084]
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.00415d50
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
push ecx
push 0x430690
push str.SOFTWARESogouSoftware
push 0x80000002
mov dword [ebp - 0x210], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x403ab5
push str.sogousoftware_normal
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.00413574
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403a77
sub eax, edx
sar eax, 1
add eax, eax
push eax
push esi
push 1
push 0x430690
push str.SOFTWARESogouSoftware
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x403ab5
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410f94
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.00410f94
mov esp, ebp
pop ebp
ret

Function at 0x403ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42caf8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x435084]
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.SOFTWARESogouSoftware
push 0x80000002
mov dword [ebp - 0x10], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x403b2e
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 0x403b64
push edi
push 0
push esi
call fcn.00415d50
add esp, 0xc
mov dword [ebp - 0x14], vtable.CQMSeqIDGen.0
push esi
mov dword [ebp - 4], 0
call fcn.004093e0
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 0x403e90
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c599
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x435084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x38
xor ebx, ebx
lea eax, [ebp - 0x15c]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x160], 0x3c
call fcn.00415d50
add esp, 0xc
mov dword [ebp - 0x150], esi
lea ecx, [ebp - 0x124]
mov esi, 1
push ecx
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x15c], 0x40
mov dword [ebp - 0x124], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 2
jne 0x403f36
cmp dword [ebp - 0x120], 6
jb 0x403f36
cmp dword [ebp + 0xc], esi
jne 0x403f36
mov dword [ebp - 0x154], str.runas
lea edx, [ebp - 0x160]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x403f6d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x128]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x403f5e
mov ebx, esi
mov edx, dword [ebp - 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403fd1
test byte [0x437eb0], 1
jne 0x403fb8
or dword [0x437eb0], esi
xor eax, eax
mov dword [ebp - 4], eax
mov dword [0x437c18], eax
mov dword [0x437e24], 0x4308fc
mov dword [0x437e28], eax
mov byte [ebp - 4], 1
mov word [0x437c1c], ax
call fcn.00404af0
push 0x42cd40
call fcn.004122eb
add esp, 4
mov dword [ebp - 4], 0xffffffff
push str.ShellExecuteEx_fail
push str._info___NS_ProcessAndThread::CallProcessWait
push 2
mov ecx, 0x437c18
call fcn.00404ca0
add esp, 0xc
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00410f94
mov esp, ebp
pop ebp
ret
Function at 0x4040f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x435084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp esi, ebx
jne 0x40411b
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410f94
mov esp, ebp
pop ebp
ret
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404120
sub eax, edx
sar eax, 1
push edi
mov edi, eax
cmp edi, 0x104
jl 0x40414c
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410f94
mov esp, ebp
pop ebp
ret
push 0x20a
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.00415d50
lea edx, [ebp - 0x210]
add esp, 0xc
mov eax, esi
sub edx, esi
jmp 0x404170
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x404170
xor eax, eax
xor ecx, ecx
xor edx, edx
mov word [ebp + edi*2 - 0x210], cx
mov dword [ebp - 0x218], eax
mov word [ebp + edi*2 - 0x20e], dx
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
mov word [ebp - 0x214], ax
mov ecx, 0x414
or ax, cx
lea edx, [ebp - 0x210]
mov dword [ebp - 0x228], edx
mov ecx, 0xffbf
lea edx, [ebp - 0x230]
and ax, cx
push edx
mov dword [ebp - 0x21a], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x216], ebx
mov dword [ebp - 0x22c], 3
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x220], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
pop edi
xor ecx, ebp
inc eax
pop ebx
call fcn.00410f94
mov esp, ebp
pop ebp
ret
Function at 0x404230
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x67c
mov eax, dword [0x435084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x674], esi
mov dword [ebp - 0x66c], 0
test esi, esi
je 0x4043cb
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4043cb
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.00415d50
push esi
lea edx, [ebp - 0x210]
push str._s.
push edx
mov edx, 0x104
call fcn.00404de0
add esp, 0x18
lea eax, [ebp - 0x668]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x670], eax
cmp eax, 0xffffffff
je 0x4043cb
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x416]
push eax
mov word [ebp - 0x418], dx
call fcn.00415d50
add esp, 0xc
lea ecx, [ebp - 0x67c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ebx, dword [ebp - 0x678]
xor edi, edi
xor eax, eax
add edi, dword [ebp - 0x67c]
adc ebx, eax
jmp 0x404310
mov ecx, 0x2e
cmp cx, word [ebp - 0x63c]
je 0x404391
test byte [ebp - 0x668], 0x10
je 0x404391
xor edx, edx
mov ecx, edi
sub ecx, edx
mov edx, ebx
sbb edx, dword [ebp - 0x660]
xor esi, esi
sub ecx, dword [ebp - 0x664]
push 0xc9
push 0x2a69c000
sbb edx, esi
push edx
push ecx
call fcn.0041e660
test edx, edx
jne 0x404359
cmp eax, 0x1e
jbe 0x404391
mov edx, dword [ebp - 0x674]
lea ecx, [ebp - 0x63c]
push ecx
push edx
lea eax, [ebp - 0x418]
push str._s_s
push eax
mov edx, 0x104
call fcn.00404de0
add esp, 0x10
lea esi, [ebp - 0x418]
call fcn.004040f0
inc dword [ebp - 0x66c]
mov esi, dword [ebp - 0x670]
lea ecx, [ebp - 0x668]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x404310
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x66c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410f94
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00410f94
mov esp, ebp
pop ebp
ret
Function at 0x4043e0
Capabilities:
Check if file exists
Check os version
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x560
mov eax, dword [0x435084]
xor eax, esp
mov dword [esp + 0x55c], eax
push esi
push edi
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x28], 2
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
jne 0x404441
cmp dword [esp + 0x1c], 6
jb 0x404441
push 0x104
lea esi, [ebx + 0x20]
push esi
push str.USERPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push str.AppDataLocalLow
push esi
call edi
jmp 0x404455
push 0x104
lea esi, [ebx + 0x20]
push esi
push str.SYSTEMDRIVE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push str.SogouSoftwareLog
push esi
call edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40448a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x404491
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x55c]
xor ecx, esp
call fcn.00410f94
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00404230
xor eax, eax
lea edx, [esp + 8]
xor ecx, ecx
push edx
mov word [esp + 0x134], cx
mov dword [esp + 0x136], eax
mov dword [esp + 0x13a], eax
mov dword [esp + 0x13e], eax
mov dword [esp + 0x142], eax
mov dword [esp + 0x146], eax
mov dword [esp + 0x14a], eax
mov dword [esp + 0x14e], eax
mov word [esp + 0x152], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0xe]
movzx ecx, word [esp + 0xa]
movzx edx, word [esp + 8]
push eax
push ecx
push edx
lea eax, [esp + 0x13c]
push str._04d__02d__02d
push eax
mov edx, 0x10
call fcn.00404e00
add esp, 0x14
lea ecx, [esp + 0x130]
push ecx
push esi
call edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404533
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x404474
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x15a]
push eax
mov word [esp + 0x15c], dx
call fcn.00415d50
add esp, 0xc
lea ecx, [esp + 0x150]
push 0x104
push ecx
call fcn.00403ff0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x36a]
push eax
mov word [esp + 0x36c], dx
call fcn.00415d50
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movzx edx, word [esp + 0x14]
push eax
movzx eax, word [esp + 0x16]
lea ecx, [esp + 0x154]
push ecx
movzx ecx, word [esp + 0x18]
push edx
push eax
push ecx
lea edx, [esp + 0x36c]
push str._02d_02d_02d__s__d.txt
push edx
mov edx, 0x104
call fcn.00404de0
add esp, 0x1c
lea eax, [esp + 0x358]
push eax
push esi
call edi
push 0x430820
push esi
call fcn.0041bc76
xor ecx, ecx
add esp, 8
test eax, eax
setne cl
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, ecx
mov ecx, dword [esp + 0x55c]
xor ecx, esp
call fcn.00410f94
mov esp, ebp
pop ebp
ret
Function at 0x4048b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c04e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x435084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [edi + 4]
xor esi, esi
cmp ecx, esi
je 0x4048eb
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [edi + 4], esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
push str.DebugPrintType
push str.SOFTWAREDebugMsg
push 0x80000002
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 0x10]
and eax, 3
dec eax
je 0x40499c
dec eax
je 0x40495b
dec eax
je 0x404938
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x230
call fcn.004115ba
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 2
cmp eax, esi
je 0x4049b2
push eax
call fcn.004049d0
jmp 0x4049b4
push 0x228
call fcn.004115ba
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], esi
cmp ebx, esi
je 0x404995
lea eax, [ebx + 8]
mov byte [ebp - 4], 1
push eax
mov dword [ebx], vtable.CDebugLog.0
mov dword [ebx + 4], esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call fcn.004043e0
mov dword [edi + 4], ebx
jmp 0x4049b7
xor ebx, ebx
mov dword [edi + 4], ebx
jmp 0x4049b7
push 4
call fcn.004115ba
add esp, 4
cmp eax, esi
je 0x4049b2
mov dword [eax], vtable.CDebugView.0
jmp 0x4049b4
xor eax, eax
mov dword [edi + 4], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404af0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x435084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x220]
push edx
push str.DebugMsgType
push str.SOFTWAREDebugMsg
xor edi, edi
push 0x80000002
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x21c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x404b51
mov eax, dword [ebp - 0x218]
or dword [0x437c18], eax
push 0x206
lea edx, [ebp - 0x20e]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x210], cx
call fcn.00415d50
add esp, 0xc
push str.Kernel32.dll
mov dword [ebp - 0x214], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x214], eax
cmp eax, edi
je 0x404bc7
push str.GetModuleHandleExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov dword [ebp - 0x214], eax
cmp esi, edi
je 0x404bc7
lea ecx, [ebp - 0x214]
push ecx
push fcn.00403ff0
push 4
call esi
mov eax, dword [ebp - 0x214]
push 0x104
lea edx, [ebp - 0x210]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
lea eax, [ebp - 0x210]
push eax
push str.SogouSoftwareLog
push str.__s___s_
push 0x104
push 0x437c1c
call fcn.0041ba07
add esp, 0x14
mov edi, 0x437e24
call fcn.004048b0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00410f94
mov esp, ebp
pop ebp
ret

Function at 0x404ec0
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 0x404f5c
nop
mov eax, dword [ebp - 4]
test eax, eax
je 0x404f95
inc eax
push eax
call fcn.00410f89
mov esi, eax
add esp, 4
test esi, esi
je 0x404f5c
mov edx, dword [ebp - 4]
inc edx
push edx
push 0
push esi
call fcn.00415d50
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 0x404f65
mov eax, dword [ebp - 8]
lea ebx, [eax + edi]
cmp ebx, 0x32000
ja 0x404f7a
add edi, dword [ebp + 0xc]
push eax
push esi
push edi
call fcn.004179b0
push esi
mov edi, ebx
call fcn.00411ad6
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 0x404ee0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00411ad6
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.004179b0
push esi
call fcn.00411ad6
add esp, 0x10
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret