joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462476
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0xc
mov eax, 0x4b3091
call fcn.004764c0
xor eax, eax
push 0x7fe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
mov ebx, ecx
call fcn.00475420
add esp, 0xc
lea eax, [ebp]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ecx
lea eax, [ebp]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004024e0
call fcn.00442623
pop ecx
test eax, eax
jne 0x46252b
push 0x96
lea ecx, [ebp - 0x10]
call fcn.004325a7
mov esi, eax
and dword [ebp - 4], 0
push 0xd4
lea ecx, [ebp - 0x14]
call fcn.004325a7
push 1
push 0x40
push dword [esi]
mov ecx, ebx
push dword [eax]
mov byte [ebp - 4], 1
push 0
call fcn.00460542
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402820
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
xor eax, eax
jmp 0x46252e
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.0047549a
add ebp, 0x804
leave
ret
Function at 0x462551
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
sub esp, 0x210
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x210], eax
push 0x18
mov eax, 0x4b30e2
call fcn.004764c0
mov eax, dword [ebp + 0x21c]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
mov eax, dword [edi + 8]
cmp eax, ebx
jne 0x4625b3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.0047549a
add ebp, 0x214
leave
ret 4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov ecx, edi
mov dword [ebp - 0x1c], eax
call fcn.0045f79c
mov esi, eax
cmp esi, ebx
je 0x46258c
push 0x4f9e00
lea ecx, [ebp - 0x14]
call fcn.004027fb
push 0x4fbd68
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00460be6
push dword [0x4fbd68]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46265b
push dword [0x4fbd68]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
jne 0x46265b
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.00475420
add esp, 0xc
push 1
push 0x23
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.004024e0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.004606e9
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00402820
jmp 0x462668
push 0x4fbd68
lea ecx, [ebp - 0x14]
call fcn.00401c3e
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
mov ecx, dword [esi]
cdq
push edx
push eax
push edi
push esi
call dword [ecx + 0x34]
test eax, eax
je 0x462699
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00403cb9
call fcn.00442623
pop ecx
cmp eax, ebx
jne 0x462758
push dword [ebp - 0x1c]
mov eax, dword [esi]
push esi
call dword [eax + 0x58]
movzx ecx, ax
cmp cx, bx
jne 0x4626b7
lea ecx, [edi - 0x10]
call fcn.00402820
jmp 0x46258c
xor eax, eax
push 0x3a
lea edi, [ebp + 0x20a]
stosd dword es:[edi], eax
pop eax
mov word [ebp + 0x20a], ax
lea eax, [ebp + 0x208]
mov word [ebp + 0x208], cx
push eax
lea ecx, [ebp - 0x18]
call fcn.004024e0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], 1
call fcn.004606e9
add esp, 0xc
test eax, eax
je 0x46271c
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.00403cb9
call fcn.00442623
pop ecx
mov byte [ebp - 0xd], bl
cmp eax, ebx
jne 0x462720
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [ebp - 4], ebx
call fcn.00402820
cmp byte [ebp - 0xd], bl
je 0x462758
push ebx
push ebx
push 0x99
call fcn.00402d6a
mov ecx, eax
call fcn.00402dfb
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402820
mov eax, ebx
jmp 0x46258e
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
call fcn.00401c3e
xor ebx, ebx
inc ebx
jmp 0x462746
Function at 0x463cd6
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00475420
movzx eax, word [ebp + 8]
push eax
push str.._c:
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00415a3e
add esp, 0x1c
push esi
push esi
push 3
push esi
push 3
push SysReAllocStringLen
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x463d45
xor eax, eax
jmp 0x463d86
push esi
lea eax, [ebp - 0x210]
push eax
push 0xc
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push 0x2d1080
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push ebx
test eax, eax
jne 0x463d71
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x463d41
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, esi
je 0x463d83
mov eax, dword [ebp - 0x218]
mov dword [edi], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047549a
leave
ret 8
Function at 0x4661bd
Capabilities:
Get disk information
Get storage device properties

