joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43dcd7
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov esi, eax
lea eax, [esi + 0x1c]
mov edi, str.ressrcchsextendimg
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
call fcn.0041e7cc
push dword [eax]
call fcn.00423928
mov eax, dword [ebp - 4]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.0040153b
add esi, 0x20
mov dword [ebp - 4], esi
xor esi, esi
push dword [esi + 0x515e84]
mov eax, dword [ebp - 8]
push edi
lea ecx, [ebp - 0x18]
call fcn.0041e7cc
pop ecx
lea ecx, [ebp - 0x14]
call fcn.0041e7cc
mov ebx, dword [eax]
mov eax, dword [ebp - 4]
pop ecx
push dword [esi + 0x515e84]
lea ecx, [ebp - 0x10]
push str.install_res
call fcn.0041e7cc
pop ecx
lea ecx, [ebp - 0xc]
call fcn.0041e7cc
pop ecx
push 0
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040153b
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040153b
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040153b
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040153b
add esi, 4
cmp esi, 0x14
jb 0x43dd12
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret

Function at 0x43df3c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
push edi
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x20a]
push ebx
push eax
mov word [ebp - 0x20c], bx
call fcn.004923b0
mov eax, dword [0x519a54]
add esp, 0xc
mov ecx, 0x519a54
call dword [eax + 0xc]
mov edi, eax
lea eax, [ebp - 0x20c]
push eax
add edi, 0x10
push 0x104
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
mov esi, 0x51b6f8
je 0x43dff4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.00401b70
push str.kantivirus_
push esi
call fcn.0040554e
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
lea eax, [ebp - 4]
push str._x_
push eax
call fcn.0041e7b9
mov edi, dword [ebp - 4]
add esp, 0xc
push dword [edi - 0xc]
mov eax, esi
push edi
call fcn.0040cf77
push dword [0x51b6f8]
call fcn.00423928
test eax, eax
pop ecx
je 0x43dff4
inc ebx
jmp 0x43dff9
call fcn.004015eb
lea eax, [edi - 0x10]
call fcn.0040153b
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x43f717
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push edi
mov esi, eax
mov ecx, 0x519a54
call fcn.004016bf
xor edi, edi
push 0x206
lea eax, [ebp - 0x206]
push edi
push eax
mov word [ebp - 0x208], di
call fcn.004923b0
push str.programfiles
call fcn.00494ff8
add esp, 0x10
push eax
push esi
call fcn.00401b70
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
jne 0x43f786
push edi
push 0x26
lea eax, [ebp - 0x208]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, edi
je 0x43f79d
lea eax, [ebp - 0x208]
push eax
push esi
call fcn.00401b70
mov eax, esi
call fcn.004053c9
call fcn.00423728
push str.kingsoftkingsoft_antivirus_
push esi
call fcn.0040554e
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x43f902
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x519a54]
push ebx
push esi
mov esi, 0x519a54
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
mov eax, dword [0x519a54]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
lea edi, [ebp - 0xc]
mov dword [ebp - 4], eax
call fcn.00424c8f
lea edi, [ebp - 8]
call fcn.0040208c
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040153b
mov eax, dword [ebp + 8]
add eax, 0x1c
mov dword [ebp + 8], eax
xor ebx, ebx
mov esi, 0x51b95c
push dword [ebx + 0x515ed0]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.0041e7cc
pop ecx
lea edi, [ebp - 4]
call fcn.0040208c
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040153b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push edi
push str.ClearInvalidDrivers_return:_d__error:_d__path:_ws
call fcn.0044cc8c
push dword [ebx + 0x515ed0]
lea edi, [ebp - 0x14]
call fcn.004237ae
push eax
lea eax, [ebp - 8]
lea ecx, [ebp - 0x10]
call fcn.0041e6f7
add esp, 0x18
lea edi, [ebp - 4]
call fcn.0040208c
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040153b
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040153b
mov edi, dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push dword [ebp - 0x18]
push str.ClearInvalidDrivers_return:_d__error:_d__path:_ws
call fcn.0044cc8c
add ebx, 4
add esp, 0x10
cmp ebx, 0x20
jb 0x43f95b
lea eax, [edi - 0x10]
call fcn.0040153b
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040153b
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 4
Function at 0x43fc55
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
push str.2012.sp3.0
lea eax, [ebp - 8]
call fcn.004019de
xor edi, edi
push 0x206
lea eax, [ebp - 0x216]
push edi
push eax
mov word [ebp - 0x218], di
call fcn.004923b0
mov eax, dword [0x51b6f4]
add eax, 0xfffffff0
mov dword [ebp - 4], edi
call fcn.00401667
mov esi, eax
add esi, 0x10
push 0x4ecb24
lea eax, [ebp - 0xc]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], esi
call fcn.0041e7cc
add esp, 0x10
push dword [eax]
lea eax, [ebp - 0x218]
push 0x208
push eax
push dword [ebp - 8]
push str.Version
push 0x4ec858
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
mov ebx, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040153b
lea eax, [esi - 0x10]
call fcn.0040153b
cmp ebx, edi
jle 0x43fcfe
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00401b70
push edi
push str.SOFTWAREKingsoftAntivirus
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 4]
call fcn.004022c9
test eax, eax
je 0x43fd2f
push dword [ebp - 8]
push str.InstallVersion
call fcn.0042034a
push dword [ebp - 8]
push str.PackageVersion
call fcn.0042034a
cmp dword [ebp - 4], edi
je 0x43fd3d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
mov dword [ebp - 4], edi
call fcn.0040153b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43fd50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
push str.KInsall::FixRegError_begin...
mov esi, 0x51b95c
call fcn.0044cc8c
mov eax, dword [ebp + 8]
add eax, 0x20
lea ecx, [esp + 0x14]
mov dword [esp], str.ksregbackup.reg
call fcn.0041e7cc
pop ecx
mov ebx, str.softwarekingsoft_antivirus
push ebx
call fcn.00441a3a
test eax, eax
pop ecx
mov edi, reloc.OLEAUT32.dll_SysReAllocString
je 0x43fda0
push ebx
push edi
call fcn.00440e17
pop ecx
pop ecx
mov ebx, str.softwarekingsoftKISCommon
push ebx
call fcn.00441a3a
test eax, eax
pop ecx
je 0x43fdb9
push ebx
push edi
call fcn.00440e17
pop ecx
pop ecx
push str.softwarekingsoft_
call fcn.00441a3a
mov ebx, dword [sym.imp.KERNEL32.DLL_GetLastError]
pop ecx
mov dword [esp + 0x14], eax
call ebx
push eax
push dword [esp + 0x18]
push str.KInsall::FixRegError_TestIsVolatieKey_kingsoft__return__d__error:_d
call fcn.0044cc8c
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x43fe6e
push str.softwarekingsoft_needreboot
push edi
call fcn.00440e17
push str.softwarekingsoft_antivirus
push edi
call fcn.00440e17
push str.softwarekingsoftKISCommon
push edi
call fcn.00440e17
push dword [esp + 0x28]
call fcn.00441bc4
add esp, 0x1c
mov dword [esp + 0x14], eax
call ebx
push eax
push dword [esp + 0x18]
push str.KInsall::FixRegError_BackKey_kingsoft__return__d__error:_d
call fcn.0044cc8c
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x43fe6e
push str.softwarekingsoft_
push edi
call fcn.00440e17
push dword [esp + 0x18]
call fcn.00441d19
add esp, 0xc
call ebx
push eax
push dword [esp + 0x18]
push str.KInsall::FixRegError_ImportKey_kingsoft__return__d__error:_d
call fcn.0044cc8c
add esp, 0xc
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push str.KInsall::FixRegError_end
call fcn.0044cc8c
mov eax, dword [esp + 0x14]
pop ecx
add eax, 0xfffffff0
call fcn.0040153b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x440531
Capabilities:
Delete file
Get common file path
Get file size
Move file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
push esi
xor esi, esi
push 0x206
lea eax, [ebp - 0x25e]
push esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov word [ebp - 0x260], si
call fcn.004923b0
add esp, 0xc
push 0x103
lea eax, [ebp - 0x260]
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], esi
mov word [ebp - 0x34], si
mov dword [ebp - 0x1c], str.KSHMPG.DLL
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
push str.xlkfs.dat
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
push 0x80
push 3
push esi
push 3
push SysReAllocString
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x44070c
cmp eax, esi
je 0x44070c
push edi
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
cmp dword [ebp - 0x18], esi
mov edi, eax
jne 0x4406d6
cmp edi, 0x1400000
ja 0x4406d6
push ebx
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049130d
mov ebx, eax
cmp ebx, esi
pop ecx
mov dword [ebp - 0x14], ebx
je 0x4406d5
push esi
lea eax, [ebp - 8]
push eax
push edi
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x4406cc
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x4406cc
mov ecx, ebx
lea esi, [ebp - 0x38]
call fcn.004011e2
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x44064e
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
lea ebx, [eax + ecx*2]
lea esi, [ebp - 0x38]
lea edi, [ebp - 0x40]
call fcn.00440bbe
lea eax, [ebp - 0x50]
mov ecx, esi
call fcn.0044091f
mov esi, dword [eax]
mov ebx, dword [eax + 4]
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x38]
call fcn.0044091f
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov ecx, dword [eax + 4]
xor eax, eax
lea edi, [ebp - 0x44]
stosb byte es:[edi], al
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push dword [ebp - 0x14]
push ebx
push esi
push dword [ebp - 0x3c]
push ecx
push eax
call fcn.00440d87
add esp, 0x1c
xor esi, esi
mov edi, dword [ebp + esi*4 - 0x1c]
push edi
call fcn.004926b1
pop ecx
push eax
push edi
lea eax, [ebp - 0x38]
call fcn.0042982d
cmp eax, 0xffffffff
jne 0x4406c3
inc esi
cmp esi, 1
jb 0x4406a1
jmp 0x4406ca
mov dword [ebp - 0x10], 1
xor esi, esi
push dword [ebp - 0x14]
call fcn.0049242a
pop ecx
pop ebx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x10], esi
pop edi
je 0x44070c
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x44070c
push 4
push esi
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
mov dword [ebp - 4], eax
push esi
push 1
lea esi, [ebp - 0x38]
call fcn.00401105
mov eax, dword [ebp - 4]
pop esi
leave
ret
Function at 0x4407be
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [0x51a990]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], ebp
je 0x4407db
mov esi, dword [eax + 4]
jmp 0x4407dd
xor esi, esi
cmp esi, ebp
jne 0x4407ed
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, ebp
je 0x440812
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x440812
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x440812
push ebp
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push ecx
mov eax, esp
mov dword [edi + 0x378], ebp
push esi
mov ebx, edi
mov dword [eax], ebp
call fcn.00440a36
mov ebx, eax
cmp ebx, ebp
jne 0x44083b
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x440917
mov edx, ebx
call fcn.0040b203
mov dword [esp + 0x20], eax
lea eax, [edi + 4]
push eax
mov eax, esi
call fcn.0040b0b6
cmp dword [edi + 0x36c], ebp
je 0x4408c5
push ebp
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push ebp
push ebp
push ebp
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push ebp
push ebp
push ebp
push ebp
push ebp
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x14]
je 0x4408a8
push 1
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x14]
je 0x4408c5
push ebp
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
call fcn.00488ed6
push 0x97
push ebp
lea ebx, [edi + 4]
push ebx
mov dword [edi + 0x378], ebp
call fcn.0041e79c
cmp dword [esp + 0x1c], ebp
je 0x440903
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, ebp
je 0x440903
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx]
jne 0x440903
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0040b203
push dword [ebx]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x440e17
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0xf003f
xor esi, esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x440e96
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x440e5e
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 4]
call fcn.00440e17
cmp eax, esi
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
jne 0x440e9a
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x418]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 0x200
call edi
test eax, eax
je 0x440e46
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
leave
ret
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
jmp 0x440e96

