joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c4ad
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4c3a10]
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 0x42c4f8
xor eax, eax
jmp 0x42c5a6
mov ebx, dword [ebp - 0x10]
cmp ebx, edi
je 0x42c4f1
push ebx
call fcn.004754de
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x42c4f1
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 0x42c544
push dword [ebp - 0x18]
call fcn.004763f5
pop ecx
jmp 0x42c4f1
mov eax, dword [ebp - 0x18]
push ebx
mov edx, esi
call fcn.0042c3cd
lea edx, [esi + 4]
push ebx
call fcn.0042c3cd
lea edx, [esi + 8]
push ebx
call fcn.0042c3cd
lea edx, [esi + 0xc]
push ebx
call fcn.0042c3cd
lea edx, [esi + 0x10]
push ebx
mov dword [ebp - 0x1c], edx
call fcn.0042c3cd
lea edi, [esi + 0x14]
push ebx
call fcn.0042c429
lea edi, [esi + 0x30]
push ebx
call fcn.0042c429
lea edi, [esi + 0x4c]
push ebx
call fcn.0042c429
push dword [ebp - 0x18]
call fcn.004763f5
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.0047674a
leave
ret
Function at 0x42cd3c
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4c3a10]
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 0x42cd6a
xor eax, eax
jmp 0x42ce9f
mov eax, dword [ebp + 8]
lea ecx, [eax + ebx]
cmp ecx, dword [esi + 0x34]
ja 0x42cd63
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.0042cf7f
mov ecx, dword [ebp - 0x40]
cmp ecx, eax
jae 0x42cdcb
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.0047ac4f
add esp, 0x10
call fcn.0042cf2d
cmp dword [esi + 0x34], 0
je 0x42ce9c
mov edi, dword [esi + 0x104]
test edi, edi
je 0x42ce9c
mov ecx, esi
call fcn.0042cf7f
test eax, eax
je 0x42ce9c
xor ecx, ecx
test eax, eax
jbe 0x42ce20
cmp byte [edi + ecx], 2
jne 0x42ce9c
inc ecx
cmp ecx, eax
jb 0x42ce11
call fcn.0042ceb0
mov eax, dword [esi + 0x104]
test eax, eax
je 0x42ce3d
push eax
call fcn.004763f5
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 0x42ce53
push eax
call edi
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + 0x40]
cmp eax, ebx
je 0x42ce60
push eax
call edi
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x5c], 8
jb 0x42ce6b
mov ecx, dword [esi + 0x48]
jmp 0x42ce6e
lea ecx, [esi + 0x48]
cmp dword [esi + 0x78], 8
jb 0x42ce79
mov eax, dword [esi + 0x64]
jmp 0x42ce7c
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 0x42ce92
mov eax, dword [eax + 4]
jmp 0x42ce95
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.0047674a
leave
ret 8
Function at 0x42d170
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x4a2c6a
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x4c3a10]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [0x4c3a10]
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.0042d710
lea ecx, [esi + 0x20]
push ecx
mov dword [esp + 0x21c], 0
call fcn.0042d710
lea edx, [esi + 0x38]
push edx
mov byte [esp + 0x21c], 1
call fcn.0042d710
mov byte [esp + 0x218], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.UPDATE_EVENT__d
lea edx, [esp + 0x14]
mov dword [esi + 0x54], eax
call fcn.0042dbd0
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 0x42d150
push 0
push 0
mov dword [esi + 0x50], eax
call fcn.00477955
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.0047674a
add esp, 0x218
ret
Function at 0x432368
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 + 0x1dc], eax
lea eax, [esi + 0x1f0]
push 0x4a5da0
lea edi, [esi + 0x1d8]
push eax
mov dword [edi], 0x3b8
mov dword [esi + 0x1e8], 0x401
mov dword [esi + 0x1e4], 0x17
call fcn.004766a5
lea eax, [esi + 0x4fc]
push 0x4a5d94
push eax
call fcn.004766a5
lea eax, [esi + 0x2f8]
push 0x4a5d80
push eax
call fcn.004766a5
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 + 0x1ec], ebx
mov dword [esi + 0x1e0], ebp
mov dword [esi + 0x57c], ebp
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ebp, eax
test ebx, ebx
je 0x432426
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
test ebp, ebp
je 0x432444
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 0x432499
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0xc], 0x203
push esi
mov esi, ecx
jne 0x4324f7
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 0x4324c6
push 0
push dword [eax + 4]
call edi
jmp 0x4324d9
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 0x4324ee
push 0
jmp 0x4324f0
push 1
push dword [eax + 4]
call edi
pop edi
pop ebx
xor eax, eax
pop esi
ret 0x10

