joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42aebd
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4c2f90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0xa0], 8
push edi
jb 0x42aee6
mov eax, dword [esi + 0x8c]
jmp 0x42aeec
lea eax, [esi + 0x8c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42afd2
cmp dword [esi + 0xa0], 8
jb 0x42af0c
mov eax, dword [esi + 0x8c]
jmp 0x42af12
lea eax, [esi + 0x8c]
lea ecx, [ebp - 0xc8]
push ecx
push eax
call fcn.0047b848
pop ecx
pop ecx
test eax, eax
jne 0x42afb4
mov eax, dword [ebp - 0xb4]
cmp eax, dword [esi + 0x16c]
jne 0x42afb4
lea eax, [ebp - 0xa8]
push eax
call fcn.0047b720
mov edi, eax
pop ecx
test edi, edi
je 0x42afb4
push 0x70
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.004764d0
add esp, 0xc
push edi
push 0x4b3874
lea eax, [ebp - 0x78]
push 0x38
push eax
call fcn.0047be33
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x94]
call fcn.00401903
lea ecx, [ebp - 0x94]
mov ebx, esi
call fcn.0042a99c
mov ebx, eax
neg ebx
push 0
sbb bl, bl
push 1
lea ecx, [ebp - 0x94]
inc bl
call fcn.00401a65
test bl, bl
je 0x42afaf
mov dword [esi + 0x84], 3
xor eax, eax
inc eax
jmp 0x42afd4
cmp dword [esi + 0xa0], 8
jb 0x42afc5
mov esi, dword [esi + 0x8c]
jmp 0x42afcb
add esi, 0x8c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047654a
leave
ret

