joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a444
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45a47c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45a45d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45a46c
or bl, 4
test esi, 0x20000000
je 0x45a477
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x460c1c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x460c2e
add esp, 0xfffffff0
call fcn.00403ce8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420cbc
mov eax, dword [0x492c84]
mov dword [eax + 4], ebx
mov dword [eax], 0x460fc0
mov eax, dword [0x492c94]
mov dword [eax + 4], ebx
mov dword [eax], 0x460fcc
mov eax, ebx
call fcn.00460fd8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4188f8]
call fcn.00403994
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4188f8]
call fcn.00403994
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4188f8]
call fcn.00403994
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4188f8]
call fcn.00403994
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4188f8]
call fcn.00403994
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45d3f4
push eax
push 0
push 0
mov eax, dword [0x492e3c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422740]
call fcn.00423eb4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422740]
call fcn.00423eb4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422740]
call fcn.00423eb4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004613f8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4612d4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4612d4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4612d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x460d6b
call fcn.00403d40
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4610b8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x461263
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x461244
mov dl, 1
mov eax, dword [0x418d14]
call fcn.00403994
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404798
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x461233
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044e010
test al, al
je 0x461226
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x461274
lea eax, [ebp - 0x254]
call fcn.00409c3c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x461226
xor eax, eax
push ebp
push 0x46121f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4612ac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x461208
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a08
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x461208
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461226
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x461129
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c8a0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46126a
lea eax, [ebp - 0x260]
call fcn.00404798
ret

Function at 0x461b98
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x494be4]
cmp byte [eax + 0xa5], 0
jne 0x461c09
cmp dword [0x494bfc], 0
jne 0x461bca
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x461b54
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x494bfc], eax
cmp dword [0x494bf8], 0
jne 0x461be5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x494bf8], eax
cmp dword [0x494c00], 0
jne 0x461c09
push esp
push 0
push 0
push 0x461af8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x494c00], eax
pop edx
ret
Function at 0x461d00
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x461d17
add esp, 0xfffffff0
call fcn.00403ce8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420cbc
mov eax, dword [0x492e28]
cmp word [eax + 2], 0
jne 0x461d3f
mov eax, dword [0x492e28]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463480
mov eax, dword [0x492ef4]
cmp word [eax + 2], 0
jne 0x461d59
mov eax, dword [0x492ef4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463678
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4188f8]
call fcn.00403994
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4188f8]
call fcn.00403994
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x423220]
call fcn.0042ae28
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x461ee0
mov eax, dword [0x492d04]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042b1f8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x463c28
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x492d04]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d614
test eax, eax
je 0x461e4e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040961c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d63c
test eax, eax
je 0x461e62
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404a08
mov eax, dword [0x492b94]
cmp byte [eax], 0
jne 0x461e96
mov eax, ebx
call fcn.00462008
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00463e04
mov eax, ebx
call fcn.004647c8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x461ed6
call fcn.00403d40
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462288
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x494be4]
cmp dword [eax + 0x30], 0
je 0x462332
cmp dword [ebx + 0x94], 0
jne 0x46232c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x462218
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46232c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4622f2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46232c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041acbc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x462301
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x462e94
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x462ec9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404888
jmp 0x462ed6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004047ec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x463fe0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x464021
mov eax, esi
call fcn.00449594
test al, al
je 0x464021
mov eax, dword [ebx + 0x84]
call fcn.00449290
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x464021
push 0
mov eax, dword [ebx + 0x84]
call fcn.00449290
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4681b8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x218], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x468296
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x218]
mov edx, ebx
call fcn.00404980
push dword [ebp - 0x218]
push 0x4682ac
push 0x4682b8
lea eax, [ebp - 0x214]
mov edx, 3
call fcn.00404b18
mov edx, dword [ebp - 0x214]
lea eax, [ebp - 0x210]
mov ecx, 0xff
call fcn.00404a34
lea edx, [ebp - 0x210]
lea eax, [ebp - 8]
mov cl, 7
call fcn.00403084
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 7]
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x468271
mov eax, esi
lea edx, [ebp - 0x110]
mov ecx, pe_nt_image_headers32
call fcn.00404a08
jmp 0x468278
mov eax, esi
call fcn.00404798
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46829d
lea eax, [ebp - 0x218]
mov edx, 2
call fcn.004047bc
ret
Function at 0x47b96c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47b99a
mov eax, ebx
call fcn.0047c420
cmp dword [ebx + 0x40], 0
je 0x47b993
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47ba0b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47b9fd
cmp dword [ebx + 8], 0
je 0x47b9bc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x47b9ce
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47b9fd
cmp dword [ebx + 8], 0
je 0x47b9af
cmp eax, 3
je 0x47b9e1
dec eax
jne 0x47b9af
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x47b9af
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47b9af
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47ba29
cmp dword [ebx + 0x14], 0xcc
je 0x47ba29
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0047ba34
pop ebx
ret

