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

Disassembly:
sub esp, 0xc0
mov eax, dword [0x4a7534]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.GDI32.dll_GetROP2]
call fcn.0040c940
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
sub eax, ebx
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
fmulp st(1)
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edx
call fcn.00470fc0
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
add eax, ebx
push 0xd
mov dword [esp + 0x18], eax
call ebp
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xf
mov ebx, eax
call ebp
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push ebx
lea edx, [esp + 0x10]
push edx
push esi
mov ebp, eax
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x20]
push ecx
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_FillRect]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
call ebx
push ebp
call ebx
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x7e
lea edx, [esp + 0x46]
push 0
push edx
mov word [esp + 0x4c], 0
call fcn.00449450
mov ecx, dword [edi + 4]
add esp, 0xc
push 0x40
lea eax, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
mov edx, dword [esp + 0x18]
mov ebx, dword [sym.imp.GDI32.dll_CreateRectRgn]
push edx
call ebx
mov ebp, dword [sym.imp.GDI32.dll_SelectClipRgn]
push eax
push esi
call ebp
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [edi + 0xc]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x40]
lea ecx, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40cae0
mov edi, dword [sym.imp.USER32.dll_DrawTextW]
push 0x25
sub eax, ecx
lea ecx, [esp + 0x34]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x4c]
push edx
push esi
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call ebx
push eax
push esi
call ebp
push 0
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [esp + 0x40]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cb30
push 0x25
sub eax, edx
lea ecx, [esp + 0x34]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x4c]
push edx
push esi
call edi
mov ecx, dword [esp + 0xc4]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00445c6a
add esp, 0xc0
ret
Function at 0x40e1b0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x88
mov eax, dword [0x4a7534]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push edi
push 0x7e
lea eax, [esp + 0x16]
mov edi, ecx
push 0
push eax
mov dword [esp + 0x18], edi
mov word [esp + 0x1c], 0
call fcn.00449450
mov edx, dword [edi + 4]
add esp, 0xc
push 0x40
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x18]
push 0xff0000
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esi + 0x18]
push 1
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
lea eax, [esp + 0x10]
lea ecx, [eax + 2]
jmp 0x40e220
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40e220
push 0x8025
sub eax, ecx
sar eax, 1
lea ebp, [esi + 0x1c]
push ebp
push eax
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xc]
mov ebx, dword [esi + 0x24]
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x28]
sub ebx, dword [ebp]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
sub edi, dword [esi + 0x20]
push edx
push eax
call ebp
mov ecx, dword [esi + 0x18]
push 0
add edi, 0xffffffff
push edi
push 0
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_MoveToEx]
mov edx, dword [esi + 0x18]
push edi
push ebx
push edx
call dword [sym.imp.GDI32.dll_LineTo]
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x18]
push eax
push ecx
call ebp
mov ecx, dword [esp + 0x90]
pop edi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00445c6a
add esp, 0x88
ret

Function at 0x40e3f0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x34
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push 1
mov ebx, eax
call edi
xor edx, edx
xor ecx, ecx
mov dword [esi], ecx
mov dword [esi + 4], edx
push edx
mov dword [esi + 8], ebx
push str.Shell_TrayWnd
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
mov dword [esi + 0xc], eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x40e466
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 esi
call dword [sym.imp.USER32.dll_SubtractRect]
pop edi
pop ebx
add esp, 0x34
ret

Function at 0x40e6e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
push ebx
push edi
push 0x483800
push eax
mov byte [esi + 0x124], 1
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 4]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 0x140]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
call edi
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x89
push eax
call ebx
push 5
push eax
call edi
mov ecx, dword [esi + 4]
push 0x88
push ecx
call ebx
push 5
push eax
call edi
pop edi
pop ebx
ret
Function at 0x40e740
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [esi + 4]
push edi
push 0x88
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x147
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 4]
push ecx
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
test edi, edi
jne 0x40e776
lea ecx, [edi + 1]
jmp 0x40e798
cmp edi, 1
jne 0x40e780
lea ecx, [edi + 2]
jmp 0x40e798
cmp edi, 2
jne 0x40e78a
lea ecx, [edi + 5]
jmp 0x40e798
cmp edi, 3
mov ecx, 0xe
je 0x40e798
mov ecx, dword [esp + 4]
movzx edx, byte [esi + 0x124]
push ecx
push edx
push 0x50c
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ecx
ret

