joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403fc3
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path

Disassembly:
push 0x218
mov eax, 0x42003c
call fcn.0041eefb
mov esi, ecx
mov eax, dword [esi]
xor edi, edi
cmp dword [eax + 0x5e4], edi
jne 0x403fe8
xor eax, eax
call fcn.0041ef7e
ret
mov eax, dword [0x432b20]
mov ecx, 0x432b20
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push ecx
mov dword [ebp - 4], edi
mov eax, dword [esi]
mov ecx, esp
mov dword [ebp - 0x224], esp
push ecx
mov ecx, dword [eax + 0x5e4]
call fcn.004047a6
lea ecx, [ebp - 0x21c]
call fcn.00411814
lea eax, [ebp - 0x21c]
mov dword [esp], str..tlg
push eax
call fcn.0040485b
push 0x206
lea eax, [ebp - 0x216]
push edi
push eax
mov word [ebp - 0x218], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x21a], 0x5c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x404096
push 0x427324
lea eax, [ebp - 0x218]
push eax
call esi
push 0x427328
lea eax, [ebp - 0x218]
push eax
call esi
mov ebx, dword [ebp - 0x21c]
cmp dword [ebx - 4], 1
jle 0x4040c5
push dword [ebx - 0xc]
lea eax, [ebp - 0x21c]
push eax
call fcn.004015a1
mov ebx, dword [ebp - 0x21c]
push ebx
lea eax, [ebp - 0x218]
push eax
call esi
cmp ebx, edi
jne 0x4040d7
xor eax, eax
jmp 0x4040df
push ebx
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 0x21c]
call fcn.004014a1
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404108
lea eax, [ebx - 0x10]
call fcn.00401689
jmp 0x403fe0
lea eax, [ebp - 0x218]
push eax
mov edi, 0x43302c
push edi
call fcn.00401445
lea eax, [ebp - 0x220]
push eax
call fcn.004102be
pop ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x220]
xor esi, esi
cmp dword [eax - 0xc], esi
jne 0x404155
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.00401689
lea eax, [ebx - 0x10]
call fcn.00401689
mov eax, esi
jmp 0x403fe2
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x220]
call fcn.00404938
pop ecx
pop ecx
mov byte [ebp - 4], 2
call fcn.00404802
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.00401689
push dword [0x43302c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push dword [0x43302c]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
jmp 0x404138
Function at 0x40602d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x406085
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x406076
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x406072
cmp edi, eax
jae 0x406076
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x406064
cmp edi, eax
jb 0x40607a
xor eax, eax
jmp 0x406084
mov ax, word [edi]
neg ax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x4061db
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x41ffa3
call fcn.0041ee92
and dword [ebp - 0x10], 0
mov eax, dword [0x432b20]
mov ecx, 0x432b20
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x40624c
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
inc eax
push eax
push eax
lea esi, [ebp - 0x10]
call fcn.00401479
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x40623c
xor eax, eax
jmp 0x406244
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 0x10]
call fcn.004014a1
add esi, 0xfffffff0
mov eax, esi
call fcn.004052e9
add eax, 0x10
mov dword [ebx], eax
mov eax, esi
call fcn.00401689
mov eax, ebx
call fcn.0041ef6a
ret 8
Function at 0x40731d
Capabilities:
Check if file exists
Get file system object information

Disassembly:
push 0x2f4
mov eax, 0x42046b
call fcn.0041eefb
mov ebx, ecx
push 0x3f2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
mov dword [ebp - 0x2d0], eax
je 0x407552
push 0x4066e8
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
push 1
push 0x21
push 0x20
push 0x20
mov dword [0x432f40], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x110
push 0x2b4
mov dword [ebx + 0x24], eax
lea eax, [ebp - 0x2cc]
push eax
push 0x80
push str.file.txt
call edi
push dword [ebp - 0x2cc]
mov esi, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push 0xffffffffffffffff
push dword [ebx + 0x24]
call esi
push 0x110
push 0x2b4
lea eax, [ebp - 0x2cc]
push eax
push 0x80
push str.file.dmp
call edi
push dword [ebp - 0x2cc]
push 0xffffffffffffffff
push dword [ebx + 0x24]
call esi
push 0x110
push 0x2b4
lea eax, [ebp - 0x2cc]
push eax
push 0x80
push str.file.tlg
call edi
push dword [ebp - 0x2cc]
push 0xffffffffffffffff
push dword [ebx + 0x24]
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x2fc]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x300]
push eax
push 0
push 0x1061
push dword [ebp - 0x2d0]
mov dword [ebp - 0x300], 4
mov dword [ebp - 0x2f4], str.name
call esi
push dword [ebx + 0x24]
push 0
push 0x1003
push dword [ebp - 0x2d0]
call esi
xor edi, edi
inc edi
lea eax, [ebp - 0x2dc]
push edi
push eax
call fcn.004010c5
mov ebx, eax
call fcn.00403ace
and dword [ebp - 4], 0
push 0
push dword [ebp - 0x2d0]
mov ecx, eax
call fcn.004085c7
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2dc]
add eax, 0xfffffff0
call fcn.00401689
lea eax, [ebp - 0x2d8]
push 2
push eax
call fcn.004010c5
mov ebx, eax
call fcn.00403ace
mov dword [ebp - 4], edi
push dword [ebp - 0x2d8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x4074c2
push 0
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x2d8]
call fcn.004085c7
lea eax, [ebp - 0x2d4]
push 0x60
push eax
call fcn.004010c5
call fcn.00403aa9
mov byte [ebp - 4], 2
push dword [ebp - 0x2d4]
call esi
test eax, eax
je 0x4074f7
push edi
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x2d4]
call fcn.004085c7
cmp dword [0x432f88], 0
je 0x407536
lea eax, [ebp - 0x2e0]
push 0x167
push eax
call fcn.004010c5
call fcn.00403aa9
push edi
push dword [ebp - 0x2d0]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004085c7
mov eax, dword [ebp - 0x2e0]
add eax, 0xfffffff0
call fcn.00401689
mov eax, dword [ebp - 0x2d4]
add eax, 0xfffffff0
call fcn.00401689
mov eax, dword [ebp - 0x2d8]
add eax, 0xfffffff0
call fcn.00401689
call fcn.0041ef7e
ret
Function at 0x408cbe
Capabilities:
Create process on windows

Disassembly:
push 0x64
mov eax, 0x4206ff
call fcn.0041ee92
call fcn.004010c5
mov ebx, eax
call fcn.004041ab
test eax, eax
je 0x408e03
push 0x40
xor esi, esi
lea eax, [ebp - 0x6c]
push esi
push eax
mov dword [ebp - 0x70], 0x44
call sub.MSVCR80.dll_memset
mov dword [ebp - 0x28], esi
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor ebx, ebx
inc ebx
add esp, 0xc
lea ecx, [ebp - 0x18]
stosd dword es:[edi], eax
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x40], bx
call fcn.00411d42
lea ecx, [ebp - 0x14]
push 0x4278f4
push ecx
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.004049e5
lea ecx, [ebp - 0x10]
push str.___manual_0
push ecx
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.00404989
add esp, 0x10
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401689
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401689
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], ebx
jle 0x408d6d
push dword [eax - 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.004015a1
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x70]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp dword [ebp - 0x10], esi
mov edi, eax
jne 0x408d8e
xor eax, eax
jmp 0x408d98
push dword [ebp - 0x10]
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 0x10]
call fcn.004014a1
cmp edi, esi
je 0x408ddf
push 0xffffffffffffffff
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
push 0x4278f8
push 0x42654c
call fcn.00414b27
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00401689
mov eax, ebx
jmp 0x408e05
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.UpdateCrashApp:_launch_txupd_failed__lu
push 0x42654c
call fcn.00414b27
mov eax, dword [ebp - 0x10]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00401689
xor eax, eax
call fcn.0041ef6a
ret
Function at 0x40b03e
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
or dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp byte [esi + 0x2c], bl
mov dword [esi + 0x3c], eax
jne 0x40b075
push str.GIF_not_initialized
push 0x42649c
call fcn.00414b27
pop ecx
pop ecx
jmp 0x40b0bd
cmp dword [esi + 0x24], 1
jbe 0x40b0bd
cmp dword [esi + 0x14], ebx
jne 0x40b0bd
lea eax, [ebp + 8]
push eax
push 4
push esi
push 0x40b2c5
push ebx
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x14], eax
jne 0x40b0b6
push str.Couldnt_start_a_GIF_animation_thread_n
push 0x42649c
call fcn.00414b27
pop ecx
pop ecx
mov al, 1
jmp 0x40b0bf
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor al, al
pop ebx
pop ebp
ret 0xc