Disassembly:
push ebp
sub esp, 0x414
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x414], eax
push 0xc
mov eax, 0x4b3468
call fcn.004764c0
mov eax, dword [ebp + 0x420]
mov ax, word [eax]
mov esi, 0x4c3eb0
lea edi, [ebp + 0x40c]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov word [ebp + 0x40c], ax
lea eax, [ebp + 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x466238
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x414]
xor ecx, ebp
call fcn.0047549a
add ebp, 0x418
leave
ret 4
push 0x4bb9c0
lea ecx, [ebp - 0x14]
call fcn.004024e0
lea eax, [ebp + 0x40c]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00403b09
push 0x3ff
lea eax, [ebp + 0xd]
push ebx
push eax
mov dword [ebp - 0x18], ebx
mov byte [ebp + 0xc], bl
call fcn.00475420
add esp, 0xc
push 0x4f9e00
lea ecx, [ebp - 0x10]
call fcn.004027fb
mov esi, 0x400
push esi
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00416214
push eax
lea eax, [ebp + 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0040b3c8
cmp edi, ebx
jbe 0x4662e4
mov edi, str.DeviceHarddisk
push edi
call fcn.00475ebe
push eax
push edi
mov edi, dword [ebp - 0x10]
push edi
call fcn.00477d1d
add esp, 0x10
test eax, eax
je 0x4662e4
lea ecx, [edi - 0x10]
call fcn.00402820
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402820
jmp 0x466211
push ebx
push 0x80
push 3
push ebx
push 1
push 0x20000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x466321
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402820
mov eax, ebx
jmp 0x466213
push ebx
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0xc
lea eax, [ebp]
push eax
push 0x2d1400
push edi
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x466356
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc ebx
jmp 0x466304
xor esi, esi
inc esi
cmp dword [ebp + 0x28], 4
je 0x466365
cmp dword [ebp + 0x28], 7
jne 0x466367
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, esi
jmp 0x466304
Function at 0x4664a5
Capabilities:
Get disk information

Disassembly:
push 0x18
mov eax, 0x4b3498
call fcn.004764c0
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
call fcn.00466372
test eax, eax
je 0x4665bc
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push ebx
push ebx
call esi
push 0x4f9e7c
xor ecx, ecx
push 2
pop edx
mov edi, eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00477a64
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x4665b9
push eax
push edi
call esi
test eax, eax
je 0x4665b0
mov esi, dword [ebp - 0x20]
or dword [ebp - 0x1c], 0xffffffff
cmp word [esi], bx
je 0x4665b0
mov ecx, dword [ebp - 0x10]
push esi
call fcn.004661bd
test eax, eax
je 0x466581
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
movzx eax, word [esi]
push eax
mov dword [ebp - 0x14], ebx
call fcn.00466372
test eax, eax
je 0x466581
mov edi, dword [ebp - 0x14]
cmp edi, dword [ebp - 0x18]
je 0x466581
cmp edi, dword [ebp - 0x1c]
je 0x466581
push 0x4f9e00
lea ecx, [ebp + 8]
mov dword [ebp - 0x1c], edi
call fcn.004027fb
lea eax, [ebp + 8]
push eax
push edi
mov dword [ebp - 4], ebx
call fcn.00464061
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
cmp eax, ebx
jne 0x4665a4
or dword [ebp - 4], 0xffffffff
call fcn.00402820
lea eax, [ebp - 0x14]
push eax
push SysReAllocString
push esi
mov dword [ebp - 0x14], ebx
call fcn.004637b7
mov eax, dword [ebp - 0x14]
lea esi, [esi + eax*2 + 2]
cmp esi, ebx
jne 0x466515
jmp 0x4665b0
mov dword [ebp - 0x24], 1
call fcn.00402820
push dword [ebp - 0x20]
call fcn.00476b34
pop ecx
mov eax, dword [ebp - 0x24]
call fcn.00476598
ret 0xc
Function at 0x4665c4
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
xor esi, esi
push 4
pop edi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], edi
cmp dword [ebp + 8], esi
je 0x4666a3
push ebx
mov ebx, dword [sym.imp.WININET.dll_HttpSendRequestW]
mov eax, dword [ebp + 0xc]
dec dword [ebp + 0xc]
test eax, eax
jle 0x4666a2
push esi
push esi
push esi
push esi
push dword [ebp + 8]
call ebx
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x466664
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f0d
je 0x46661c
cmp eax, 0x2f19
jne 0x466655
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x1f
push dword [ebp + 8]
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [ebp - 0xc], 0x3180
push edi
lea eax, [ebp - 0xc]
push eax
push 0x1f
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push esi
push esi
push esi
push esi
push dword [ebp + 8]
call ebx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], esi
jne 0x4665ea
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4665ea
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x20000013
push dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [ebp - 4], eax
cmp eax, esi
je 0x46665a
cmp dword [ebp - 8], 0xc8
je 0x4666a2
cmp dword [ebp - 8], 0xce
je 0x4666a2
mov dword [ebp - 4], esi
jmp 0x4665ea
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8