Function at 0x40e7c0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
movzx ecx, byte [esi + 0x124]
push 0xffffffffffffffff
push ecx
push 0x50c
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x40fa50
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov eax, dword [esi + 4]
push 0x6a
push eax
call edi
mov ecx, dword [esi + 4]
push 0x6e
push ecx
mov ebx, eax
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 5
push ebx
call esi
pop edi
pop esi
pop ebx
ret

Function at 0x40fa90
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
mov edi, eax
mov eax, dword [edi + 4]
push 0x6c
push eax
mov byte [edi + 0x124], 1
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 4]
push 0x6a
push ecx
call esi
mov esi, eax
push 0x4838ec
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x40
push 0x1e
push 0xc8
push 0x5a
push 0xa0
push 0
push esi
call ebx
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call ebp
add eax, 0xfffffdf8
cdq
sub eax, edx
mov esi, eax
push 1
sar esi, 1
call ebp
sub eax, 0xa0
push 0x40
cdq
push 0xa0
sub eax, edx
mov edx, dword [edi + 4]
push 0x208
sar eax, 1
push eax
push esi
push 0
push edx
call ebx
mov esi, dword [0x4ac79c]
cmp esi, dword [edi + 4]
je 0x40fb2f
call fcn.0040bd10
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x413680
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x38
fldz
mov eax, dword [esp + 0x3c]
push ebx
fstp qword [eax]
push ebp
push esi
push edi
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x17], 0
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov al, byte [esp + 0x38]
test al, al
je 0x413767
movzx esi, al
lea ebp, [esi*8]
push ebp
mov dword [esp + 0x18], esi
call fcn.004462ab
mov edi, eax
push edi
mov eax, esi
call fcn.00402660
add esp, 8
test al, al
je 0x413741
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
call fcn.004462ab
mov ebx, eax
push ebx
mov eax, esi
call fcn.00402660
add esp, 8
test al, al
je 0x413741
test esi, esi
fldz
jle 0x413732
fld qword [0x49b718]
mov ecx, ebx
fld1
mov eax, edi
sub ecx, edi
mov edx, dword [ecx + eax]
sub edx, dword [eax]
mov ebp, dword [ecx + eax + 4]
sbb ebp, dword [eax + 4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebp
fild qword [esp + 0x18]
add eax, 8
sub esi, 1
fdiv st(2)
fsubr st(1)
faddp st(3)
jne 0x413708
fstp st(1)
fstp st(0)
fidiv dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x13], 1
fstp qword [eax]
test edi, edi
je 0x41374e
push edi
call fcn.004461ce
add esp, 4
test ebx, ebx
je 0x41375b
push ebx
call fcn.004461ce
add esp, 4
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x38
ret

Function at 0x413f70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x90
mov eax, dword [0x4a7534]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebp
mov ebp, dword [esp + 0x98]
mov ecx, ebx
call fcn.00468b20
lea eax, [esp + 4]
push eax
push 1
push 0
push edi
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x414023
push 0x7e
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.00449450
add esp, 0xc
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push ebp
push edx
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414018
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.00468d90
pop ebp
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.00445c6a
add esp, 0x90
ret
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x90]
pop ebp
xor ecx, esp
call fcn.00445c6a
add esp, 0x90
ret
Function at 0x415150
Capabilities:
Compare security identifiers