Function at 0x42afe3
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c2f90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
mov esi, dword [ebx + 0x80]
cmp dword [esi + 0x78], 8
push edi
jb 0x42b009
mov eax, dword [esi + 0x64]
jmp 0x42b00c
lea eax, [esi + 0x64]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x42b0a4
lea eax, [esi + 0x7c]
cmp dword [eax + 0x18], 8
jb 0x42b02b
mov eax, dword [eax + 4]
jmp 0x42b02e
add eax, 4
push eax
call edi
test eax, eax
je 0x42b0a4
mov edi, dword [ebx + 0x80]
call fcn.0042c464
test eax, eax
je 0x42b0a4
mov eax, dword [ebx + 0x80]
mov ecx, dword [ebx + 0x16c]
cmp ecx, dword [eax + 0x34]
jne 0x42b0a4
xor esi, esi
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], 7
call fcn.00401d0c
mov eax, dword [ebx + 0x80]
push 0xffffffffffffffff
push esi
add eax, 0xd0
push eax
lea ecx, [ebp - 0x20]
call fcn.004019ae
lea ecx, [ebp - 0x20]
call fcn.0042a99c
test eax, eax
jne 0x42b094
mov dword [ebx + 0x84], 3
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a65
xor eax, eax
inc eax
jmp 0x42b0a6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047654a
leave
ret
Function at 0x42c0b2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4c2f90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor edi, edi
push edi
lea eax, [ebp - 0x20]
push eax
mov ebx, ecx
push edi
push ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x14], 4
jae 0x42c0fd
xor eax, eax
jmp 0x42c1ab
mov ebx, dword [ebp - 0x10]
cmp ebx, edi
je 0x42c0f6
push ebx
call fcn.004752e5
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x42c0f6
push edi
lea eax, [ebp - 0x20]
push eax
push edi
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x14], ebx
jae 0x42c149
push dword [ebp - 0x18]
call fcn.004761fc
pop ecx
jmp 0x42c0f6
mov eax, dword [ebp - 0x18]
push ebx
mov edx, esi
call fcn.0042bfd2
lea edx, [esi + 4]
push ebx
call fcn.0042bfd2
lea edx, [esi + 8]
push ebx
call fcn.0042bfd2
lea edx, [esi + 0xc]
push ebx
call fcn.0042bfd2
lea edx, [esi + 0x10]
push ebx
mov dword [ebp - 0x1c], edx
call fcn.0042bfd2
lea edi, [esi + 0x14]
push ebx
call fcn.0042c02e
lea edi, [esi + 0x30]
push ebx
call fcn.0042c02e
lea edi, [esi + 0x4c]
push ebx
call fcn.0042c02e
push dword [ebp - 0x18]
call fcn.004761fc
mov ecx, dword [ebp - 0x1c]
xor eax, eax
add esp, 0x24
cmp dword [ecx], eax
setne al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0047654a
leave
ret
Function at 0x42c941
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4c2f90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov esi, edx
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0x40], eax
cmp dword [esi + 0x104], edi
jne 0x42c96f
xor eax, eax
jmp 0x42caa4
mov eax, dword [ebp + 8]
lea ecx, [eax + ebx]
cmp ecx, dword [esi + 0x34]
ja 0x42c968
push edi
lea ecx, [ebp - 0x48]
push ecx
push eax
push dword [esi + 0x3c]
mov dword [ebp - 0x48], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 0x44]
push eax
push ebx
push dword [ebp - 0x40]
mov dword [ebp - 0x44], edi
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
xor edx, edx
div dword [esi + 0x38]
lea edi, [esi + 0x30]
add dword [edi], ebx
mov ecx, esi
mov dword [ebp - 0x40], eax
call fcn.0042cb84
mov ecx, dword [ebp - 0x40]
cmp ecx, eax
jae 0x42c9d0
mov eax, dword [esi + 0x104]
mov byte [ecx + eax], 2
mov dword [esi + 0x28], 1
push ebx
push dword [edi]
lea eax, [ebp - 0x3c]
push str.totolrecv:_d__getsize:_d
push eax
call fcn.0047aeef
add esp, 0x10
call fcn.0042cb32
cmp dword [esi + 0x34], 0
je 0x42caa1
mov edi, dword [esi + 0x104]
test edi, edi
je 0x42caa1
mov ecx, esi
call fcn.0042cb84
test eax, eax
je 0x42caa1
xor ecx, ecx
test eax, eax
jbe 0x42ca25
cmp byte [edi + ecx], 2
jne 0x42caa1
inc ecx
cmp ecx, eax
jb 0x42ca16
call fcn.0042cab5
mov eax, dword [esi + 0x104]
test eax, eax
je 0x42ca42
push eax
call fcn.004761fc
and dword [esi + 0x104], 0
pop ecx
mov eax, dword [esi + 0x3c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
or ebx, 0xffffffff
cmp eax, ebx
je 0x42ca58
push eax
call edi
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + 0x40]
cmp eax, ebx
je 0x42ca65
push eax
call edi
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x5c], 8
jb 0x42ca70
mov ecx, dword [esi + 0x48]
jmp 0x42ca73
lea ecx, [esi + 0x48]
cmp dword [esi + 0x78], 8
jb 0x42ca7e
mov eax, dword [esi + 0x64]
jmp 0x42ca81
lea eax, [esi + 0x64]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [esi + 0x7c]
cmp dword [eax + 0x18], 8
jb 0x42ca97
mov eax, dword [eax + 4]
jmp 0x42ca9a
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047654a
leave
ret 8
Function at 0x42cd70
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x4a29aa
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x4c2f90]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [0x4c2f90]
xor eax, esp
push eax
lea eax, [esp + 0x210]
mov dword fs:[0], eax
lea eax, [esi + 8]
push eax
mov dword [esp + 0xc], esi
call fcn.0042d310
lea ecx, [esi + 0x20]
push ecx
mov dword [esp + 0x21c], 0
call fcn.0042d310
lea edx, [esi + 0x38]
push edx
mov byte [esp + 0x21c], 1
call fcn.0042d310
mov byte [esp + 0x218], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x4b440c
lea edx, [esp + 0x14]
mov dword [esi + 0x54], eax
call fcn.0042d770
add esp, 8
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [esi + 4]
push ecx
push 4
push esi
push 0x42cd50
push 0
push 0
mov dword [esi + 0x50], eax
call fcn.00477755
add esp, 0x18
push eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0047654a
add esp, 0x218
ret
Function at 0x431f8a
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
push edi
mov dword [esi + 0x1a4], eax
lea eax, [esi + 0x1b8]
push 0x4a5da8
lea edi, [esi + 0x1a0]
push eax
mov dword [edi], 0x3b8
mov dword [esi + 0x1b0], 0x401
mov dword [esi + 0x1ac], 0x17
call fcn.004764ac
lea eax, [esi + 0x4c4]
push 0x4a5d9c
push eax
call fcn.004764ac
lea eax, [esi + 0x2c0]
push 0x4a5d88
push eax
call fcn.004764ac
add esp, 0x18
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0x32
mov dword [esp + 0x18], eax
call ebx
push eax
push 0x31
call ebx
push eax
xor ebp, ebp
inc ebp
push ebp
push 0x66
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_LoadImageW]
push edi
mov ebx, eax
push 0
mov dword [esi + 0x1b4], ebx
mov dword [esi + 0x1a8], ebp
mov dword [esi + 0x544], ebp
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ebp, eax
test ebx, ebx
je 0x432048
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
test ebp, ebp
je 0x432066
mov eax, dword [esi + 0x44]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [eax + 4]
call edi
mov eax, dword [esi + 0x30]
push 0
push dword [eax + 4]
call edi
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret

Function at 0x4320bb
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0xc], 0x203
push esi
mov esi, ecx
jne 0x432119
mov eax, dword [esi + 0x44]
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
push edi
add eax, 4
push dword [eax]
call ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
mov eax, dword [esi + 0x44]
je 0x4320e8
push 0
push dword [eax + 4]
call edi
jmp 0x4320fb
push 1
push dword [eax + 4]
call edi
mov eax, dword [esi + 0x44]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [esi + 0x30]
add eax, 4
push dword [eax]
call ebx
test eax, eax
mov eax, dword [esi + 0x30]
je 0x432110
push 0
jmp 0x432112
push 1
push dword [eax + 4]
call edi
pop edi
pop ebx
xor eax, eax
pop esi
ret 0x10

Function at 0x432bba
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
xor eax, eax
push eax
push ecx
push 0x432aee
push eax
push eax
call fcn.00477755
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4378a1
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x13c], eax
jne 0x4378cb
lea ecx, [esp + 4]
push ecx
push eax
push esi
push 0x43778e
push eax
push eax
call fcn.00477755
add esp, 0x18
mov dword [esi + 0x13c], eax
pop esi
pop ecx
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4c2f90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x4b28f8
mov ecx, esi
call fcn.00401a41
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.0040b376
add esp, 0x10
test eax, eax
je 0x4379a2
push esi
push str.InstallLocation
push ebx
push edi
call fcn.0040b376
add esp, 0x10
test eax, eax
je 0x4379a2
push 0x4b28f8
mov ecx, esi
call fcn.00401a41
cmp dword [esi + 0x18], 8
jb 0x4379ad
mov eax, dword [esi + 4]
jmp 0x4379b0
lea eax, [esi + 4]
push 0x4b28f8
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
xor edi, edi
test eax, eax
je 0x4379d4
push edi
push str.InstallerIPCListenerPort
mov ecx, esi
call fcn.004325b7
cmp eax, 0xffffffff
je 0x437a3d
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.004764d0
push 0x208
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.004764d0
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.00401a41
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047654a
leave
ret 4
Function at 0x437a4e
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x3b0]
sub esp, 0x430
mov eax, dword [0x4c2f90]
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.004764d0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x62]
push eax
call fcn.004764d0
add esp, 0x18
mov esi, 0x104
push esi
lea eax, [ebp - 0x64]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4b28f8
lea ecx, [ebp - 0x80]
call fcn.00401903
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004033e3
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 0x437af4
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1a4]
push eax
call esi
lea eax, [ebp + 0x1a4]
push eax
call fcn.00403333
pop ecx
lea eax, [ebp + 0x1a4]
push eax
lea ecx, [ebx + 0x94]
call fcn.00401a41
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.00401a65
mov ecx, dword [ebp + 0x3ac]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0047654a
add ebp, 0x3b0
leave
ret