Function at 0x432f98
Capabilities:
Create thread

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

Disassembly:
push ecx
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x174], eax
jne 0x437cb9
lea ecx, [esp + 4]
push ecx
push eax
push esi
push 0x437b7c
push eax
push eax
call fcn.00477955
add esp, 0x18
mov dword [esi + 0x174], eax
pop esi
pop ecx
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4c3a10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x4b31c8
mov ecx, esi
call fcn.00401a3e
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.0040b353
add esp, 0x10
test eax, eax
je 0x437d90
push esi
push str.InstallLocation
push ebx
push edi
call fcn.0040b353
add esp, 0x10
test eax, eax
je 0x437d90
push 0x4b31c8
mov ecx, esi
call fcn.00401a3e
cmp dword [esi + 0x18], 8
jb 0x437d9b
mov eax, dword [esi + 4]
jmp 0x437d9e
lea eax, [esi + 4]
push 0x4b31c8
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
xor edi, edi
test eax, eax
je 0x437dc2
push edi
push str.InstallerIPCListenerPort
mov ecx, esi
call fcn.00432995
cmp eax, 0xffffffff
je 0x437e2b
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.004766d0
push 0x208
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.004766d0
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.00401a3e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047674a
leave
ret 4
Function at 0x437e3c
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x3b0]
sub esp, 0x430
mov eax, dword [0x4c3a10]
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.004766d0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x62]
push eax
call fcn.004766d0
add esp, 0x18
mov esi, 0x104
push esi
lea eax, [ebp - 0x64]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4b31c8
lea ecx, [ebp - 0x80]
call fcn.00401900
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004033f7
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 0x437ee2
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1a4]
push eax
call esi
lea eax, [ebp + 0x1a4]
push eax
call fcn.00403347
pop ecx
lea eax, [ebp + 0x1a4]
push eax
lea ecx, [ebx + 0xcc]
call fcn.00401a3e
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.00401a62
mov ecx, dword [ebp + 0x3ac]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0047674a
add ebp, 0x3b0
leave
ret

Function at 0x438ba2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
call fcn.00438741
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 0x438c72
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 0x438bf8
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 0x438c56
push eax
call ebx
mov edi, eax
test edi, edi
je 0x438c56
push ebp
push edi
call fcn.00431f66
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 0x438c42
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x438c60
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x438c60
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
pop ebx
je 0x438c72
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 0x43957a
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4c3a10]
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 0x439681
push ebx
push esi
mov dword [ebp - 0x68], 0x3a
mov esi, 0x4b31c8
mov eax, dword [ebp - 0x64]
push dword [eax + edi*4]
lea ecx, [ebp - 0x20]
call fcn.00401900
push esi
lea ecx, [ebp - 0x3c]
call fcn.00401900
push esi
lea ecx, [ebp - 0x58]
call fcn.00401900
push 1
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040dd37
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43960c
push eax
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401aad
push esi
lea ecx, [ebp - 0x58]
call fcn.00401a3e
jmp 0x439638
cmp ebx, 1
jbe 0x439638
lea eax, [ebx - 1]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401aad
inc ebx
cmp ebx, dword [ebp - 0xc]
jae 0x439638
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401aad
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x3c]
push eax
call fcn.004394d3
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.004019ab
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00401a62
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401a62
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a62
inc edi
cmp edi, dword [ebp - 0x5c]
jl 0x4395bb
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.0047674a
leave
ret 8
Function at 0x439a13
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4c3a10]
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 0x439a43
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.00403315
xor edi, edi
pop ecx
pop ecx
cmp dword [ebp - 0x210], edi
je 0x439a74
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x439a67
lea eax, [ebp + 0xc]
push 1
push edi
push edi
push eax
call fcn.0040381f
add esp, 0x10
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x439a7f
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.00403315
pop ecx
pop ecx
cmp dword [ebp - 0x210], edi
jne 0x439bfc
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x439aa5
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.004766d0
movzx eax, si
push eax
lea eax, [ebp - 0x20c]
push str._c:_
push eax
call fcn.00476f05
lea eax, [ebp - 0x214]
add esp, 0x18
push eax
mov dword [ebp - 0x214], edi
call fcn.00403c57
mov ecx, eax
call fcn.00403ce1
lea eax, [ebp - 0x20c]
push eax
mov ecx, ebx
call fcn.0044930d
test eax, eax
je 0x439bfc
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 0x439bfc
mov eax, dword [ebp - 0x214]
cdq
cmp edx, dword [ebp - 0x218]
ja 0x439bfc
jb 0x439b60
cmp eax, dword [ebp - 0x21c]
jae 0x439bfc
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 0x439b7a
lea eax, [ebp + 0xc]
push eax
call fcn.00403347
pop ecx
test eax, eax
je 0x439ba0
call esi
cmp eax, 0xb7
je 0x439ba0
cmp eax, 0x50
je 0x439ba0
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
add ebx, ebx
cmp ebx, edi
jl 0x439b6e
cmp ebx, edi
jl 0x439be3
call esi
push 0
sub esp, 0x1c
mov ecx, esp
mov esi, 0x4b31c8
push esi
mov edi, eax
call fcn.00401900
sub esp, 0x1c
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00401922
push edi
push 0x25d
call fcn.0044481d
mov ecx, eax
call fcn.0044576c
push esi
lea ecx, [ebp + 8]
call fcn.00401a3e
xor edi, edi
lea eax, [ebp + 8]
push eax
call fcn.004399ea
mov ecx, eax
cmp dword [ebp + 0x24], edi
je 0x439c0b
call fcn.00437d00
jmp 0x439c10
push 0x4b31c8
lea ecx, [ebp + 8]
call fcn.00401a3e
jmp 0x439be5
call fcn.00437cbc
push edi
push 1
lea ecx, [ebp + 8]
call fcn.00401a62
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047674a
leave
ret 0x20
Function at 0x43c4b4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c3a10]
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.00401900
push str.10001
lea ecx, [ebp - 0x20]
call fcn.0040c21e
xor edi, edi
test eax, eax
jne 0x43c4fd
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x178], eax
lea eax, [ebp - 0x24]
push eax
push edi
push esi
push 0x43b744
jmp 0x43c522
push str.10002
lea ecx, [ebp - 0x20]
call fcn.0040c21e
test eax, eax
jne 0x43c533
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x17c], eax
lea eax, [ebp - 0x24]
push eax
push edi
push esi
push 0x43b54f
push edi
push edi
call fcn.00477955
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a62
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0047674a
leave
ret 8