Function at 0x441073
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
xor edi, edi
push 0x4fa608
lea eax, [ebp - 8]
mov dword [ebp - 0x14], edi
call fcn.004019de
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ecx + 0x390], edi
je 0x44109d
push 2
pop eax
cmp dword [0x51b6e4], edi
mov dword [0x51b86c], eax
jne 0x441197
push ebx
xor ebx, ebx
lea esi, [ebp - 0x14]
inc ebx
call fcn.00441679
push str.GuiYingGD
push eax
call fcn.0040cfc8
test eax, eax
je 0x441105
push 3
pop ebx
push str.AV2012
lea esi, [ebp - 0x10]
call fcn.00441679
push eax
call fcn.004411e7
test al, al
pop ecx
pop ecx
jne 0x441105
push 7
pop ebx
push str.GhostAv2
lea esi, [ebp - 0xc]
call fcn.00441679
push eax
call fcn.004411e7
test al, al
pop ecx
pop ecx
mov byte [ebp - 1], 0
je 0x441109
mov byte [ebp - 1], 1
test bl, 4
je 0x44111c
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
and ebx, 0xfffffffb
call fcn.0040153b
test bl, 2
je 0x44112f
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
and ebx, 0xfffffffd
call fcn.0040153b
test bl, 1
pop ebx
je 0x441140
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040153b
cmp byte [ebp - 1], 0
je 0x441197
mov eax, dword [0x51b6f4]
add eax, 0xfffffff0
call fcn.00401667
mov esi, eax
add esi, 0x10
push str.kismain.exe
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], esi
call fcn.0041e7cc
pop ecx
push 5
push edi
push str._tool:wangumumazhuansha
push dword [eax]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040153b
lea eax, [esi - 0x10]
call fcn.0040153b
jmp 0x4411aa
push 5
push edi
push edi
push dword [ebp - 8]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp + 8]
call fcn.004411c3
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040153b
pop edi
pop esi
leave
ret 4
Function at 0x441a3a
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x519a54]
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x519a54
mov ecx, esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [0x519a54]
mov ecx, esi
call dword [eax + 0xc]
push dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.00401b70
lea eax, [ebp - 0x10]
xor ecx, ecx
push eax
inc ecx
lea eax, [ebp - 4]
call fcn.004054b7
mov esi, 0x4efd98
push esi
push eax
call fcn.0040cfc8
test eax, eax
mov eax, dword [ebp - 0x10]
setne bl
add eax, 0xfffffff0
call fcn.0040153b
test bl, bl
je 0x441ab5
push esi
lea eax, [ebp - 4]
push eax
call fcn.0040554e
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
lea eax, [ebp - 8]
push 0x4fa744
push eax
call fcn.0041e7b9
add esp, 0xc
mov esi, reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
lea ecx, [ebp - 0x18]
call fcn.0041e6f7
mov eax, dword [eax]
mov dword [esp], 0x20019
push eax
push esi
lea eax, [ebp - 0x10]
xor ebx, ebx
mov dword [ebp - 0x10], edi
call fcn.00411832
test eax, eax
jne 0x441afe
inc ebx
cmp dword [ebp - 0x10], edi
je 0x441b0c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040153b
cmp ebx, edi
je 0x441b33
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
push 0x4f8c28
lea ecx, [ebp - 8]
call fcn.00401e1d
pop ecx
pop ecx
jmp 0x441ad2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
lea ecx, [ebp - 0x18]
call fcn.0041e6f7
pop ecx
push dword [eax]
lea eax, [ebp - 0xc]
push esi
call fcn.00441ddf
mov ebx, eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040153b
cmp ebx, edi
mov edi, dword [ebp - 4]
jne 0x441b7f
push 0x2001f
push edi
push esi
lea eax, [ebp - 0xc]
call fcn.00411832
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x441b8e
cmp ebx, 0x3fd
jne 0x441b8e
mov dword [ebp - 0x14], 1
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x441b9e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040153b
lea eax, [edi - 0x10]
call fcn.0040153b
test esi, esi
je 0x441bbc
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x441e40
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
xor ebx, ebx
call fcn.00480a99
cmp eax, ebx
mov dword [edi + 0x18], eax
je 0x441e7c
push ebx
push ebx
push edi
push 0x44230a
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
push str.LoadProductPacket_CreateThread_return:_d
mov esi, 0x51b95c
mov dword [edi + 0x10], eax
call fcn.0044cc8c
cmp dword [edi + 0x10], ebx
pop ecx
pop ecx
je 0x441e7c
inc ebx
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x441f36
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x519a54]
push ebx
push esi
xor esi, esi
push edi
mov ecx, 0x519a54
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [eax + 0xc]
push dword [ebp + 0xc]
mov ebx, eax
mov edi, 0x51b95c
mov dword [ebp - 4], esi
push str.GetPacketData__d
mov esi, edi
add ebx, 0x10
call fcn.0044cc8c
mov esi, dword [ebp + 8]
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
call fcn.00442022
push eax
push str.GetPacketData_return:_d
mov esi, edi
mov dword [ebp + 0xc], eax
call fcn.0044cc8c
cmp dword [ebp + 0xc], 0
pop ecx
pop ecx
jne 0x441fa5
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 1
jmp 0x442003
call fcn.00480a99
test eax, eax
mov dword [ebp - 4], eax
je 0x442003
push str.Extract...
call fcn.0044cc8c
mov eax, dword [ebp - 4]
pop ecx
push dword [ebp + 0x10]
mov ecx, dword [eax]
push dword [ebp - 8]
push dword [ebp + 0xc]
push eax
call dword [ecx]
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp + 0xc], eax
push ecx
push str.Extract_return:_d
call fcn.0044cc8c
xor esi, esi
cmp dword [ebp + 0xc], esi
pop ecx
pop ecx
je 0x441ffc
lea eax, [ebx - 0x10]
call fcn.0040153b
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
mov dword [ebp - 0xc], 1
cmp dword [ebx - 0xc], 0
je 0x442010
push ebx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x44201d
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov esi, dword [ebp - 0xc]
jmp 0x441feb
Function at 0x442103
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
xor edi, edi
push 0x206
mov esi, eax
lea eax, [ebp - 0x20e]
push edi
push eax
mov dword [ebp - 4], edi
mov word [ebp - 0x210], di
call fcn.004923b0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44218f
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.LoadImageToMem_CreateFile_error:_d__path:_ws
mov esi, 0x51b95c
call fcn.0044cc8c
add esp, 0xc
jmp 0x442207
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
cmp ebx, edi
mov dword [esi], eax
jne 0x4421c2
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
jmp 0x4421ea
push dword [esi + 8]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
cmp eax, edi
mov dword [esi + 4], eax
jne 0x4421f9
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
mov esi, 0x51b95c
call fcn.0044cc8c
add esp, 0xc
jmp 0x442200
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret