joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437e4f
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x13c], eax
jne 0x437e79
lea ecx, [esp + 4]
push ecx
push eax
push esi
push 0x437d3c
push eax
push eax
call fcn.00477f45
add esp, 0x18
mov dword [esi + 0x13c], eax
pop esi
pop ecx
ret

Function at 0x437eed
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4c3a60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x4b3140
mov ecx, esi
call fcn.00401aaf
push esi
push str.Inno_Setup:_App_Path
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_thunder_is1
push ebx
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call fcn.0040b475
add esp, 0x10
test eax, eax
je 0x437f50
push esi
push str.InstallLocation
push ebx
push edi
call fcn.0040b475
add esp, 0x10
test eax, eax
je 0x437f50
push 0x4b3140
mov ecx, esi
call fcn.00401aaf
cmp dword [esi + 0x18], 8
jb 0x437f5b
mov eax, dword [esi + 4]
jmp 0x437f5e
lea eax, [esi + 4]
push 0x4b3140
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
xor edi, edi
test eax, eax
je 0x437f82
push edi
push str.InstallerIPCListenerPort
mov ecx, esi
call fcn.00432b80
cmp eax, 0xffffffff
je 0x437feb
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.00476cc0
push 0x208
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.00476cc0
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
push edi
push edi
push 0x26
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.Thunder_NetworkThunder
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00401aaf
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476d3a
leave
ret 4
Function at 0x437ffc
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x3b0]
sub esp, 0x430
mov eax, dword [0x4c3a60]
xor eax, ebp
mov dword [ebp + 0x3ac], eax
push ebx
push esi
push 0x208
lea eax, [ebp + 0x1a4]
push 0
push eax
mov ebx, ecx
call fcn.00476cc0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x62]
push eax
call fcn.00476cc0
add esp, 0x18
mov esi, 0x104
push esi
lea eax, [ebp - 0x64]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4b3140
lea ecx, [ebp - 0x80]
call fcn.004018f6
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040346e
pop ecx
pop ecx
lea eax, [ebp + 0x1a4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.Thunder7Install
lea eax, [ebp + 0x1a4]
push eax
call esi
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x4380a2
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1a4]
push eax
call esi
lea eax, [ebp + 0x1a4]
push eax
call fcn.004033be
pop ecx
lea eax, [ebp + 0x1a4]
push eax
lea ecx, [ebx + 0x94]
call fcn.00401aaf
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.00401ad3
mov ecx, dword [ebp + 0x3ac]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00476d3a
add ebp, 0x3b0
leave
ret

Function at 0x438d62
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
call fcn.00438901
mov esi, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push dword [esp + 0x24]
xor ebp, ebp
push esi
mov dword [esp + 0x1c], ebp
call edi
mov dword [esp + 0x14], eax
cmp eax, ebp
je 0x438e32
push ebx
push 0xf0
push dword [esp + 0x28]
push esi
call edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebp
je 0x438db8
push eax
push esi
call edi
push eax
call ebx
mov ebp, eax
push dword [esp + 0x18]
and dword [esp + 0x14], 0
push esi
call edi
test eax, eax
je 0x438e16
push eax
call ebx
mov edi, eax
test edi, edi
je 0x438e16
push ebp
push edi
call fcn.0043212f
pop ecx
pop ecx
push dword [esp + 0x30]
mov ebx, eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x438e02
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x438e20
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x438e20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
pop ebx
je 0x438e32
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x439759
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4c3a60]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x5c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor edi, edi
cmp dword [ebp - 0x5c], edi
mov dword [ebp - 0x64], eax
jle 0x439860
push ebx
push esi
mov dword [ebp - 0x68], 0x3a
mov esi, 0x4b3140
mov eax, dword [ebp - 0x64]
push dword [eax + edi*4]
lea ecx, [ebp - 0x20]
call fcn.004018f6
push esi
lea ecx, [ebp - 0x3c]
call fcn.004018f6
push esi
lea ecx, [ebp - 0x58]
call fcn.004018f6
push 1
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040e2e3
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4397eb
push eax
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401b1e
push esi
lea ecx, [ebp - 0x58]
call fcn.00401aaf
jmp 0x439817
cmp ebx, 1
jbe 0x439817
lea eax, [ebx - 1]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401b1e
inc ebx
cmp ebx, dword [ebp - 0xc]
jae 0x439817
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401b1e
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x3c]
push eax
call fcn.004396b2
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.00401a1c
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00401ad3
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401ad3
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00401ad3
inc edi
cmp edi, dword [ebp - 0x5c]
jl 0x43979a
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.00476d3a
leave
ret 8
Function at 0x439bdc
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4c3a60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 8
pop esi
mov ebx, ecx
mov dword [ebp - 0x210], 1
cmp dword [ebp + 0x20], esi
jae 0x439c0c
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.0040338c
xor edi, edi
pop ecx
pop ecx
cmp dword [ebp - 0x210], edi
je 0x439c3d
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x439c30
lea eax, [ebp + 0xc]
push 1
push edi
push edi
push eax
call fcn.00403896
add esp, 0x10
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x439c48
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.0040338c
pop ecx
pop ecx
cmp dword [ebp - 0x210], edi
jne 0x439dc5
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x439c6e
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
cbw
add ax, 0x41
movzx esi, ax
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.00476cc0
movzx eax, si
push eax
lea eax, [ebp - 0x20c]
push str._c:_
push eax
call fcn.004774f5
lea eax, [ebp - 0x214]
add esp, 0x18
push eax
mov dword [ebp - 0x214], edi
call fcn.00403cce
mov ecx, eax
call fcn.00403d6e
lea eax, [ebp - 0x20c]
push eax
mov ecx, ebx
call fcn.00449a3f
test eax, eax
je 0x439dc5
push edi
push edi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x21c]
or eax, dword [ebp - 0x218]
je 0x439dc5
mov eax, dword [ebp - 0x214]
cdq
cmp edx, dword [ebp - 0x218]
ja 0x439dc5
jb 0x439d29
cmp eax, dword [ebp - 0x21c]
jae 0x439dc5
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x64
pop ebx
mov edi, 0xfa0
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x439d43
lea eax, [ebp + 0xc]
push eax
call fcn.004033be
pop ecx
test eax, eax
je 0x439d69
call esi
cmp eax, 0xb7
je 0x439d69
cmp eax, 0x50
je 0x439d69
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
add ebx, ebx
cmp ebx, edi
jl 0x439d37
cmp ebx, edi
jl 0x439dac
call esi
push 0
sub esp, 0x1c
mov ecx, esp
mov esi, 0x4b3140
push esi
mov edi, eax
call fcn.004018f6
sub esp, 0x1c
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00401918
push edi
push 0x25d
call fcn.004446a8
mov ecx, eax
call fcn.00444f21
push esi
lea ecx, [ebp + 8]
call fcn.00401aaf
xor edi, edi
lea eax, [ebp + 8]
push eax
call fcn.00439bb3
mov ecx, eax
cmp dword [ebp + 0x24], edi
je 0x439dd4
call fcn.00437ec0
jmp 0x439dd9
push 0x4b3140
lea ecx, [ebp + 8]
call fcn.00401aaf
jmp 0x439dae
call fcn.00437e7c
push edi
push 1
lea ecx, [ebp + 8]
call fcn.00401ad3
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476d3a
leave
ret 0x20
Function at 0x43c6cb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c3a60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.004018f6
push str.10001
lea ecx, [ebp - 0x20]
call fcn.0040c570
xor edi, edi
test eax, eax
jne 0x43c714
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x140], eax
lea eax, [ebp - 0x24]
push eax
push edi
push esi
push 0x43b78b
jmp 0x43c739
push str.10002
lea ecx, [ebp - 0x20]
call fcn.0040c570
test eax, eax
jne 0x43c74a
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x144], eax
lea eax, [ebp - 0x24]
push eax
push edi
push esi
push 0x43b596
push edi
push edi
call fcn.00477f45
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 1
lea ecx, [ebp - 0x20]
call fcn.00401ad3
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00476d3a
leave
ret 8