Function at 0x4387b4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
call fcn.00438353
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 0x438884
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 0x43880a
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 0x438868
push eax
call ebx
mov edi, eax
test edi, edi
je 0x438868
push ebp
push edi
call fcn.00431b8d
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 0x438854
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x438872
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x438872
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
pop ebx
je 0x438884
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 0x4391ab
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4c2f90]
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 0x4392b2
push ebx
push esi
mov dword [ebp - 0x68], 0x3a
mov esi, 0x4b28f8
mov eax, dword [ebp - 0x64]
push dword [eax + edi*4]
lea ecx, [ebp - 0x20]
call fcn.00401903
push esi
lea ecx, [ebp - 0x3c]
call fcn.00401903
push esi
lea ecx, [ebp - 0x58]
call fcn.00401903
push 1
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040df3f
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43923d
push eax
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401ad0
push esi
lea ecx, [ebp - 0x58]
call fcn.00401a41
jmp 0x439269
cmp ebx, 1
jbe 0x439269
lea eax, [ebx - 1]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401ad0
inc ebx
cmp ebx, dword [ebp - 0xc]
jae 0x439269
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401ad0
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x3c]
push eax
call fcn.00439104
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.004019ae
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00401a65
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401a65
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a65
inc edi
cmp edi, dword [ebp - 0x5c]
jl 0x4391ec
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.0047654a
leave
ret 8
Function at 0x43962e
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4c2f90]
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 0x43965e
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.00403301
xor edi, edi
pop ecx
pop ecx
cmp dword [ebp - 0x210], edi
je 0x43968f
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x439682
lea eax, [ebp + 0xc]
push 1
push edi
push edi
push eax
call fcn.0040380b
add esp, 0x10
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x43969a
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.00403301
pop ecx
pop ecx
cmp dword [ebp - 0x210], edi
jne 0x439817
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x4396c0
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.004764d0
movzx eax, si
push eax
lea eax, [ebp - 0x20c]
push str._c:_
push eax
call fcn.00476d05
lea eax, [ebp - 0x214]
add esp, 0x18
push eax
mov dword [ebp - 0x214], edi
call fcn.00403c1c
mov ecx, eax
call fcn.00403cbc
lea eax, [ebp - 0x20c]
push eax
mov ecx, ebx
call fcn.00449365
test eax, eax
je 0x439817
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 0x439817
mov eax, dword [ebp - 0x214]
cdq
cmp edx, dword [ebp - 0x218]
ja 0x439817
jb 0x43977b
cmp eax, dword [ebp - 0x21c]
jae 0x439817
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 0x439795
lea eax, [ebp + 0xc]
push eax
call fcn.00403333
pop ecx
test eax, eax
je 0x4397bb
call esi
cmp eax, 0xb7
je 0x4397bb
cmp eax, 0x50
je 0x4397bb
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
add ebx, ebx
cmp ebx, edi
jl 0x439789
cmp ebx, edi
jl 0x4397fe
call esi
push 0
sub esp, 0x1c
mov ecx, esp
mov esi, 0x4b28f8
push esi
mov edi, eax
call fcn.00401903
sub esp, 0x1c
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00401925
push edi
push 0x25d
call fcn.004442e3
mov ecx, eax
call fcn.00444b5c
push esi
lea ecx, [ebp + 8]
call fcn.00401a41
xor edi, edi
lea eax, [ebp + 8]
push eax
call fcn.00439605
mov ecx, eax
cmp dword [ebp + 0x24], edi
je 0x439826
call fcn.00437912
jmp 0x43982b
push 0x4b28f8
lea ecx, [ebp + 8]
call fcn.00401a41
jmp 0x439800
call fcn.004378ce
push edi
push 1
lea ecx, [ebp + 8]
call fcn.00401a65
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047654a
leave
ret 0x20
Function at 0x43c11d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c2f90]
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.00401903
push str.10001
lea ecx, [ebp - 0x20]
call fcn.0040c210
xor edi, edi
test eax, eax
jne 0x43c166
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x140], eax
lea eax, [ebp - 0x24]
push eax
push edi
push esi
push 0x43b1dd
jmp 0x43c18b
push str.10002
lea ecx, [ebp - 0x20]
call fcn.0040c210
test eax, eax
jne 0x43c19c
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x144], eax
lea eax, [ebp - 0x24]
push eax
push edi
push esi
push 0x43afe8
push edi
push edi
call fcn.00477755
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a65
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0047654a
leave
ret 8

Function at 0x43c1b9
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x4c2f90]
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 0x43c214
jmp 0x43c237
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.004791c8
pop ecx
pop ecx
test eax, eax
je 0x43c227
lea eax, [ebp - 0x7c]
push eax
push edi
mov dword [ebp - 0x7c], esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43c204
jmp 0x43c22d
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.0047654a
add ebp, 0x1b4
leave
ret
Function at 0x43c273
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
lea ebp, [esp - 0x38c]
sub esp, 0x40c
mov eax, dword [0x4c2f90]
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 0x43c314
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 0x43c30d
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 0x43c2fd
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
xor eax, eax
jmp 0x43c317
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x80]
call esi
jmp 0x43c314
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.0047654a
add ebp, 0x38c
leave
ret