Function at 0x48cbb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffca0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c48
xor eax, eax
push ebp
push 0x48cc88
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x209]
mov edx, dword [ebp - 4]
call fcn.00409678
lea edx, [ebp - 8]
xor eax, eax
call fcn.00402994
lea eax, [ebp - 0x309]
mov edx, dword [ebp - 8]
call fcn.00409678
lea eax, [ebp - 0x350]
xor ecx, ecx
mov edx, 0x44
call fcn.0040324c
mov dword [ebp - 0x350], 0x44
mov dword [ebp - 0x324], 1
mov word [ebp - 0x320], bx
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x350]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x209]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x48cc5f
or esi, 0xffffffff
jmp 0x48cc6d
push 0xffffffffffffffff
mov eax, dword [ebp - 0x360]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cc8f
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047bc
ret

Function at 0x48d990
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push esp
push 0xff
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.004097cc
mov eax, dword [ebx]
call fcn.00404a58
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x48d9c9
mov eax, ebx
mov edx, 0x48d9dc
call fcn.00404a60
add esp, 0x100
pop ebx
ret
Function at 0x43b040
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4030
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x541af0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], 0
xor eax, eax
mov word [ebp - 0x224], ax
push 0x208
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.004b5d10
add esp, 0xc
lea edx, [ebp - 0x224]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp + 8]
call sym.QiyiInstaller.exe_public:_void___thiscall_DuiLib::CStdString::constructor_wchar_t_const___int_
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x228]
or ecx, 1
mov dword [ebp - 0x228], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5c0b
mov esp, ebp
pop ebp
ret
Function at 0x49ad83
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x49ada7
cmp dword [edi + 0x54], 0
jne 0x49ada7
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0049c9e7
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0049ad44
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x49d182
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4f6eed
call fcn.004bd17a
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x49d1a7
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x49d1ed
lea ecx, [ebp - 0x10]
call fcn.00407160
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00496d66
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00403540
mov eax, esi
call fcn.004bd252
ret 8

Function at 0x4a2aef
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4a2b36
call fcn.0049c9e7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4a2b36
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4a2b52
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004a2667
mov esi, eax
test edi, edi
je 0x4a2b50
test ebx, ebx
je 0x4a2b50
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4a34ff
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x4a352a
call fcn.0049c9e7
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x4a354d
push eax
push dword [esi + 4]
call fcn.004a3485
push esi
push eax
mov ecx, 0x5458e4
call fcn.004a310c
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x4a3f41
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x4f71d0
call fcn.004bd17a
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.004a3f01
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00407160
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x4a3fa7
push eax
push dword [esi + 8]
call fcn.004a3485
push dword [esi + 0xc]
mov ecx, 0x5458e4
push eax
call fcn.004a310c
mov eax, esi
call fcn.004bd252
ret 0x18

Function at 0x4b5c0b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x541af0]
jne 0x4b5c15
repz ret
jmp fcn.004c0022