Disassembly:
sub esp, 0x818
mov eax, dword [0x4a7534]
xor eax, esp
mov dword [esp + 0x814], eax
lea eax, [esp]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x415288
mov eax, dword [esp]
push ebx
lea ecx, [esp + 0xc]
push ecx
push 0x800
lea edx, [esp + 0x20]
push edx
push 2
xor ebx, ebx
push eax
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x4151c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
pop ebx
mov ecx, dword [esp + 0x814]
xor ecx, esp
call fcn.00445c6a
add esp, 0x818
ret
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 8]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4151ab
push esi
xor esi, esi
cmp dword [esp + 0x1c], ebx
jle 0x415264
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_EqualSid]
push edi
lea edi, [esp + 0x28]
nop
mov ecx, dword [edi]
mov edx, dword [esp + 0x14]
push ecx
push edx
call ebp
test eax, eax
jne 0x415260
add esi, 1
add edi, 8
cmp esi, dword [esp + 0x24]
jl 0x415220
mov eax, dword [esp + 0x14]
pop edi
pop ebp
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
pop esi
mov al, bl
pop ebx
mov ecx, dword [esp + 0x814]
xor ecx, esp
call fcn.00445c6a
add esp, 0x818
ret
pop edi
mov bl, 1
pop ebp
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
pop esi
mov al, bl
pop ebx
mov ecx, dword [esp + 0x814]
xor ecx, esp
call fcn.00445c6a
add esp, 0x818
ret
mov ecx, dword [esp + 0x814]
xor ecx, esp
xor al, al
call fcn.00445c6a
add esp, 0x818
ret
Function at 0x4152a0
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [esp + 0xc]
mov esi, eax
push esi
push ecx
mov dword [0x4ac7a0], 0
xor bl, bl
call fcn.0041f910
add esp, 8
cmp eax, 0xffffffff
je 0x415370
test bl, bl
jne 0x415370
add eax, 0xffffffc1
cmp eax, 0x35
ja case.0x4152fe.64
movzx edx, byte [eax + 0x4153b8]
jmp dword [edx*4 + 0x41539c]
or dword [0x4ac7a0], 1
jmp case.0x4152fe.64
or dword [0x4ac7a0], 2
jmp case.0x4152fe.64
or dword [0x4ac7a0], 4
jmp case.0x4152fe.64
or dword [0x4ac7a0], 8
jmp case.0x4152fe.64
or dword [0x4ac7a0], 0x10
jmp case.0x4152fe.64
push 0x485658
mov ecx, ebp
call fcn.0046be50
mov ecx, eax
call fcn.0046bec0
mov ecx, dword [0x4ac7a4]
mov edx, dword [esi + ecx*4 - 4]
push edx
mov ecx, eax
call fcn.0046bec0
mov bl, 1
mov eax, dword [esp + 0xc]
push esi
push eax
call fcn.0041f910
add esp, 8
cmp eax, 0xffffffff
jne 0x4152e7
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test bl, bl
je 0x415395
push 0x485664
mov ecx, ebp
call fcn.0046be50
mov ecx, eax
call fcn.0046bec0
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret
Function at 0x415850
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x810
mov eax, dword [0x4a7534]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
lea eax, [esp + 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWARESogouInput
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4158a2
xor al, al
pop ebx
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.00445c6a
add esp, 0x810
ret
push 0x7fe
lea ecx, [esp + 0x16]
push ebx
push ecx
mov word [esp + 0x1c], bx
call fcn.00449450
add esp, 0xc
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0x483d38
push edx
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4158fc
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00469080
mov bl, 1
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x810]
mov al, bl
pop ebx
xor ecx, esp
call fcn.00445c6a
add esp, 0x810
ret
Function at 0x417030
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4736f0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebp
push esi
push edi
mov eax, dword [0x4a7534]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
push 0x4a93bc
lea eax, [esp + 0x38]
push eax
push str.UserManager
call fcn.00402f60
add esp, 4
mov ecx, eax
call fcn.0043f540
xor ebp, ebp
push ebp
push ebp
push ebp
push ebp
push str.Popup
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x80], ebp
call fcn.0046e160
lea ecx, [esp + 0x34]
call fcn.0046cf20
lea ecx, [esp + 0x24]
call fcn.0046cee0
push eax
lea ecx, [esp + 0x18]
call fcn.004690c0
push 0x485bc8
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 3
call fcn.00468d90
push 0x4b2070
lea ecx, [esp + 0x18]
call fcn.00468670
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x417191
push 0x4b2070
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41718a
jmp 0x417100
push 0x485bd4
push 0x4b209c
call fcn.0044684e
add esp, 8
test eax, eax
je 0x417176
mov eax, 0x4b209c
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], bp
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x417130
sub eax, edx
sar eax, 1
push eax
push 0x4b209c
lea esi, [esp + 0x4c]
call fcn.00401f70
mov ecx, esi
push ecx
mov esi, ebx
mov byte [esp + 0x6c], 4
call fcn.00418a90
mov byte [esp + 0x68], 3
cmp dword [esp + 0x5c], 8
jb 0x417176
mov edx, dword [esp + 0x48]
push edx
call fcn.00445adc
add esp, 4
push 0x4b2070
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x417100
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
call fcn.00468790
lea ecx, [esp + 0x24]
call fcn.0046cf20
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x5c
ret
Function at 0x419dd0
Capabilities:
Connect to http server
Create http request
Query remote server for available data
Send data
Send http request