Function at 0x43c767
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x4c3a60]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
and dword [ebp - 0x80], 0
push ebx
mov ebx, dword [ebp + 0x1bc]
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x7c]
push eax
mov esi, 0x22c
push edi
mov dword [ebp - 0x7c], esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x43c7c2
jmp 0x43c7e5
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.004799b8
pop ecx
pop ecx
test eax, eax
je 0x43c7d5
lea eax, [ebp - 0x7c]
push eax
push edi
mov dword [ebp - 0x7c], esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43c7b2
jmp 0x43c7db
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x80], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 0x1b0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476d3a
add ebp, 0x1b4
leave
ret
Function at 0x43c821
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
lea ebp, [esp - 0x38c]
sub esp, 0x40c
mov eax, dword [0x4c3a60]
xor eax, ebp
mov dword [ebp + 0x388], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push str.IsLimitShortCut
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x80], esi
cmp esi, ebx
je 0x43c8c2
push ebx
push 0x4000000
push ebx
push ebx
push str.http:__fangliang.client.xunlei.com_is_selected_piduidtvappnum1id1LimitShortCut
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
cmp edi, ebx
je 0x43c8bb
lea eax, [ebp - 0x7c]
push eax
push 0x3ff
lea eax, [ebp - 0x78]
push eax
push edi
mov dword [ebp - 0x7c], 1
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x7c]
mov byte [ebp + eax - 0x78], bl
cmp byte [ebp - 0x6a], 0x31
jne 0x43c8ab
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
xor eax, eax
jmp 0x43c8c5
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x80]
call esi
jmp 0x43c8c2
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x388]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476d3a
add ebp, 0x38c
leave
ret
Function at 0x43d58b
Capabilities:
Create process on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x4c3a60]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x4b3140
lea ecx, [ebp - 0x3c]
call fcn.004018f6
lea eax, [ebp - 0x3c]
push eax
call fcn.00403cce
mov ecx, eax
call fcn.00403cf9
push str.ProfilesBindingConfig.ini
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004135ef
push str.ProgramSendStaticsRequest.exe
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004135ef
mov eax, dword [ebp - 0x1c]
add esp, 0x18
cmp dword [ebp - 8], 8
jae 0x43d5ee
lea eax, [ebp - 0x1c]
push ebx
push esi
push edi
xor esi, esi
push esi
push eax
call fcn.00479db6
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ecx
pop ecx
mov ebx, str.open
test eax, eax
je 0x43d62f
cmp dword [ebp - 0x5c], 8
mov eax, dword [ebp - 0x70]
jae 0x43d617
lea eax, [ebp - 0x70]
push eax
push 0x4a7888
push str.Install
push str.InstallOem
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x43d648
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x43d63b
lea eax, [ebp - 0x1c]
push 1
push esi
push str.http:__web.stat.xunlei.com_UPV_gsbindbusinessvalue3softIdbaiduOEM
push eax
push ebx
push esi
call edi
push str.BBInsideAddressBar.dll___s
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x90]
push 0x4a6e74
push eax
call fcn.00409edc
add esp, 0xc
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004135ef
add esp, 0xc
push esi
push 1
lea ecx, [ebp - 0x90]
call fcn.00401ad3
cmp dword [ebp - 0x40], 8
mov eax, dword [ebp - 0x54]
jae 0x43d68c
lea eax, [ebp - 0x54]
push 1
push esi
push eax
push str.regsvr32.exe
push ebx
push esi
call edi
xor edi, edi
push esi
inc edi
push edi
lea ecx, [ebp - 0x58]
call fcn.00401ad3
push esi
push edi
lea ecx, [ebp - 0x20]
call fcn.00401ad3
push esi
push edi
lea ecx, [ebp - 0x74]
call fcn.00401ad3
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.00401ad3
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476d3a
leave
ret
Function at 0x43d6d3
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0xa34]
sub esp, 0xab4
mov eax, dword [0x4c3a60]
xor eax, ebp
mov dword [ebp + 0xa30], eax
push ebx
push esi
push edi
mov edi, 0x4b3140
push edi
lea ecx, [ebp - 0x64]
call fcn.004018f6
lea eax, [ebp - 0x64]
push eax
call fcn.00403cce
mov ecx, eax
call fcn.00403cf9
push str.BBInsideBaidu_TB_ASBar.exe
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004135ef
push str.ProgramSendStaticsRequest.exe
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.004135ef
push str.Baidu_TB_ASBar.exe
call fcn.0043c767
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esp, 0x1c
xor esi, esi
test eax, eax
jne 0x43d765
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x43d758
lea eax, [ebp - 0x7c]
push 1
push esi
push esi
push eax
push str.open
push esi
call ebx
cmp dword [ebp + 0x24], 8
mov eax, dword [ebp + 0x10]
jae 0x43d771
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.00479db6
pop ecx
pop ecx
test eax, eax
jne 0x43d87a
push 0x7fe
mov word [ebp + 0x28], ax
lea eax, [ebp + 0x2a]
push esi
push eax
call fcn.00476cc0
xor eax, eax
push 0x206
mov word [ebp + 0x828], ax
lea eax, [ebp + 0x82a]
push esi
push eax
call fcn.00476cc0
add esp, 0x18
push 0x104
lea eax, [ebp + 0x828]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
lea ecx, [ebp - 0x10]
call fcn.004018f6
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x828]
push eax
call fcn.0040346e
pop ecx
pop ecx
call fcn.004446a8
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401918
call fcn.004446a8
add eax, 0x1c
push eax
lea ecx, [ebp - 0x48]
call fcn.00401918
mov edx, dword [ebp - 0xc]
push 8
pop edi
cmp dword [ebp + 8], edi
jae 0x43d80e
lea edx, [ebp - 0xc]
mov ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x30], edi
jae 0x43d819
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jae 0x43d824
lea eax, [ebp - 0x28]
push edx
push ecx
push eax
push str.http:__stat.download.xunlei.com:8080__aid1009id107f_speerid_sversion_sfilenamebaidubar
lea eax, [ebp + 0x28]
push 0x400
push eax
call fcn.0047758d
mov eax, dword [ebp + 0x10]
add esp, 0x18
cmp dword [ebp + 0x24], edi
jae 0x43d848
lea eax, [ebp + 0x10]
xor edi, edi
inc edi
push edi
push esi
lea ecx, [ebp + 0x28]
push ecx
push eax
push str.open
push esi
call ebx
push esi
push edi
lea ecx, [ebp - 0x48]
call fcn.00401ad3
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.00401ad3
push esi
push edi
lea ecx, [ebp - 0x10]
call fcn.00401ad3
jmp 0x43d87d
xor edi, edi
inc edi
push esi
push edi
lea ecx, [ebp + 0xc]
call fcn.00401ad3
push esi
push edi
lea ecx, [ebp - 0x80]
call fcn.00401ad3
push esi
push edi
lea ecx, [ebp - 0x64]
call fcn.00401ad3
mov ecx, dword [ebp + 0xa30]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476d3a
add ebp, 0xa34
leave
ret
Function at 0x43e8dd
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43e908
push 0
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x60]
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_KillTimer]
and dword [esi + 0x60], 0
xor eax, eax
pop esi
ret

