joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e380
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x40e38d
xor eax, eax
pop ebp
ret
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceExW]
push esi
mov esi, eax
push edi
shr eax, 4
add eax, 1
movzx edi, ax
mov eax, dword [esp + 0x24]
push eax
push edi
push 6
push 0
and esi, 0xf
call ebx
test eax, eax
jne 0x40e3fa
push 0x409
push edi
push 6
push eax
call ebx
test eax, eax
jne 0x40e3fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, eax
jle 0x40e3df
and ecx, 0xffff
or ecx, 0x80070000
push ecx
push eax
push str.FindResourceEx
push 0x4927e4
call fcn.0040de80
add esp, 0x10
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
ret
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40e3f3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test esi, esi
jbe 0x40e424
movzx ecx, word [eax]
add eax, 2
test ecx, ecx
je 0x40e41f
lea eax, [eax + ecx*2]
sub esi, 1
jne 0x40e412
test eax, eax
je 0x40e3f3
movzx esi, word [eax]
mov ecx, dword [esp + 0x20]
lea edx, [ecx - 1]
add eax, 2
cmp edx, esi
jge 0x40e43c
lea esi, [ecx - 1]
push esi
push eax
push ebp
call fcn.00478ec2
add esp, 0xc
pop edi
mov word [ebp + esi*2], 0
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x40e690
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x210
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebp
push esi
push edi
mov ebp, ecx
lea eax, [ebp + 0x2f4c]
push eax
push 0x104
lea esi, [esp + 0x18]
mov ecx, esi
push ecx
push 0x49526c
push str.WriteOffsets
push 0x495298
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edi, edi
cmp dword [0x4af068], edi
jle 0x40e713
push ebx
mov ebx, 0x58
mov eax, dword [ebp + 0x694]
lea edx, [esp + 0x10]
push edx
add eax, ebx
push eax
push str._I64d_n
push esi
call fcn.00479702
mov ecx, dword [esp + 0x20]
add edi, 1
add esp, 0x10
add ebx, 8
cmp edi, dword [0x4af068]
lea esi, [esi + ecx*2]
jl 0x40e6e1
pop ebx
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00477bf8
add esp, 0x210
ret
Function at 0x40e910
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x10
push esi
push edi
lea edi, [ecx + 0x2f4c]
push edi
push 0x104
lea esi, [ecx + 0x3564]
push esi
push 0x492aa0
push str.StartingTime
push str.Statistics
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x492aa0
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40e96a
test dx, dx
je 0x40e966
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40e96a
add eax, 4
add ecx, 4
test dx, dx
jne 0x40e944
xor eax, eax
jmp 0x40e96f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40e9c3
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [esp + 0x14]
movzx edx, word [esp + 0x12]
movzx eax, word [esp + 0x10]
push ecx
movzx ecx, word [esp + 0x12]
push edx
movzx edx, word [esp + 0x12]
push eax
movzx eax, word [esp + 0x14]
push ecx
push edx
push eax
push str._u__.2u__.2u__.2u:_.2u:_.2u
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
push edi
push esi
push str.StartingTime
push str.Statistics
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
add esp, 0x10
ret
Function at 0x40ef90
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
push 7
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push 0
push 0
lea ecx, [esi + 0x2934]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
pop esi
ret
sub esp, 0x20c
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
lea eax, [ecx + 0x2934]
lea edx, [esp + 4]
xor esi, esi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40f243
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40f287
mov eax, 1
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00477bf8
add esp, 0x20c
ret
push 1
push 0
lea edx, [esp + 0xc]
push edx
push str.explorer
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jge 0x40f2ac
mov esi, 1
mov ecx, dword [esp + 0x20c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00477bf8
add esp, 0x20c
ret
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
add eax, 0xfffffe09
cmp eax, 0xe
ja case.default.0x416868
movzx ecx, byte [eax + 0x41693c]
push esi
jmp dword [ecx*4 + 0x41691c]
mov edx, dword [esp + 8]
mov eax, dword [edx + 0xc]
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
mov ecx, dword [esp + 8]
pop esi
jmp fcn.004148b0
push 0x498120
call fcn.00401030
mov esi, dword [esp + 0xc]
add esp, 4
mov ecx, esi
call fcn.0040e5b0
push 0
push 6
mov ecx, esi
call fcn.00412cf0
test eax, eax
jge case.0x416868.510
push eax
push str.Fail_to_pause_download_process_0x_x
call fcn.0040de80
add esp, 8
pop esi
ret
push 0x4980c8
call fcn.00401030
mov esi, dword [esp + 0xc]
add esp, 4
push 0
mov ecx, esi
call fcn.00412360
cmp eax, 0x80070057
jne case.0x416868.510
mov ecx, esi
call fcn.004160a0
test eax, eax
je case.0x416868.510
push eax
push str.Fail_to_download_task_0x_x
call fcn.0040de80
add esp, 8
pop esi
ret
mov ecx, dword [esp + 8]
pop esi
jmp fcn.004148b0
mov ecx, dword [esp + 8]
pop esi
jmp 0x40ef90
mov ecx, dword [esp + 8]
pop esi
jmp 0x40f220

Function at 0x40efd0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push 0
lea ecx, [esi + 0x588c]
call fcn.00406760
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
mov eax, dword [esi + 0x694]
movzx ecx, byte [eax + 0x1f4]
lea edi, [esi + 0x5f34]
push ecx
mov ecx, edi
call fcn.00406720
push 5
mov ecx, edi
call fcn.00406760
push eax
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x40f020
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x414
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push ebp
push esi
push edi
push str.Download_Complete
mov esi, ecx
call fcn.00401030
mov ecx, dword [esi + 0x698]
xor ebx, ebx
add esp, 4
cmp ecx, ebx
je 0x40f058
call fcn.00408a30
mov ecx, dword [esi + 4]
push 0x400
push 0x104
lea eax, [esp + 0x18]
push eax
push 0xd2
push ecx
mov word [esp + 0x24], bx
call fcn.0040e380
add esp, 0x14
lea edx, [esp + 0x10]
push edx
lea ecx, [esi + 0x807c]
call fcn.0040a900
mov ecx, dword [esi + 4]
push 0x400
push 0x104
lea eax, [esp + 0x220]
push eax
push 0xd3
push ecx
mov word [esp + 0x22c], bx
call fcn.0040e380
add esp, 0x14
lea edx, [esp + 0x218]
push edx
lea ecx, [esi + 0x8928]
call fcn.0040a900
push ebx
lea ecx, [esi + 0x5f34]
call fcn.00406760
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push ebx
lea ecx, [esi + 0x588c]
call fcn.00406760
push eax
call edi
push ebx
lea ecx, [esi + 0x6c84]
call fcn.00406760
push eax
call edi
lea ebx, [esi + 0x65dc]
push 5
mov ecx, ebx
call fcn.00406760
push eax
call edi
lea ebp, [esi + 0x732c]
push 5
mov ecx, ebp
call fcn.00406760
push eax
call edi
push 0
mov ecx, ebx
call fcn.00406770
push eax
mov ecx, ebx
call fcn.00406760
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
push eax
call edi
push 0
mov ecx, ebp
call fcn.00406770
push eax
mov ecx, ebp
call fcn.00406760
push eax
call edi
mov ecx, dword [esi + 0xc]
push 0
lea eax, [esi + 0x644]
push eax
push ecx
call edi
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x420]
pop edi
mov dword [esi + 0xa578], 4
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00477bf8
add esp, 0x414
ret
Function at 0x40f340
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48f7ab
mov eax, dword fs:[0]
push eax
mov eax, 0x13d4
call fcn.00477c10
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x13d0], eax
push ebx
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x13e4]
mov dword fs:[0], eax
push str.ExceptionHandle_InvalidPath
mov esi, ecx
call fcn.00401030
push str.ExceptionHandle_InvalidPath
call fcn.0040de80
xor edi, edi
push 0x206
lea eax, [esp + 0xdd6]
push edi
push eax
mov word [esp + 0xddc], di
call fcn.00477c40
add esp, 0x14
push edi
push edi
lea ecx, [esp + 0xdd0]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40f3e5
lea edx, [esi + 0x2934]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [esp + 0xdcc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ebx, [esi + 0x2934]
mov ecx, ebx
lea eax, [esp + 0xdc8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f41a
cmp dx, di
je 0x40f416
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f41a
add eax, 4
add ecx, 4
cmp dx, di
jne 0x40f3f4
xor eax, eax
jmp 0x40f41f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x40f42d
mov eax, 0x8000ffff
jmp 0x40f556
mov edx, dword [esi + 4]
push 0x400
push 0x32
lea ecx, [esp + 0xd6c]
push ecx
push 0x198
push edx
call fcn.0040e380
mov ecx, dword [esi + 4]
push 0x400
push 0x104
lea eax, [esp + 0xfec]
push eax
push 0xce
push ecx
call fcn.0040e380
mov eax, dword [esi + 4]
push 0x400
push 0x104
lea edx, [esp + 0x1208]
push edx
push 0xd0
push eax
call fcn.0040e380
mov eax, dword [esi + 0xc]
add esp, 0x3c
push edi
lea ecx, [esp + 0xfd4]
mov dword [esp + 0x14], ecx
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0xd70]
push edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call fcn.00407b90
lea ecx, [esp + 0x30]
mov dword [esp + 0x13ec], edi
call fcn.00407530
lea eax, [esp + 0xdc8]
mov edx, ebx
mov ecx, eax
sub edx, ecx
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x40f4f0
push ebx
lea ecx, [esi + 0x9a80]
call fcn.0040a080
lea edx, [esi + 0x2f4c]
push edx
push ebx
push str.SavePath
push 0x495298
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [esi + 0x694]
cmp dword [ecx + 0x50], edi
je 0x40f536
push ebx
call fcn.00403d10
jmp 0x40f53e
push edi
mov ecx, esi
call fcn.00412360
lea ecx, [esp + 0x30]
mov esi, eax
mov dword [esp + 0x13ec], 0xffffffff
call fcn.004072f0
mov eax, esi
mov ecx, dword [esp + 0x13e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x13d0]
xor ecx, esp
call fcn.00477bf8
add esp, 0x13e0
ret
Function at 0x40f5c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48f7ee
mov eax, dword fs:[0]
push eax
mov eax, 0x2098
call fcn.00477c10
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x2094], eax
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x20a4]
mov dword fs:[0], eax
push 0x409
push 0x823
lea eax, [esp + 0x1060]
push eax
mov esi, ecx
mov ecx, dword [esi + 4]
push 0x6b
push ecx
mov edi, 0x80004005
call fcn.0040e380
push 0x1044
lea edx, [esp + 0x2a]
push 0
push edx
mov word [esp + 0x30], 0
call fcn.00477c40
lea eax, [esp + 0x1078]
push eax
push str.CLDLer
lea ecx, [esp + 0x38]
push 0x49576c
push ecx
call fcn.00401570
push 0x20c
call fcn.00478bdb
add esp, 0x34
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x20ac], 0
je 0x40f683
lea edx, [esp + 0x10]
push edx
mov ecx, eax
call fcn.0040c450
jmp 0x40f685
xor eax, eax
mov dword [esi + 0x690], eax
cmp dword [eax], 0
je 0x40f694
xor eax, eax
jmp 0x40f6bd
lea eax, [esp + 0x1058]
push eax
push 0x4940ac
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x40f6bb
push 0
push 0
push 0x502
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, edi
mov ecx, dword [esp + 0x20a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2094]
xor ecx, esp
call fcn.00477bf8
add esp, 0x20a4
ret
Function at 0x40f6f0
Capabilities:
Access peb ldr_data
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48f82b
mov eax, dword fs:[0]
push eax
mov eax, 0x2070
call fcn.00477c10
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x206c], eax
push ebx
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x2080]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2090]
push str.ExceptionHandle_NeedUpdate
mov esi, ecx
call fcn.0040de80
mov ecx, dword [esi + 4]
push 0x400
push 0x32
lea eax, [esp + 0xdd4]
push eax
push 0x19c
push ecx
call fcn.0040e380
mov eax, dword [esi + 4]
push 0x400
push 0x32
lea edx, [esp + 0xd84]
push edx
push 0x19a
push eax
call fcn.0040e380
mov edx, dword [esi + 4]
push 0x400
push 0x104
lea ecx, [esp + 0xe60]
push ecx
push 0xd6
push edx
call fcn.0040e380
xor edi, edi
add esp, 0x40
lea eax, [esp + 0xe2c]
push edi
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0xdcc]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0xd70]
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call fcn.00407b90
lea ecx, [esp + 0x30]
mov dword [esp + 0x2088], edi
call fcn.00407530
cmp eax, 0x322
jne 0x40f869
push str.User_click_OK_in_NEED_UPDATE_dlg
call fcn.00401030
push 0x1044
lea edx, [esp + 0x103e]
push edi
push edx
mov word [esp + 0x1044], di
call fcn.00477c40
push str._r_n__t
push ebx
call fcn.00479721
lea eax, [ebx + eax*2]
lea edx, [esp + 0x104c]
add esp, 0x18
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x40f840
push 1
push edi
push edi
lea eax, [esp + 0x1040]
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40f876
push str.User_click_CANCEL_in_NEED_UPDATE_dlg
call fcn.00401030
add esp, 4
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [esp + 0x30]
mov dword [esp + 0x2088], 0xffffffff
call fcn.004072f0
mov eax, 0x80004005
mov ecx, dword [esp + 0x2080]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x206c]
xor ecx, esp
call fcn.00477bf8
add esp, 0x207c
ret 4
Function at 0x40fae0
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
sub esp, 0xa2c
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0xa28], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x206
lea eax, [esp + 0x422]
push ebx
push eax
mov edi, ecx
mov esi, 0x80004005
mov word [esp + 0x428], bx
call fcn.00477c40
push 0x206
lea ecx, [esp + 0x1e]
push ebx
push ecx
mov word [esp + 0x24], bx
call fcn.00477c40
push 0x206
lea edx, [esp + 0x642]
push ebx
push edx
mov word [esp + 0x648], bx
call fcn.00477c40
add esp, 0x24
push ebx
push ebx
lea eax, [esp + 0x424]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40fc9e
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x420]
push edx
mov ecx, edi
call fcn.0040fa50
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40fb95
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x104
lea edx, [esp + 0x628]
push edx
push ebx
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x624]
push eax
call edi
lea ecx, [esp + 0x41c]
lea eax, [esp + 0x624]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40fbf6
cmp dx, bx
je 0x40fbf2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40fbf6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x40fbd0
xor eax, eax
jmp 0x40fbfb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x40fc19
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xa28]
xor ecx, esp
call fcn.00477bf8
add esp, 0xa2c
ret
push 0x104
lea ecx, [esp + 0x218]
push ecx
push ebx
mov word [esp + 0x838], bx
mov word [esp + 0x220], bx
call esi
xor eax, eax
jmp 0x40fc40
movzx ecx, word [esp + eax + 0x214]
mov word [esp + eax + 0x82c], cx
add eax, 2
cmp cx, bx
jne 0x40fc40
lea edx, [esp + 0x214]
push edx
call edi
lea eax, [esp + 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x492aa0
push 0x492aa0
push 0x492aa0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x224]
push edx
lea eax, [esp + 0x840]
push eax
call fcn.0040c650
add esp, 0x18
mov esi, eax
mov ecx, dword [esp + 0xa34]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00477bf8
add esp, 0xa2c
ret
Function at 0x40fcc0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x414
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
push edi
push 0x206
lea eax, [esp + 0xe]
push 0
push eax
mov edi, ecx
mov esi, 0x80004005
mov word [esp + 0x14], 0
call fcn.00477c40
push 0x206
lea ecx, [esp + 0x222]
push 0
push ecx
mov word [esp + 0x228], 0
call fcn.00477c40
add esp, 0x18
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40fd7d
lea eax, [esp + 0x210]
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call fcn.0040fa50
lea edx, [esp + 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40fd7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov esi, eax
jle 0x40fd69
and esi, 0xffff
or esi, 0x80070000
push esi
push eax
push str.DeleteFile_for_shortcut
push 0x4927e4
call fcn.0040de80
add esp, 0x10
mov ecx, dword [esp + 0x418]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.00477bf8
add esp, 0x414
ret

Function at 0x410180
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x424
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x420], eax
mov eax, dword [esp + 0x428]
push ebp
push edi
mov edi, ecx
mov ecx, dword [esp + 0x434]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
je 0x4102c9
cmp ecx, ebp
je 0x4102c9
mov ecx, dword [edi + 0x698]
cmp ecx, ebp
je 0x4102c9
push esi
call fcn.00408b30
xor esi, esi
cmp eax, ebp
mov dword [esp + 0x18], eax
jle 0x4102c8
push ebx
lea ebx, [edi + 0x2f4c]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
nop
push 0x206
lea eax, [esp + 0x26]
push ebp
push eax
mov word [esp + 0x2c], bp
call fcn.00477c40
push esi
push str.Avg30SecBitRate
push str._s_d
lea ecx, [esp + 0x38]
push 0x104
push ecx
call fcn.00477bdc
push 0x206
lea edx, [esp + 0x24e]
push ebp
push edx
mov word [esp + 0x254], bp
call fcn.00477c40
add esp, 0x2c
push ebx
push 0x104
lea eax, [esp + 0x230]
push eax
push 0x492aa0
lea ecx, [esp + 0x30]
push ecx
push str.Statistics
call edi
fldz
lea edx, [esp + 0x10]
fstp dword [esp + 0x10]
push edx
lea eax, [esp + 0x22c]
push 0x494448
push eax
call fcn.00479702
fld dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
add esp, 0xc
cmp esi, ebp
jne 0x410292
mov edx, dword [esp + 0x14]
fst dword [ecx]
fstp dword [edx]
jmp 0x4102ba
fld dword [ecx]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4102a1
fstp dword [ecx]
jmp 0x4102ba
mov eax, dword [esp + 0x14]
fld dword [eax]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4102b8
mov ecx, dword [esp + 0x14]
fstp dword [ecx]
jmp 0x4102ba
fstp st(0)
add esi, 1
cmp esi, dword [esp + 0x1c]
jl 0x4101f0
pop ebx
pop esi
mov ecx, dword [esp + 0x428]
pop edi
pop ebp
xor ecx, esp
call fcn.00477bf8
add esp, 0x424
ret 8
Function at 0x412150
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov eax, 0x28bc
call fcn.00477c10
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x28b8], eax
push esi
push edi
mov esi, ecx
call fcn.0040e870
mov ecx, dword [esi + 4]
push 0x409
push 0x823
lea eax, [esp + 0x105c]
push eax
push 0x6a
push ecx
call fcn.0040e380
lea edx, [esp + 0x1068]
push str.PRODUCTNAME
push edx
call fcn.00479636
add eax, 0x18
lea edx, [esp + 0x1070]
add esp, 0x1c
sub edx, eax
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4121b0
lea eax, [esp + 0x1054]
push 0x3f
push eax
call fcn.00477e1f
add esp, 8
test eax, eax
je 0x4121da
mov word [eax], 0
lea ecx, [esp + 0x1054]
push ecx
push str.szProductName____s_
call fcn.0040de80
mov ecx, dword [esi + 0xa5a4]
add esp, 8
cmp byte [esp + 0x28c8], 0
lea eax, [esi + 0x3564]
je 0x412238
lea edx, [esi + 0x376c]
push edx
mov edx, dword [esi + 0xa5a0]
push eax
mov eax, dword [esi + 0xa59c]
push ecx
push edx
push eax
lea ecx, [esp + 0x1068]
push ecx
lea edx, [esp + 0x24]
push str.http:__track.cyberlink.com_prog_tracking.jsp_acnCLacp0906uln_sPauseCount_dResumeCount_dDuration_dStartingTime_sCancelReason_s
push edx
call fcn.00401570
add esp, 0x20
jmp 0x412262
mov edx, dword [esi + 0xa5a0]
push eax
mov eax, dword [esi + 0xa59c]
push ecx
push edx
push eax
lea ecx, [esp + 0x1064]
push ecx
lea edx, [esp + 0x20]
push str.http:__track.cyberlink.com_prog_tracking.jsp_acnCLacp0905uln_sPauseCount_dResumeCount_dDuration_dStartingTime_s
push edx
call fcn.00401570
add esp, 0x1c
cmp byte [esi + 0xa589], 0
mov eax, 0x49598c
jne 0x412275
mov eax, 0x495984
push eax
lea eax, [esi + 0x335c]
push eax
lea ecx, [esi + 0x2d44]
push ecx
lea edx, [esi + 0x3974]
push edx
lea eax, [esi + 0x2b3c]
push eax
add esi, 0x3154
push esi
lea ecx, [esp + 0x24]
push ecx
mov edx, ecx
push str._sTokenID_sLANGUAGE_sLocale_sFormat_sUUID_splatform_s
push edx
call fcn.00401570
lea eax, [esp + 0x30]
push eax
push str._SendLog_Complete__szURL_:__s
call fcn.0040de80
add esp, 0x2c
push 0
push 0
push 0
push 0
push str.Microsoft_Internet_Explorer
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
je 0x412336
push ebp
push 0
push SysReAllocString
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebp, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, eax
test esi, esi
je 0x412332
lea edx, [esp + 0xc]
push edx
push 0x822
lea eax, [esp + 0x20a8]
push eax
push esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x41232f
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41232f
mov byte [esp + eax + 0x20a0], 0
push esi
call ebp
push edi
call ebp
pop ebp
mov ecx, dword [esp + 0x28c0]
pop edi
pop esi
xor ecx, esp
mov eax, 0x80004005
call fcn.00477bf8
add esp, 0x28bc
ret 4