Disassembly:
sub esp, 0x630
mov eax, dword [0x4a7534]
xor eax, esp
mov dword [esp + 0x628], eax
mov eax, dword [esp + 0x638]
push ebp
mov ebp, dword [esp + 0x638]
push esi
push edi
push 0
push 0
push 0
push 0
push str.SpeedReport_0.4
mov dword [esp + 0x2c], eax
mov edi, edx
mov dword [esp + 0x28], ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
push 0
push 0
push 3
push 0
push 0
push 0x50
push str.st.pinyin.sogou.com
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edx, dword [str._st_ping2_]
mov ecx, dword [0x485f74]
mov dword [esp + 0x230], edx
mov edx, dword [0x485f78]
mov dword [esp + 0x10], eax
mov eax, dword [0x485f70]
push 0x3ea
mov dword [esp + 0x240], edx
mov dword [esp + 0x238], eax
mov eax, dword [0x485f7c]
mov dword [esp + 0x23c], ecx
mov cx, word [0x485f80]
lea edx, [esp + 0x24a]
push 0
push edx
mov dword [esp + 0x24c], eax
mov word [esp + 0x250], cx
call fcn.00449450
add esp, 0xc
lea esi, [esp + 0x20]
call fcn.0041dee0
push 0
call fcn.0044725c
add esp, 4
push edx
push eax
mov ecx, esi
call fcn.00468640
push eax
push ebx
push str.v_sh_sts_d
push 0xff
lea eax, [esp + 0x48]
push 0xff
push eax
call fcn.004461af
push 0x200
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x258]
push 0x200
push edx
call fcn.00447bec
add esp, 0x30
xor esi, esi
test ebp, ebp
jbe 0x419f43
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + esi*4]
push ecx
push esi
push edi
push esi
push str.d_u_st_u_u
push 0xff
lea edx, [esp + 0x48]
push 0xff
push edx
call fcn.004461af
push 0x200
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x258]
push 0x200
push ecx
call fcn.00447bec
add esi, 1
add esp, 0x30
add edi, 0x400
cmp esi, ebp
jb 0x419ef3
mov edx, dword [esp + 0x14]
mov esi, dword [edx]
xor edi, edi
test esi, esi
je 0x419f9d
nop
mov eax, esi
mov esi, dword [esi]
lea ecx, [eax + 8]
call fcn.00468640
push eax
push edi
push str.dom_d_s
push 0xff
lea eax, [esp + 0x40]
push 0xff
push eax
call fcn.004461af
push 0x200
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x250]
push 0x200
push edx
call fcn.00447bec
add esp, 0x28
add edi, 1
test esi, esi
jne 0x419f50
mov ecx, dword [esp + 0x10]
push 0
push 0x806cc200
push 0
push 0
push 0
lea eax, [esp + 0x244]
push eax
push 0x485ef0
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push 0
push 0
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push 0
push 0
lea edx, [esp + 0x24]
push edx
push esi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x20]
call fcn.00468790
mov ecx, dword [esp + 0x634]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00445c6a
add esp, 0x630
ret 8
Function at 0x41a020
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x48
mov eax, dword [0x4a7534]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push 0x3f
lea eax, [esp + 0xd]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x14], 0
call fcn.00449450
add esp, 0xc
push 0
push 0
push 0x40
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edx, [esp + 8]
push edx
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x41a09d
cmp word [eax + 8], 2
jne 0x41a09d
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
push ecx
call sub.WS2_32.dll_inet_ntoa
test eax, eax
je 0x41a09d
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x41a088
sub ecx, esi
je 0x41a09d
push eax
mov ecx, edi
call fcn.00468b90
mov ecx, dword [esp + 0x48]
pop esi
xor ecx, esp
call fcn.00445c6a
add esp, 0x48
ret
Function at 0x41a740
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4b0df8
sub esp, 0xc
lea edx, [eax + 2]
jmp 0x41a750
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a750
sub eax, edx
sar eax, 1
jne 0x41a7da
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SOFTWARESogouInput
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a7da
lea ecx, [esp + 4]
push ecx
push 0x4b0df8
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x10]
push 0x48603c
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41a7d0
push 0x200
push 0
push 0x4b0df8
call fcn.00449450
add esp, 0xc
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x4b0df8
add esp, 0xc
ret