Function at 0x4666ac
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0x118
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00475420
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 6
mov ecx, dword [ebp + 0x9c]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0047549a
add ebp, 0xa0
leave
ret

Function at 0x4668ba
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
xor eax, eax
cmp esi, eax
jne 0x4668c9
xor eax, eax
pop esi
ret
push eax
push eax
push eax
push dword [esi + 0x10]
call fcn.00401d75
test eax, eax
je 0x4668c5
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
ret
Function at 0x468f76
Capabilities:
Hide graphical window

Disassembly:
push 0xa0
mov eax, 0x4b3742
call fcn.004764c0
mov esi, ecx
cmp dword [ebp + 8], 0x64
jne 0x469066
push 0x64
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
xor ebx, ebx
push ebx
push ebx
push 1
push 4
lea edi, [esi + 0xe4]
push edi
push 0x421
lea ecx, [esi + 0x54]
call fcn.004411a1
lea ecx, [ebp - 0xac]
call fcn.00441359
push 0x4f9e00
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.004027fb
push edi
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 1
call fcn.004431c1
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
push eax
mov dword [0x4f7c60], eax
push 0x44e
push dword [esi + 4]
call fcn.0043dbc9
add esp, 0xc
push edi
mov ecx, 0x4f7c6c
call fcn.00401c3e
push dword [ebp - 0x4c]
lea ecx, [ebp + 8]
call fcn.00402766
mov ecx, 0x4f7c20
call fcn.0043a0b9
cmp eax, ebx
je 0x469036
mov ecx, eax
call fcn.0045f244
push edi
mov ecx, eax
call fcn.00401c3e
push dword [ebp - 0x4c]
push 0x424
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402820
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00440ea1
jmp 0x46916c
cmp dword [ebp + 8], 0x65
jne 0x469154
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, 0x2853
push ebx
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46916c
push 0x2854
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46916c
cmp dword [esi + 0xf0], 0
je 0x46912b
inc dword [esi + 0xec]
mov eax, dword [esi + 0xec]
cmp eax, 8
jae 0x46911a
push ebx
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4690f6
push ebx
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push 0x2854
push dword [esi + 4]
call edi
push 5
push eax
call ebx
jmp 0x46916c
push 0x2854
push dword [esi + 4]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [esi + 4]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46916c
cmp eax, 0x17
jbe 0x46916c
mov dword [esi + 0xec], 1
jmp 0x46916c
push ebx
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push 0x2854
push dword [esi + 4]
call edi
push 0
push eax
call ebx
and dword [esi + 0xec], 0
jmp 0x46916c
cmp dword [ebp + 8], 0x66
jne 0x46916c
push 0x66
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, esi
call fcn.00468d30
call fcn.00476598
ret 4