Function at 0x4409bb
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4409da
push eax
mov eax, dword [esi + 4]
push dword [eax + 4]
lea ecx, [esi - 0x20]
call fcn.004408a7
push 0
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret

Function at 0x4409e9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x4c3a60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, ecx
push dword [esi - 0x40]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x440a1f
inc eax
jmp 0x440aba
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
jne 0x440a32
mov dword [ebx], 1
jmp 0x440ab7
push 0x50
call fcn.00476d64
pop ecx
cmp eax, edi
je 0x440a49
mov ecx, eax
call fcn.0044ea1b
mov ebx, eax
jmp 0x440a4b
xor ebx, ebx
push edi
push dword [esi - 0x40]
mov ecx, ebx
call fcn.00438f81
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push dword [esi - 0x40]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
call edi
mov eax, dword [esi - 0x20]
push 0
push dword [ebp - 0x80]
mov dword [eax + 0x7c], 1
push dword [ebp + 0x10]
lea ecx, [ebp - 0x78]
push 3
push dword [esi - 0x20]
call fcn.0044966c
push 0
push dword [ebx + 4]
lea ecx, [ebp - 0x78]
call fcn.00438f1d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x7c]
push 1
mov dword [ecx], eax
push dword [esi - 0x40]
call edi
mov eax, dword [esi - 0x20]
and dword [eax + 0x7c], 0
lea ecx, [ebp - 0x78]
call fcn.004491a6
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00476d3a
leave
ret 0x14

