joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e444
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x65c
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push 0x508830
lea eax, [ebp - 0x25c]
push str._sSystem32_rundll32.exe
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x65c]
push str.__s__url_OpenURL__s
push eax
call esi
add esp, 0x1c
cmp dword [0x508708], 6
jb 0x42e4b9
call fcn.0042877f
test eax, eax
je 0x42e4b9
call fcn.0042c9c1
test eax, eax
je 0x42e4b9
push 3
push 0x508318
lea eax, [ebp - 0x65c]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.0042c041
jmp 0x42e525
push edi
xor esi, esi
xor eax, eax
mov dword [ebp - 0x10], esi
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x38
stosd dword es:[edi], eax
lea eax, [ebp - 0x48]
push esi
push eax
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], 0x46f500
call fcn.00446b72
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x65c]
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
test eax, eax
je 0x42e523
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
xor eax, eax
inc eax
jmp 0x42e525
xor eax, eax
pop esi
leave
ret 4
Function at 0x4312f0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x43131d
mov eax, dword [0x50b46c]
cmp eax, esi
je 0x431502
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [0x50b46c], esi
jmp 0x431502
push ebx
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [0x50b46c], esi
jne 0x4314d5
push dword [0x508d24]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4314d5
mov eax, dword [0x4a0ab4]
cmp eax, 0xf0
push edi
jl 0x43135c
push 8
call fcn.0042bcb9
mov edi, eax
jmp 0x431386
cmp eax, 0xc0
jl 0x431367
push 0x10
jmp 0x431370
cmp eax, 0xa8
jl 0x431373
push 0xe
pop edi
jmp 0x431386
xor ecx, ecx
cmp eax, 0x90
setge cl
lea ecx, [ecx*4 + 8]
mov edi, ecx
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push esi
mov dword [0x50b468], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 4], eax
mov eax, dword [0x50b468]
push eax
push eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [0x50b468]
mov dword [0x50b464], esi
sub eax, dword [ebp - 0x1c]
mov dword [0x50b460], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 8]
mov dword [0x50b46c], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x8000
push edi
push edi
push 1
push 0xbe
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push 0xcc0020
push dword [0x50b464]
mov dword [ebp - 0xc], eax
push dword [0x50b460]
mov eax, dword [0x50b468]
push dword [ebp + 0xc]
push eax
push eax
push esi
push esi
push dword [0x50b46c]
call ebx
push 1
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 5
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [0x50b468]
push 3
push esi
sub ecx, edi
push esi
push edi
lea eax, [ecx + 1]
cdq
sub eax, edx
push edi
push dword [ebp - 0xc]
sar eax, 1
push eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
push dword [0x50b46c]
call dword [sym.imp.USER32.dll_DrawIconEx]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 4]
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x50b468]
mov ecx, dword [0x50b460]
mov edx, dword [0x50b464]
lea edi, [ecx + eax]
mov dword [0x50b35c], edi
lea edi, [edx + eax]
mov dword [0x50b360], edi
mov dword [0x50b354], ecx
mov dword [0x50b358], edx
mov dword [0x50b364], eax
pop edi
jmp 0x4314e6
mov edx, dword [0x50b464]
mov ecx, dword [0x50b460]
mov eax, dword [0x50b468]
push 0xcc0020
push esi
push esi
push dword [0x50b46c]
lea esi, [edx + eax]
push esi
add eax, ecx
push eax
push edx
push ecx
push dword [ebp + 0xc]
call ebx
pop ebx
pop esi
leave
ret 8
Function at 0x432711
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push 0x204
lea eax, [ebp - 0x204]
push 0
push eax
mov dword [ebp - 0x208], 0x2d
call fcn.00446b72
add esp, 0xc
cmp dword [ebp + 8], 0x8000
jne 0x43278e
push 0x104
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 0xc]
push str.DBT_DEVTYP_PORT_arrived_port_s_kn_s
push 1
call fcn.0044c79b
mov ax, word [ebp - 0x208]
sub ax, 0x2d
movzx eax, ax
add esp, 0x10
neg eax
sbb eax, eax
lea ecx, [ebp - 0x208]
and eax, ecx
push eax
jmp 0x4327a2
push dword [ebp + 0xc]
push str.DBT_DEVTYP_PORT_removed_port_s
push 1
call fcn.0044c79b
add esp, 0xc
push 0
push dword [ebp + 0xc]
mov ecx, dword [0x50b370]
call fcn.00405513
leave
ret 8
Function at 0x433edd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push dword [ebp + 8]
call fcn.0042786d
test eax, eax
jne 0x433f1a
push 0x10
push 0x455434
push str.File_not_found
push dword [0x508d24]
call fcn.0044ddf0
mov dword [0x509674], 1
xor eax, eax
jmp 0x43413e
mov eax, dword [0x50b3e4]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x433f33
push eax
call fcn.00446ce1
pop ecx
mov dword [0x50b3e4], ebx
push 0x50b3e4
push dword [ebp + 8]
call fcn.0042b8d5
cmp eax, 0x64
jge 0x433f64
mov eax, dword [0x50b3e4]
cmp eax, ebx
je 0x43413b
push eax
call fcn.00446ce1
pop ecx
mov dword [0x50b3e4], ebx
jmp 0x43413b
push str.Report
push ebx
push 0x7f02
call fcn.004336e7
push dword [0x508d3c]
mov dword [0x508cd4], 1
call fcn.00432a11
push dword [0x508d44]
call fcn.00432a11
push dword [0x508d2c]
push dword [0x50b3e4]
call fcn.0044dfc6
test eax, eax
je 0x434135
push esi
push edi
xor eax, eax
push 0x3fe
mov word [ebp - 0x408], ax
lea eax, [ebp - 0x406]
push ebx
push eax
call fcn.00446b72
add esp, 0xc
push 0x1ff
lea eax, [ebp - 0x408]
push eax
push dword [0x508d24]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x43403b
mov esi, 0x453654
push esi
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
cmp eax, ebx
je 0x434005
xor ecx, ecx
mov word [eax], cx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x408]
push eax
call esi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x408]
push eax
call esi
lea eax, [ebp - 0x408]
push eax
push dword [0x508d24]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x50b3cc]
mov esi, dword [sym.imp.USER32.dll_UnregisterDeviceNotification]
cmp eax, ebx
je 0x43404d
push eax
call esi
mov eax, dword [0x50b3d0]
mov dword [0x50b3cc], ebx
cmp eax, ebx
je 0x43405f
push eax
call esi
mov ecx, dword [0x50b370]
mov dword [0x50b3d0], ebx
call fcn.00405208
mov ecx, dword [0x50b36c]
call fcn.00407ac4
mov ecx, dword [0x50b368]
call fcn.0040db0f
mov ecx, dword [0x50b374]
call fcn.0044450c
mov esi, dword [sym.imp.USER32.dll_GetMenu]
push ebx
push dword [0x508d24]
call esi
mov edi, dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call edi
push 2
push dword [0x508d24]
mov dword [ebp - 8], eax
call esi
push eax
call edi
mov esi, dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x9cae
push dword [ebp - 8]
mov dword [ebp - 4], eax
call esi
xor edi, edi
push 0x401
push edi
push dword [ebp - 4]
call esi
inc edi
cmp edi, 0xe
jl 0x4340d0
push dword [0x5085a4]
push dword [0x50882c]
push dword [0x508c08]
push dword [0x508000]
push str.Host_Controllers:__i____Root_Hubs:__i____Standard_Hubs:__i____Peripheral_Devices:__i
push ebx
push ebx
push dword [0x509698]
call fcn.00405dc1
add esp, 0x20
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0x45bad0
push ebx
push 1
push dword [0x509698]
call fcn.00405dc1
add esp, 0x14
xor eax, eax
pop edi
inc eax
pop esi
jmp 0x43413d
mov dword [0x508cd4], ebx
xor eax, eax
pop ebx
leave
ret 4
Function at 0x439007
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [0x515894], 4
push edi
mov edi, dword [ebp + 0xc]
jl 0x439073
lea eax, [esi + 0xd0e]
cmp word [eax], bx
jne 0x439032
lea eax, [esi + 0xd64]
mov ecx, edi
cmp edi, ebx
jne 0x43903d
mov ecx, 0x450d0c
push eax
push ecx
push dword [esi + 0x824]
push esi
push str.ChangeLeaf_0x_08Ix__name_s__text_s______s
push 4
call fcn.0044c79b
add esp, 0x18
push dword [esi + 8]
push dword [0x508d2c]
call fcn.00434833
push eax
push str._currenttext_s
push 4
call fcn.0044c79b
add esp, 0xc
push dword [esi + 8]
push dword [0x508d2c]
call fcn.004294aa
test eax, eax
jne 0x43909f
cmp dword [0x515894], 4
jl 0x43916c
push dword [esi + 8]
push str._0x_08Ix_is_not_a_tree_item____abort
jmp 0x439162
push 0x34
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.00446b72
mov eax, dword [esi + 8]
mov dword [ebp - 0x34], eax
xor eax, eax
add esp, 0xc
cmp edi, ebx
setne al
push esi
mov dword [ebp - 0x28], edi
or eax, 0x22
mov dword [ebp - 0x38], eax
call fcn.0043887b
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x38]
push eax
push ebx
push 0x113f
push dword [0x508d2c]
mov dword [0x508cf4], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x43914d
push dword [0x508d2c]
mov dword [0x508cf4], ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp - 0x34]
cmp eax, dword [0x50968c]
jne 0x439148
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x514a14]
cmp eax, 0xbb8
jae 0x43913c
push 0x416b5e
push 0xa
push 0x12340005
push dword [0x508d24]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x439141
call fcn.00416986
call esi
mov dword [0x514a14], eax
xor eax, eax
inc eax
jmp 0x43916e
cmp dword [0x515894], 4
jl 0x43916c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._TreeView_SetItem_err_u
push 4
call fcn.0044c79b
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x439479
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
push ebx
push esi
push edi
push str.Report
xor edi, edi
push edi
push 0x7f02
call fcn.004336e7
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push edi
push eax
call fcn.00446b72
xor eax, eax
push esi
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push edi
push eax
call fcn.00446b72
xor eax, eax
push esi
mov word [ebp - 0x618], ax
lea eax, [ebp - 0x616]
push edi
push eax
call fcn.00446b72
add esp, 0x24
push 0x508398
mov esi, 0x104
push esi
lea eax, [ebp - 0x410]
push eax
push 0x451138
mov ebx, str.ReportPath
push ebx
mov edi, 0x45548c
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00428e8f
test eax, eax
je 0x439581
lea eax, [ebp - 0x208]
push eax
call fcn.00433edd
mov esi, eax
push 0
lea eax, [ebp - 0x208]
push eax
call fcn.0042b997
push 0x508398
lea eax, [ebp - 0x208]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.Report
push 0
push 0x7f00
call fcn.004336e7
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
xor esi, esi
jmp 0x439569
Function at 0x43c0ae
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
push ebx
push esi
push edi
push str.Report
xor edi, edi
push edi
push 0x7f02
call fcn.004336e7
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.00446b72
xor eax, eax
push esi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push edi
push eax
call fcn.00446b72
xor eax, eax
push esi
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push edi
push eax
call fcn.00446b72
push 0x508090
lea eax, [ebp - 0x20c]
push str.UsbTreeView_report__s.txt
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x30
push 0x508398
mov esi, 0x104
push esi
lea eax, [ebp - 0x414]
push eax
push 0x451138
mov ebx, str.ReportPath
push ebx
mov edi, 0x45548c
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00428d1b
test eax, eax
je 0x43c1d8
push dword [0x508d24]
call dword [sym.imp.USER32.dll_UpdateWindow]
lea eax, [ebp - 0x20c]
push eax
call fcn.0043bfff
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x43c1d8
lea ecx, [ebp - 0x20c]
cmp eax, ecx
jbe 0x43c1d8
xor ecx, ecx
push 0x508398
mov word [eax - 2], cx
lea eax, [ebp - 0x20c]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.Report
push 0
push 0x7f00
call fcn.004336e7
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43c1f1
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc18
push edi
push str.Report
xor edi, edi
push edi
push 0x7f02
call fcn.004336e7
push dword [0x50968c]
call fcn.004335db
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x43c23b
push 0x40
push 0x455434
push str.No_device_selected
push dword [0x508d24]
call fcn.0044ddf0
jmp 0x43c41a
push ebx
push esi
xor eax, eax
push 0x7fe
mov word [ebp - 0xc18], ax
lea eax, [ebp - 0xc16]
push edi
push eax
call fcn.00446b72
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.00446b72
xor eax, eax
push esi
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push edi
push eax
call fcn.00446b72
add esp, 0x24
push 0x508398
mov esi, 0x104
push esi
lea eax, [ebp - 0x210]
push eax
push 0x451138
push str.DevReportPath
mov ebx, 0x45548c
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp word [ebp - 0x418], di
je 0x43c2e2
push 0x5c
lea eax, [ebp - 0x210]
push eax
call fcn.004276a4
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0xfd0]
cmp eax, edi
je 0x43c303
lea ecx, [eax + 0x1738]
cmp word [ecx], di
jne 0x43c300
lea ecx, [eax + 0x1838]
push ecx
jmp 0x43c309
push dword [ecx + 0x824]
lea eax, [ebp - 0xc18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x20
lea eax, [ebp - 0xc18]
push eax
call fcn.00429567
push str..txt
lea eax, [ebp - 0xc18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0xc18]
push eax
call fcn.00428d1b
test eax, eax
je 0x43c408
cmp dword [0x508cd4], edi
jne 0x43c36a
push edi
push fcn.00416844
push dword [0x50968c]
call fcn.004332a1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [0x50968c]
mov dword [ebp - 4], edi
call fcn.00439dc6
mov esi, dword [ebp - 4]
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00446ca6
pop ecx
push edi
xor ecx, ecx
mov dword [0x50b3ec], eax
mov word [eax], cx
push 0x433e17
push dword [0x50968c]
mov dword [0x50b3f0], esi
call fcn.004332a1
lea eax, [ebp - 0xc18]
push eax
call fcn.0040eb59
push dword [0x50b3ec]
call fcn.00446ce1
pop ecx
lea eax, [ebp - 0xc18]
push eax
mov dword [0x50b3ec], edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, edi
je 0x43c408
xor ecx, ecx
push 0x508398
mov word [eax], cx
lea eax, [ebp - 0xc18]
push eax
push str.DevReportPath
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.Report
push edi
push 0x7f00
call fcn.004336e7
pop esi
pop ebx
pop edi
leave
ret
Function at 0x43c5d1
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
push ebx
push esi
push edi
push str.Report
xor edi, edi
push edi
push 0x7f02
call fcn.004336e7
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.00446b72
xor eax, eax
push esi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push edi
push eax
call fcn.00446b72
xor eax, eax
push esi
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push edi
push eax
call fcn.00446b72
push 0x508090
lea eax, [ebp - 0x20c]
push str.UsbTreeView_report__s.xml
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x30
push 0x508398
mov esi, 0x104
push esi
lea eax, [ebp - 0x414]
push eax
push 0x451138
mov ebx, str.ReportPath
push ebx
mov edi, 0x45548c
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00428dd5
test eax, eax
je 0x43c711
push dword [0x508d24]
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.0040e935
push 0
call fcn.0040e973
lea eax, [ebp - 0x20c]
push eax
call fcn.0043c41d
mov dword [ebp - 4], eax
call fcn.0040e9b3
call fcn.0040e954
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x43c711
lea ecx, [ebp - 0x20c]
cmp eax, ecx
jbe 0x43c711
xor ecx, ecx
push 0x508398
mov word [eax - 2], cx
lea eax, [ebp - 0x20c]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.Report
push 0
push 0x7f00
call fcn.004336e7
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x443c44
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
push ebx
push dword [ebp + 8]
push str.GetDiskFreeSpaceExTimeout__s___u_
push 3
call fcn.0044c79b
push 0x228
call fcn.00446ca6
mov esi, eax
add esp, 0x14
push dword [ebp + 8]
xor edi, edi
push esi
mov dword [esi + 0x208], edi
mov dword [esi + 0x20c], edi
mov dword [esi + 0x210], edi
mov dword [esi + 0x214], edi
mov dword [esi + 0x218], edi
mov dword [esi + 0x21c], edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x443a9f
push edi
mov dword [esi + 0x224], ebx
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 8], eax
cmp eax, edi
jne 0x443cce
push esi
call fcn.00446ce1
pop ecx
jmp 0x443dc1
push ebx
push dword [ebp - 4]
push str.thread_GetDiskFreeSpaceEx_ThreadProc_created_ThreadId_04u_wait_i
push 3
call fcn.0044c79b
add esp, 0x10
call fcn.0042ac34
push ebx
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
call fcn.0042ac34
sub eax, dword [ebp - 0xc]
sbb edx, dword [ebp - 8]
push edx
push eax
push ebx
push str.waitres_u_after__I64u_ms
push 3
call fcn.0044c79b
add esp, 0x14
mov dword [ebp + 0x18], 0xffff
cmp ebx, edi
jne 0x443dac
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp + 0x18], edi
jne 0x443d8f
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x443d4e
mov ecx, dword [esi + 0x208]
mov dword [eax], ecx
mov ecx, dword [esi + 0x20c]
mov dword [eax + 4], ecx
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x443d66
mov ecx, dword [esi + 0x210]
mov dword [eax], ecx
mov ecx, dword [esi + 0x214]
mov dword [eax + 4], ecx
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x443d7e
mov ecx, dword [esi + 0x218]
mov dword [eax], ecx
mov ecx, dword [esi + 0x21c]
mov dword [eax + 4], ecx
push dword [esi + 0x220]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
inc edi
jmp 0x443d98
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call fcn.00446ce1
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x443dc3
push edi
push esi
push dword [ebp + 8]
call fcn.004437b5
push 0x5b4
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x443f12
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe24
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
mov dword [ebp - 0xc], ecx
call fcn.00446b72
add esp, 0xc
push 0x23
push 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 4], eax
test eax, eax
je 0x444072
mov esi, 0x451d2c
lea edi, [ebp - 0xa24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x3f6
xor esi, esi
lea eax, [ebp - 0xa1a]
push esi
push eax
call fcn.00446b72
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0xa1c]
push eax
call ebx
lea eax, [ebp - 0xa24]
push eax
mov eax, dword [ebp - 4]
add eax, 2
push eax
push str.SystemCurrentControlSetControlDeviceClasses
lea eax, [ebp - 0xe24]
push 0x4514a8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 8]
push eax
push 0x20019
push esi
lea eax, [ebp - 0xe24]
push eax
push 0x80000002
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x444072
cmp dword [ebp - 8], esi
je 0x444072
and dword [ebp - 4], esi
mov edi, 0x104
push edi
lea eax, [ebp - 0x624]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x444055
cmp word [ebp - 0x624], 0x23
jne 0x444047
push 0x451d28
lea eax, [ebp - 0x624]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x444060
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x214]
push eax
call ebx
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
push 0x5c
pop eax
mov word [ebp - 0x214], ax
inc dword [ebp - 4]
push edi
lea eax, [ebp - 0x624]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call esi
test eax, eax
je 0x444000
jmp 0x444069
xor eax, eax
mov word [ebp - 0x214], ax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 0x4540dc
lea edi, [ebp - 0x41c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x1fe
lea eax, [ebp - 0x412]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.00446b72
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x414]
push eax
call ebx
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 8
lea eax, [ebp - 0x41c]
push eax
call fcn.0042a9ad
mov esi, dword [ebp - 0xc]
push dword [ebp + 0xc]
mov dword [esi], eax
call fcn.0042a955
mov dword [esi + 4], eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8