Function at 0x40b11b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push 0x422800
push 0x86
mov esi, eax
mov byte [ebp - 1], 0
call fcn.004110c7
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x40b14e
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x40b1b7
push edi
call fcn.004110c7
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x40b14a
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x40b1aa
cmp dword [ebp + 8], 0
push edi
jne 0x40b187
call fcn.004110c7
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi], eax
jmp 0x40b1a6
mov esi, dword [esi]
call fcn.004110c7
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp esi, eax
jl 0x40b1aa
push esi
push ebx
push dword [ebp + 8]
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov byte [ebp - 1], 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, byte [ebp - 1]
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x40b447
Capabilities:
Get file version info

Disassembly:
push 0x238
mov eax, 0x42063c
call fcn.0041eefb
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x244], eax
jne 0x40b46c
xor eax, eax
jmp 0x40b65a
push dword [ebp + 8]
push esi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, esi
je 0x40b465
push 0x208
lea eax, [ebp - 0x21e]
push esi
push eax
mov word [ebp - 0x220], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x220]
push eax
push esi
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
push edi
jne 0x40b4bd
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40b465
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 0x23c], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, esi
je 0x40b465
push edi
call fcn.0041e4c4
pop ecx
push eax
push edi
push dword [ebp - 0x23c]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x220]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40b465
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x230]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 0x228]
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
call sub.VERSION.dll_VerQueryValueW
xor edi, edi
test dword [ebp - 0x22c], 0xfffffffc
mov dword [ebp - 0x234], esi
jbe 0x40b648
mov eax, dword [0x432b20]
mov ecx, 0x432b20
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x230]
lea eax, [eax + edi*4]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp - 0x238]
push str.StringFileInfo_04x_04xCompanyName
push eax
call fcn.004058e5
mov ebx, dword [ebp - 0x238]
add esp, 0x10
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x224]
push eax
push ebx
push dword [ebp - 0x228]
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x240], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x40b5de
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x224]
push eax
push str.StringFileInfo040904e4CompanyName
push dword [ebp - 0x228]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40b5fe
cmp dword [ebp - 0x224], esi
je 0x40b5fe
push dword [ebp - 0x244]
push dword [ebp - 0x224]
call dword [sym.imp.MSVCR80.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
jne 0x40b61e
or dword [ebp - 4], 0xffffffff
lea eax, [ebx - 0x10]
call fcn.00401689
mov eax, dword [ebp - 0x22c]
inc edi
shr eax, 2
cmp edi, eax
jb 0x40b54d
jmp 0x40b648
push dword [ebp - 0x224]
push str.company_name__s
push 0x426488
call fcn.00414b27
add esp, 0xc
lea eax, [ebx - 0x10]
mov dword [ebp - 0x234], 1
call fcn.00401689
push dword [ebp - 0x228]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov eax, dword [ebp - 0x234]
pop ecx
call fcn.0041ef7e
ret
Function at 0x40b736
Capabilities:
Enumerate processes

Disassembly:
push 0x24c
mov eax, 0x4210f1
call fcn.0041eefb
xor ebx, ebx
push ebx
mov esi, ecx
push 2
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x244], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0x250], edi
jne 0x40b77c
push esi
mov ecx, 0x427538
call fcn.004047a6
mov eax, esi
jmp 0x40b906
lea eax, [ebp - 0x240]
push eax
push edi
mov dword [ebp - 0x240], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x40b7a0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40b76a
mov eax, dword [0x432b20]
mov ecx, 0x432b20
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x248], eax
mov dword [ebp - 4], ebx
xor edi, edi
mov dword [ebp - 0x254], ebx
mov esi, str._c_d
push dword [ebp - 0x238]
or dword [ebp - 0x24c], 0xffffffff
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040b660
add esp, 0xc
test eax, eax
jne 0x40b85a
cmp dword [ebp - 0x24c], 0xffffffff
je 0x40b83e
movzx eax, word [ebp - 0x21c]
push dword [ebp - 0x24c]
add edi, 0xa
push eax
lea eax, [ebp - 0x244]
push esi
push eax
call fcn.00410f85
add esp, 0x10
lea ecx, [ebp - 0x248]
push ecx
mov byte [ebp - 4], 2
call fcn.00404843
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.00401689
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0x250]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40b7c6
jmp 0x40b89c
movzx eax, word [ebp - 0x21c]
push dword [ebp - 0x24c]
add edi, 0x14
push eax
lea eax, [ebp - 0x244]
push esi
push eax
call fcn.00410f85
add esp, 0x10
lea ecx, [ebp - 0x248]
push ecx
mov byte [ebp - 4], 1
call fcn.00404843
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.00401689
cmp edi, ebx
jbe 0x40b8d6
push edi
lea eax, [ebp - 0x244]
push 0x429468
push eax
call fcn.00410f85
add esp, 0xc
lea ecx, [ebp - 0x248]
push ecx
mov byte [ebp - 4], 3
call fcn.00404843
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.00401689
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x248]
add esi, 0xfffffff0
mov eax, esi
call fcn.004052e9
mov edi, dword [ebp - 0x258]
add eax, 0x10
mov dword [edi], eax
mov eax, esi
call fcn.00401689
mov eax, edi
call fcn.0041ef7e
ret
Function at 0x40bc59
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x414
mov eax, 0x4205c6
call fcn.0041eefb
mov esi, ecx
mov edi, edx
xor ebx, ebx
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x41c], ebx
call fcn.004045ad
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 0x414], ebx
mov ebx, 0x400
push ebx
lea eax, [ebp - 0x410]
push eax
push edi
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x41c], 1
jmp 0x40bcee
cmp dword [ebp - 0x414], 0
je 0x40bd08
push dword [ebp - 0x414]
lea eax, [ebp - 0x410]
push eax
mov eax, esi
call fcn.0040569b
and dword [ebp - 0x414], 0
lea eax, [ebp - 0x414]
push eax
push ebx
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x418]
call edi
test eax, eax
jne 0x40bcb5
push 0x429528
mov edi, 0x426474
push edi
call fcn.00414b27
pop ecx
pop ecx
jmp 0x40bd0d
mov edi, 0x426474
push dword [esi]
lea eax, [ebp - 0x418]
push eax
call fcn.004145c2
mov ebx, dword [ebp - 0x418]
push ebx
push str.Received_cmd3_ack_s
push edi
call fcn.00414b27
mov eax, dword [esi]
add esp, 0x14
cmp dword [eax - 0xc], 0
jne 0x40bd45
push 0x4295b0
push edi
call fcn.00414b27
pop ecx
pop ecx
lea eax, [ebx - 0x10]
call fcn.00401689
mov eax, esi
call fcn.0041ef7e
ret