Function at 0x46981e
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 3
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x469844
cmp dword [ebp - 4], 0
je 0x469859
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret
Function at 0x469a65
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
push edi
xor edi, edi
push edi
push 1
push 0x4f8ac0
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x469a9d
xor eax, eax
inc eax
jmp 0x469c45
push esi
push str.DRIVERDLL
push 0x1389
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x469abc
xor eax, eax
jmp 0x469c44
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov dword [ebp - 0x70], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, edi
jne 0x469add
xor eax, eax
jmp 0x469c43
mov esi, 0x208
push esi
lea eax, [ebp + 0x19c]
push edi
push eax
mov dword [ebp - 0x74], edi
call fcn.00475420
push esi
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.00475420
add esp, 0x18
lea eax, [ebp - 0x6c]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x469b2c
lea eax, [ebp + 0x19c]
push eax
push edi
push 0x4c4544
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [ebp + 0x19c], di
jne 0x469b4a
push 0x4c4520
lea eax, [ebp + 0x19c]
push esi
push eax
call fcn.004781a5
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, edi
je 0x469c40
push edi
push edi
push 2
push edi
push 1
push 0x40000000
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x469c40
push edi
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x80], edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x469c33
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0x19c]
push edi
push eax
call fcn.0040224e
pop ecx
pop ecx
test eax, eax
je 0x469c33
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, edi
je 0x469c33
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4c4518
push ebx
call esi
push 0x4c4514
push ebx
mov dword [ebp - 0x7c], eax
call esi
push 0x4c4510
push ebx
mov dword [ebp - 0x78], eax
call esi
push 0x4c4508
push ebx
mov dword [ebp - 0x70], eax
call esi
mov esi, eax
cmp dword [ebp - 0x7c], edi
je 0x469c2c
cmp dword [ebp - 0x78], edi
je 0x469c2c
cmp dword [ebp - 0x70], edi
je 0x469c2c
cmp esi, edi
je 0x469c2c
call dword [ebp - 0x7c]
test al, al
je 0x469c2c
xor edi, edi
inc edi
push edi
push 0x4c44f4
call dword [ebp - 0x78]
pop ecx
pop ecx
call dword [ebp - 0x70]
test al, al
je 0x469c2a
mov dword [ebp - 0x74], edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x74]
pop ebx
pop esi
mov ecx, dword [ebp + 0x3a4]
xor ecx, ebp
pop edi
call fcn.0047549a
add ebp, 0x3a8
leave
ret
Function at 0x46a33e
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x46a34c
cmp eax, 0xffffffff
jne 0x46a366
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x46a2bd
push 0
push 0
call fcn.00475fd9
add esp, 0x18
mov dword [esi], eax
mov esi, dword [esi]
test esi, esi
je 0x46a376
cmp esi, 0xffffffff
je 0x46a376
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x46ab3e
Capabilities:
Get common file path
Get disk information
Get disk size

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x4b5717
call fcn.004764c0
xor eax, eax
push 0x206
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push edi
push eax
mov esi, ecx
call fcn.00475420
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx ebx, word [ebp]
push 0x4f9e00
lea ecx, [ebp - 0x10]
call fcn.004027fb
movzx eax, bx
push eax
lea eax, [ebp - 0x10]
push str._c:_
push eax
mov dword [ebp - 4], edi
call fcn.00403b2e
mov ebx, dword [ebp - 0x10]
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x46abf8
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
lea ecx, [ebx - 0x10]
call fcn.00402820
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0047549a
add ebp, 0x20c
leave
ret
push 8
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00475420
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x46ac20
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
jmp 0x46ac33
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
shrd eax, ecx, 0x14
shr ecx, 0x14
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
xor edi, edi
inc edi
jmp 0x46abcb

Function at 0x46ad3f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xd4
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push eax
mov esi, ecx
call fcn.00475420
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
push str.ipartner
push str.SOFTWARE360SafeCoop
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x5c], 0x64
mov dword [ebp - 0x58], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x54]
push eax
lea ecx, [esi + 0x30]
call fcn.00402766
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop esi
call fcn.0047549a
add ebp, 0x78
leave
ret
Function at 0x46ae32
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x4b37ac
call fcn.004764c0
mov edi, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x10], eax
mov ebx, edi
mov dword [ebp + 0x1c], eax
push edi
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], eax
call fcn.0046a93b
test al, al
jne 0x46ae6a
mov ecx, dword [ebp + 8]
push 0x4f9e00
call fcn.004027fb
jmp 0x46aeba
push dword [ebp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
lea ecx, [edi - 1]
jmp 0x46aeab
add ebx, edi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.0046a96e
test al, al
je 0x46ae5b
push dword [ebp + 0x18]
push ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
lea ecx, [ebx - 1]
cmp eax, ecx
je 0x46ae87
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
call fcn.004024e0
push dword [ebp + 0x1c]
call fcn.0047710c
mov eax, dword [ebp + 8]
pop ecx
call fcn.00476598
ret 0x18