Function at 0x441448
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x44146b
push eax
mov eax, dword [esi + 4]
push dword [eax + 4]
lea ecx, [esi - 0x20]
call fcn.004408a7
lea eax, [ebp - 1]
push eax
mov byte [ebp - 1], 1
call fcn.00403cce
mov ecx, eax
call fcn.00403d88
push 1
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0x32
push 0x6e
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esi - 0x20]
mov dword [esi + 0x60], eax
call fcn.00440aca
call fcn.00439bb3
mov ecx, eax
call fcn.0043aabb
xor eax, eax
pop esi
leave
ret 4
Function at 0x441c1c
Capabilities:
Get disk size
Get file size

Disassembly:
push ebp
lea ebp, [esp - 0x1b8]
sub esp, 0x238
mov eax, dword [0x4c3a60]
xor eax, ebp
mov dword [ebp + 0x1b4], eax
mov eax, dword [ebp + 0x1c0]
cmp dword [eax + 0x18], 8
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], eax
jb 0x441c4e
mov eax, dword [eax + 4]
jmp 0x441c51
add eax, 4
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
lea ecx, [ebp - 0x68]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x64]
push 0x208
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.00476cc0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x54]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
mov eax, 0x80
push eax
push 3
push esi
push esi
push eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea ecx, [ebp - 0x70]
push ecx
push eax
mov dword [ebp - 0x60], eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [ebp - 0x70]
push dword [ebp - 0x60]
mov ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, edi
jl 0x441cee
jg 0x441cd2
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x78], eax
jbe 0x441cee
push esi
push 0x4a5cd0
push 0x4a857c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x441d01
mov ecx, dword [ebp - 0x5c]
push 0xffffffffffffffff
push esi
push dword [ebp - 0x58]
add ecx, 4
call fcn.00401a1c
mov al, 1
mov ecx, dword [ebp + 0x1b4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476d3a
add ebp, 0x1b8
leave
ret 4
Function at 0x442699
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push 1
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi], eax
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x441eaa
push esi
push esi
mov dword [ebp - 4], esi
call fcn.00477f45
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
inc eax
pop esi
leave
ret

Function at 0x44327d
Capabilities:
Create thread
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, word [ebp + 8]
push esi
push edi
push dword [ebp + 0xc]
xor esi, esi
push eax
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x4432ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x80004005
jmp 0x443331
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x44329d
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, esi
jne 0x4432d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x80004005
jmp 0x443330
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x10
mov edi, eax
call fcn.00476d64
pop ecx
cmp eax, esi
je 0x4432fa
xor ecx, ecx
mov dword [eax + 4], esi
mov word [eax], cx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
jmp 0x4432fc
xor eax, eax
mov ecx, dword [ebp - 4]
mov dword [eax + 0xc], ecx
mov cx, word [ebp + 8]
mov word [eax], cx
lea ecx, [ebp + 0xc]
push ecx
push esi
push eax
push 0x442779
push esi
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
push esi
mov dword [ebp + 0xc], esi
call fcn.00477f45
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 8