Function at 0x40bfec
Capabilities:
Connect to http server

Disassembly:
push 0x10
mov eax, 0x420589
call fcn.0041ee92
mov eax, dword [0x432b20]
mov ecx, 0x432b20
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x10]
xor edi, edi
push eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
lea ebx, [ebp - 0x10]
call fcn.0040b9b1
test eax, eax
jne 0x40c03b
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401689
xor eax, eax
call fcn.0041ef6a
ret 0xc
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
push edi
push edi
push 3
push edi
push edi
push dword [ebp + 0x10]
push ebx
push dword [eax]
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, edi
mov dword [esi], eax
jne 0x40c05e
lea eax, [ebx - 0x10]
jmp 0x40c02c
push 0x4296b8
push 0x426474
call fcn.00414b27
pop ecx
pop ecx
push edi
push edi
lea eax, [ebp - 0x1c]
push eax
push edi
push str.HTTP_1.1
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], str.text_
push str.POST
push dword [esi]
mov dword [ebp - 0x18], edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, edi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jne 0x40c0b7
push dword [esi]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi], edi
lea eax, [ebx - 0x10]
call fcn.00401689
mov eax, edi
jmp 0x40c033
xor edi, edi
inc edi
jmp 0x40c0a8
Function at 0x40df5d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42151a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x432024]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
push dword [ebp + 8]
mov esi, 0x426474
push str.SendCMD3:_KEY_lu
push esi
call fcn.00414b27
pop ecx
pop ecx
mov eax, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0040c1c1
lea eax, [esp + 0x24]
push eax
call fcn.0040dc30
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov eax, dword [0x432b20]
mov ecx, 0x432b20
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x38], 1
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push dword [ebp + 8]
push str.Key_luData_s
push eax
call fcn.004058f9
add esp, 0x10
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
push edi
mov dword [edi + 4], ebx
call fcn.0040c0bc
test eax, eax
je 0x40e098
mov eax, dword [esp + 0x18]
push dword [eax - 0xc]
push eax
push ebx
push ebx
push dword [esp + 0x24]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
cmp eax, ebx
je 0x40e077
push 0x429940
push esi
call fcn.00414b27
mov edx, dword [esp + 0x1c]
pop ecx
pop ecx
lea ecx, [esp + 0x1c]
call fcn.0040bc59
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], ebx
je 0x40e06d
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
call fcn.00405239
add eax, 0x10
mov dword [esi], eax
call fcn.0040bd55
mov eax, dword [esp + 0x1c]
mov dword [edi + 4], 1
add eax, 0xfffffff0
call fcn.00401689
jmp 0x40e084
push 0x429954
push esi
call fcn.00414b27
pop ecx
pop ecx
push dword [esp + 0x24]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [esp + 0x14]
call esi
jmp 0x40e0a5
push 0x429968
push esi
call fcn.00414b27
pop ecx
pop ecx
mov eax, dword [esp + 0x18]
mov edi, dword [edi + 4]
add eax, 0xfffffff0
call fcn.00401689
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.00401689
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40e34f
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push 0x418
mov eax, 0x420417
call fcn.0041eefb
lea eax, [ebp - 0x418]
mov ebx, ecx
push eax
mov ecx, str.http:__qqhelper.qq.com:8080_site_media_QQTroubleShoot.exe
mov edi, edx
call fcn.0040a29f
lea eax, [ebp - 0x424]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0041171e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x414]
mov dword [esp], str.QQTroubleShoot.exe
push ecx
mov ecx, eax
call fcn.00404989
pop ecx
pop ecx
mov byte [ebp - 4], 2
call fcn.00404802
mov eax, dword [ebp - 0x414]
add eax, 0xfffffff0
call fcn.00401689
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
call fcn.00401689
mov edi, dword [edi]
push esi
push 0x80
push 2
push esi
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40e4a0
push esi
push SysReAllocString
push esi
push esi
push dword [ebp - 0x418]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, esi
mov dword [ebp - 0x414], eax
je 0x40e4a0
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ebp - 0x41c]
push ecx
push 0x3ff
lea ecx, [ebp - 0x410]
push ecx
push eax
jmp 0x40e47b
cmp dword [ebp - 0x41c], esi
je 0x40e4b6
push esi
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x41c]
lea eax, [ebp - 0x410]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40e48d
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp - 0x420]
jne 0x40e48d
lea eax, [ebp - 0x41c]
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x414]
mov dword [ebp - 0x41c], esi
mov dword [ebp - 0x420], esi
call ebx
test eax, eax
jne 0x40e428
push dword [ebp - 0x414]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x418]
add eax, 0xfffffff0
call fcn.00401689
xor eax, eax
call fcn.0041ef7e
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x414]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x418]
add eax, 0xfffffff0
call fcn.00401689
xor eax, eax
inc eax
jmp 0x40e4b0