Function at 0x43c566
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x4c3a10]
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 0x43c5c1
jmp 0x43c5e4
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.004793f7
pop ecx
pop ecx
test eax, eax
je 0x43c5d4
lea eax, [ebp - 0x7c]
push eax
push edi
mov dword [ebp - 0x7c], esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43c5b1
jmp 0x43c5da
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.0047674a
add ebp, 0x1b4
leave
ret
Function at 0x43c620
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
lea ebp, [esp - 0x38c]
sub esp, 0x40c
mov eax, dword [0x4c3a10]
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 0x43c6c1
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 0x43c6ba
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 0x43c6aa
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
xor eax, eax
jmp 0x43c6c4
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x80]
call esi
jmp 0x43c6c1
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.0047674a
add ebp, 0x38c
leave
ret
Function at 0x43d42a
Capabilities:
Create process on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x4c3a10]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x4b31c8
lea ecx, [ebp - 0x3c]
call fcn.00401900
lea eax, [ebp - 0x3c]
push eax
call fcn.00403c57
mov ecx, eax
call fcn.00403c82
push str.ProfilesBindingConfig.ini
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0041318d
push str.ProgramSendStaticsRequest.exe
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041318d
mov eax, dword [ebp - 0x1c]
add esp, 0x18
cmp dword [ebp - 8], 8
jae 0x43d48d
lea eax, [ebp - 0x1c]
push ebx
push esi
push edi
xor esi, esi
push esi
push eax
call fcn.004797f6
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ecx
pop ecx
mov ebx, str.open
test eax, eax
je 0x43d4ce
cmp dword [ebp - 0x5c], 8
mov eax, dword [ebp - 0x70]
jae 0x43d4b6
lea eax, [ebp - 0x70]
push eax
push 0x4a77e0
push str.Install
push str.InstallOem
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x43d4e7
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x43d4da
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 0x4a6ef4
push eax
call fcn.00409d9a
add esp, 0xc
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041318d
add esp, 0xc
push esi
push 1
lea ecx, [ebp - 0x90]
call fcn.00401a62
cmp dword [ebp - 0x40], 8
mov eax, dword [ebp - 0x54]
jae 0x43d52b
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.00401a62
push esi
push edi
lea ecx, [ebp - 0x20]
call fcn.00401a62
push esi
push edi
lea ecx, [ebp - 0x74]
call fcn.00401a62
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.00401a62
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047674a
leave
ret