Function at 0x4cd609
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004bfa31
and dword [ebp - 4], 0
cmp dword [0x54699c], 0
mov ebx, eax
jne 0x4cd6ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4cd76b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4cd76b
push eax
call fcn.004bf9bf
mov dword [esp], 0x50c0bc
push edi
mov dword [0x54699c], eax
call esi
push eax
call fcn.004bf9bf
mov dword [esp], 0x50c0a8
push edi
mov dword [0x5469a0], eax
call esi
push eax
call fcn.004bf9bf
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5469a4], eax
call esi
push eax
call fcn.004bf9bf
pop ecx
mov dword [0x5469ac], eax
test eax, eax
je 0x4cd6ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004bf9bf
pop ecx
mov dword [0x5469a8], eax
mov eax, dword [0x5469a8]
cmp eax, ebx
je 0x4cd712
cmp dword [0x5469ac], ebx
je 0x4cd712
push eax
call fcn.004bfa3a
push dword [0x5469ac]
mov esi, eax
call fcn.004bfa3a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4cd712
test edi, edi
je 0x4cd712
call esi
test eax, eax
je 0x4cd709
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4cd709
test byte [ebp - 0xc], 1
jne 0x4cd712
or dword [ebp + 0x10], 0x200000
jmp 0x4cd74b
mov eax, dword [0x5469a0]
cmp eax, ebx
je 0x4cd74b
push eax
call fcn.004bfa3a
pop ecx
test eax, eax
je 0x4cd74b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4cd74b
mov eax, dword [0x5469a4]
cmp eax, ebx
je 0x4cd74b
push eax
call fcn.004bfa3a
pop ecx
test eax, eax
je 0x4cd74b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x54699c]
call fcn.004bfa3a
pop ecx
test eax, eax
je 0x4cd76b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4cd76d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4d4e70
Capabilities:
Check if file exists
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8b49
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x541af0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf0], ecx
lea ecx, [ebp - 0x10]
call fcn.00407160
mov dword [ebp - 4], 0
push str.AUTOFORCE_QiyiClient
lea eax, [ebp - 0x10]
push eax
call fcn.00406050
add esp, 8
push 0x50de80
push 0x546d8c
lea ecx, [ebp - 0xd4]
push ecx
call fcn.00404490
add esp, 0xc
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0xd4]
call fcn.004030e0
cmp dword [ebp - 0xd0], 0
je 0x4d509b
push ecx
mov ecx, esp
mov dword [ebp - 0xd8], esp
push str.Run_Force_Update...
call fcn.00403a90
mov dword [ebp - 0xf8], eax
mov ecx, 0x546ce8
call fcn.004e9ad0
push 0x50dec8
push 0x546d8c
lea edx, [ebp - 0xe0]
push edx
call fcn.00404490
add esp, 0xc
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0xe0]
call fcn.004030e0
cmp dword [ebp - 0xdc], 0
je 0x4d4fc6
push str.local.inf
push 0x546d8c
lea eax, [ebp - 0xe4]
push eax
call fcn.00404490
add esp, 0xc
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
push 0x50def8
push 0x50defc
push str.ForceVersion
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0xe4]
call fcn.004030e0
push str.QiyiUpdate.exe
push 0x546d8c
lea ecx, [ebp - 0xe8]
push ecx
call fcn.00404490
add esp, 0xc
mov dword [ebp - 0x104], eax
push 5
push 0
lea ecx, [ebp - 0x10]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
mov ecx, dword [ebp - 0x104]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
push 0x50df44
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xe8]
call fcn.004030e0
mov dword [0x546df8], 1
push 0
mov edx, dword [ebp - 0xf0]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0xcc]
call fcn.004f2250
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0xec], esp
push str.SendLog_7cancelsysbtn2
call fcn.00403a90
mov dword [ebp - 0x108], eax
lea ecx, [ebp - 0xcc]
call fcn.004f2150
push 0
push 0
push 0x464
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xcc]
call fcn.004f2130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004030e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret