joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e9ee
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42ea67
cmp word [esi], 0
je 0x42ea67
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x100
ja 0x42ea67
cmp word [esi], 0x5c
jne 0x42ea2a
cmp word [esi + 2], 0x5c
jne 0x42ea2a
cmp word [esi + 6], 0x5c
jne 0x42ea2a
add esi, 8
push esi
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x5c
lea eax, [ebp - 0x208]
push eax
call fcn.00429123
push 0x104
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
neg eax
sbb eax, eax
neg eax
jmp 0x42ea8f
push str.DosDeviceNameExists
push 0x1ec0
push str..Tools.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.00451479
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
pop esi
leave
ret 4

Function at 0x42ea94
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x108
push esi
push edi
xor eax, eax
mov dword [ebp + 0x64], 0x2e
lea edi, [ebp + 0x68]
push 4
stosd dword es:[edi], eax
lea eax, [ebp + 0x64]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor eax, eax
push 0x7e
mov word [ebp - 0x1c], ax
xor esi, esi
lea eax, [ebp - 0x1a]
push esi
push eax
call fcn.0044b15e
push dword [ebp + 0x78]
lea eax, [ebp - 0x9c]
push dword [ebp + 0x74]
push str._I64u
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, esi
jbe 0x42eb35
lea ecx, [ebp - 0x1c]
push ebx
mov ax, word [ebp + esi*2 - 0x9c]
mov word [ecx], ax
inc ecx
mov eax, edi
sub eax, esi
inc ecx
dec eax
je 0x42eb2f
push 3
xor edx, edx
pop ebx
div ebx
test edx, edx
jne 0x42eb2f
mov ax, word [ebp + 0x64]
mov word [ecx], ax
inc ecx
inc ecx
inc esi
cmp esi, edi
jb 0x42eb07
pop ebx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop edi
pop esi
add ebp, 0x6c
leave
ret 0xc
Function at 0x43033a
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push esi
mov esi, dword [ebp + 8]
push str.DeviceCdRom
push esi
call fcn.00429dfe
test eax, eax
je 0x430373
add esi, 0x1a
push esi
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
or dword [eax], 0xffffffff
xor eax, eax
inc eax
jmp 0x4304ec
push str.DeviceFloppy
push esi
call fcn.00429dfe
test eax, eax
je 0x430387
add esi, 0x1c
jmp 0x430359
cmp dword [0x510068], 6
jae 0x430397
xor eax, eax
jmp 0x4304ec
push str.HarddiskVolume
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x430390
push edi
push esi
push str.GetNt6VolumeDeviceAndPartitionNumber__s_...
push 3
call fcn.00451479
mov eax, dword [0x4a7ac8]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044b31e
mov edi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
add esp, 0x10
xor esi, esi
jmp 0x430417
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4304d4
push dword [ebp - 4]
call fcn.0044b359
add dword [0x4a7ac8], 0x1000
mov eax, dword [0x4a7ac8]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044b31e
pop ecx
pop ecx
mov ecx, dword [0x4a7ac8]
dec ecx
push ecx
push eax
push esi
mov dword [ebp - 4], eax
call edi
mov dword [ebp - 8], eax
cmp eax, esi
je 0x4303db
push ebx
xor ebx, ebx
cmp eax, esi
jle 0x4304c2
mov eax, dword [ebp - 4]
lea esi, [eax + ebx*2]
cmp word [esi], 0
je 0x4304c2
push 0x474c28
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
cmp eax, esi
jne 0x4304ae
push str.Partition
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4304ae
push 0x104
lea eax, [ebp - 0x214]
push eax
push esi
call edi
test eax, eax
je 0x4304ae
cmp dword [0x51cdd4], 5
jl 0x43049a
lea eax, [ebp - 0x214]
push eax
push esi
push str.___s___s
push 5
call fcn.00451479
add esp, 0x10
push dword [ebp + 8]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4304f1
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [ebx + eax + 1]
cmp ebx, dword [ebp - 8]
jl 0x430438
push str._not_found
push 3
call fcn.00451479
pop ecx
pop ecx
xor esi, esi
jmp 0x430526
call fcn.0044e479
push eax
push str._qdd_all__err_S
push 3
call fcn.00451479
add esp, 0xc
xor eax, eax
pop edi
pop esi
leave
ret 0xc
mov edi, dword [sym.imp.SHLWAPI.dll_StrToIntW]
lea eax, [esi + 0x10]
push eax
call edi
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, dword [ebp - 0xc]
add eax, 0x12
push eax
call edi
mov ecx, dword [ebp + 0x10]
push eax
mov dword [ecx], eax
push dword [ebx]
push esi
push str._found__s____pDevNum_i_pPartNum_i
push 3
call fcn.00451479
xor esi, esi
add esp, 0x14
inc esi
push dword [ebp - 4]
call fcn.0044b359
pop ecx
mov eax, esi
pop ebx
jmp 0x4304eb
Function at 0x431057
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 0x510190
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 [0x510068], 6
jb 0x4310cc
call fcn.0042a23f
test eax, eax
je 0x4310cc
call fcn.0042e7ec
test eax, eax
je 0x4310cc
push 3
push 0x50fc70
lea eax, [ebp - 0x65c]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.0042de6c
jmp 0x431138
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], 0x4754a8
call fcn.0044b15e
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 0x431136
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 0x431138
xor eax, eax
pop esi
leave
ret 4
Function at 0x435704
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.0044b15e
add esp, 0xc
cmp dword [ebp + 8], 0x8000
jne 0x435781
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.00451479
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 0x435795
push dword [ebp + 0xc]
push str.DBT_DEVTYP_PORT_removed_port_s
push 1
call fcn.00451479
add esp, 0xc
push 0
push dword [ebp + 0xc]
mov ecx, dword [0x512c64]
call fcn.0040574d
leave
ret 8
Function at 0x436e3b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push dword [ebp + 8]
call fcn.004292c0
test eax, eax
jne 0x436e78
push 0x10
push 0x45aca0
push str.File_not_found
push dword [0x51069c]
call fcn.00452af1
mov dword [0x510ff0], 1
xor eax, eax
jmp 0x43709c
mov eax, dword [0x512cd8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x436e91
push eax
call fcn.0044b359
pop ecx
mov dword [0x512cd8], ebx
push 0x512cd8
push dword [ebp + 8]
call fcn.0042d719
cmp eax, 0x64
jge 0x436ec2
mov eax, dword [0x512cd8]
cmp eax, ebx
je 0x437099
push eax
call fcn.0044b359
pop ecx
mov dword [0x512cd8], ebx
jmp 0x437099
push str.Report
push ebx
push 0x7f02
call fcn.00436641
push dword [0x5106b4]
mov dword [0x510648], 1
call fcn.00435a52
push dword [0x5106bc]
call fcn.00435a52
push dword [0x5106a4]
push dword [0x512cd8]
call fcn.00452cc7
test eax, eax
je 0x437093
push esi
push edi
xor eax, eax
push 0x3fe
mov word [ebp - 0x408], ax
lea eax, [ebp - 0x406]
push ebx
push eax
call fcn.0044b15e
add esp, 0xc
push 0x1ff
lea eax, [ebp - 0x408]
push eax
push dword [0x51069c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x436f99
mov esi, 0x4588d0
push esi
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
cmp eax, ebx
je 0x436f63
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 [0x51069c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x512cc0]
mov esi, dword [sym.imp.USER32.dll_UnregisterDeviceNotification]
cmp eax, ebx
je 0x436fab
push eax
call esi
mov eax, dword [0x512cc4]
mov dword [0x512cc0], ebx
cmp eax, ebx
je 0x436fbd
push eax
call esi
mov ecx, dword [0x512c64]
mov dword [0x512cc4], ebx
call fcn.00405442
mov ecx, dword [0x512c60]
call fcn.00407fb3
mov ecx, dword [0x512c5c]
call fcn.0040eb84
mov ecx, dword [0x512c68]
call fcn.00448bbf
mov esi, dword [sym.imp.USER32.dll_GetMenu]
push ebx
push dword [0x51069c]
call esi
mov edi, dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call edi
push 2
push dword [0x51069c]
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 0x43702e
push dword [0x50fefc]
push dword [0x51018c]
push dword [0x510570]
push dword [0x50f8c8]
push str.Host_Controllers:__i____Root_Hubs:__i____Standard_Hubs:__i____Peripheral_Devices:__i
push ebx
push ebx
push dword [0x511014]
call fcn.0040601d
add esp, 0x20
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0x46154c
push ebx
push 1
push dword [0x511014]
call fcn.0040601d
add esp, 0x14
xor eax, eax
pop edi
inc eax
pop esi
jmp 0x43709b
mov dword [0x510648], ebx
xor eax, eax
pop ebx
leave
ret 4
Function at 0x437130
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x1154]
test ecx, ecx
je 0x437205
mov eax, dword [ecx + 0x3bc4]
test eax, eax
je 0x437188
lea ecx, [eax + 0x930]
cmp word [ecx], 0
jne 0x437167
lea ecx, [eax + 0x848]
push 1
push 0x457fe0
push 0x4561e0
push ecx
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x437205
push 0x456f80
add ecx, 0x1e96
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x437205
push esi
push edi
push 0x15
pop ecx
push 0x234
push eax
lea eax, [ebp - 0x234]
mov esi, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D_
lea edi, [ebp - 0x288]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0044b15e
mov eax, dword [ebx + 0x1154]
add esp, 0xc
add eax, 0xc34
push eax
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 1
push 0x457fe0
push 0x4561e0
lea eax, [ebp - 0x288]
push eax
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43726d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
xor ebx, ebx
push ebx
push ebx
push 0xce
push dword [0x5106a8]
call esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push eax
push ebx
push 0x4dd
push dword [0x5106a8]
call esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0xb0
push dword [0x5106a8]
call esi
push ebx
push ebx
push 0xb
push dword [0x5106a8]
call esi
mov eax, dword [0x510680]
shl eax, 2
push dword [eax + 0x510218]
push dword [eax + 0x510568]
push 0xffffffffffffffff
push ebx
push dword [0x5106a8]
call fcn.0042b19f
mov edi, 0x511a38
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jbe 0x43743a
push dword [0x5106a8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x43743a
xor eax, eax
push 0x7fe
mov word [ebp - 0x82c], ax
lea eax, [ebp - 0x82a]
push ebx
push eax
call fcn.0044b15e
mov eax, dword [ebp - 4]
xor ecx, ecx
push 2
add eax, 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044b31e
mov ecx, dword [ebp - 4]
add esp, 0x10
inc ecx
push ecx
push eax
push dword [0x5106a8]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x437431
mov ebx, dword [ebp - 4]
sub ebx, dword [ebp - 8]
push edi
sar ebx, 1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push dword [0x5106a8]
add eax, ebx
mov dword [ebp - 0x14], eax
call fcn.0042b104
push 0
push ebx
push 0xc9
push dword [0x5106a8]
mov dword [ebp - 0x1c], eax
call esi
lea ecx, [ebp - 0x82c]
push ecx
push eax
push 0xc4
push dword [0x5106a8]
mov dword [ebp - 0x82c], 0x3ff
call esi
cmp eax, 1
jle 0x437416
push 0x3a
lea eax, [ebp - 0x82c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov ecx, eax
lea edx, [ebp - 0x82c]
sub eax, edx
sar eax, 1
neg ecx
sbb ecx, ecx
and ecx, eax
cmp dword [ebp - 0x1c], ecx
jle 0x437416
mov eax, dword [0x510680]
shl eax, 2
push dword [eax + 0x4a7af0]
push dword [eax + 0x4a7ae8]
push dword [ebp - 0x14]
push ebx
push dword [0x5106a8]
call fcn.0042b19f
mov eax, dword [ebp - 4]
push edi
add eax, 2
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x437376
xor ebx, ebx
push dword [ebp - 8]
call fcn.0044b359
pop ecx
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push 0xb1
push dword [0x5106a8]
call esi
push ebx
push ebx
push 0xce
push dword [0x5106a8]
call esi
mov ecx, dword [ebp - 0x10]
cmp ecx, eax
je 0x437474
sub ecx, eax
push ecx
push ebx
push 0xb6
push dword [0x5106a8]
call esi
lea eax, [ebp - 0x2c]
push eax
push ebx
push 0x4dd
push dword [0x5106a8]
call esi
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x2c], eax
je 0x4374a6
movzx eax, ax
push ebx
shl eax, 0x10
or eax, 4
push eax
push 0x114
push dword [0x5106a8]
call esi
push ebx
push 1
push 0xb
push dword [0x5106a8]
call esi
push 5
push ebx
push ebx
push dword [0x5106a8]
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43a139
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [0x510680]
cmp eax, 1
jg 0x43a265
push ebx
push esi
push edi
push eax
push dword [0x51069c]
call fcn.0044bf04
push dword [0x51069c]
xor edi, edi
xor ebx, ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x43a17d
push edi
push edi
push 0xb
push dword [0x51069c]
inc ebx
call esi
call fcn.00438a26
cmp ebx, edi
je 0x43a193
push edi
push 1
push 0xb
push dword [0x51069c]
call esi
call fcn.00434edf
mov eax, dword [0x510680]
push dword [eax*4 + 0x510210]
push edi
push 0x111d
push dword [0x5106a4]
call esi
mov eax, dword [0x510680]
push dword [eax*4 + 0x51005c]
push edi
push 0x111e
push dword [0x5106a4]
call esi
mov eax, dword [0x510680]
push 1
push dword [eax*4 + 0x510218]
push dword [0x5106a8]
call fcn.0042b135
mov eax, dword [0x510680]
push dword [eax*4 + 0x510568]
push edi
push 0x443
push dword [0x5106a8]
call esi
push dword [0x5106c4]
call dword [sym.imp.USER32.dll_GetDC]
push edi
push edi
mov esi, eax
call fcn.004340de
push esi
push dword [0x5106c4]
call fcn.004340de
push esi
push dword [0x5106c4]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [sym.imp.USER32.dll_RedrawWindow]
mov ebx, 0x705
push ebx
push edi
push edi
push dword [0x5106a4]
call esi
push ebx
push edi
push edi
push dword [0x5106a8]
call esi
push 0x385
push edi
push edi
push dword [0x51069c]
call esi
pop edi
pop esi
pop ebx
jmp fcn.0043726d
ret
Function at 0x43c88a
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 [0x51cdd4], 4
push edi
mov edi, dword [ebp + 0xc]
jl 0x43c8f6
lea eax, [esi + 0xd90]
cmp word [eax], bx
jne 0x43c8b5
lea eax, [esi + 0xde4]
mov ecx, edi
cmp edi, ebx
jne 0x43c8c0
mov ecx, 0x455d94
push eax
push ecx
push dword [esi + 0x828]
push esi
push str.ChangeLeaf_0x_08Ix__name_s__newtext_s______s
push 4
call fcn.00451479
add esp, 0x18
push dword [esi + 8]
push dword [0x5106a4]
call fcn.00437727
push eax
push str._currenttext_s
push 4
call fcn.00451479
add esp, 0xc
push dword [esi + 8]
push dword [0x5106a4]
call fcn.0042af6a
test eax, eax
jne 0x43c922
cmp dword [0x51cdd4], 4
jl 0x43c9ef
push dword [esi + 8]
push str._0x_08Ix_is_not_a_tree_item____abort
jmp 0x43c9e5
push 0x34
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.0044b15e
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.0043c106
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x38]
push eax
push ebx
push 0x113f
push dword [0x5106a4]
mov dword [0x51066c], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x43c9d0
push dword [0x5106a4]
mov dword [0x51066c], ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp - 0x34]
cmp eax, dword [0x511008]
jne 0x43c9cb
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x51c30c]
cmp eax, 0xbb8
jae 0x43c9bf
push 0x418738
push 0xa
push 0x12340005
push dword [0x51069c]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x43c9c4
call fcn.00418559
call esi
mov dword [0x51c30c], eax
xor eax, eax
inc eax
jmp 0x43c9f1
cmp dword [0x51cdd4], 4
jl 0x43c9ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._TreeView_SetItem_err_u
push 4
call fcn.00451479
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x43ccf9
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.00436641
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push edi
push eax
call fcn.0044b15e
xor eax, eax
push esi
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push edi
push eax
call fcn.0044b15e
xor eax, eax
push esi
mov word [ebp - 0x618], ax
lea eax, [ebp - 0x616]
push edi
push eax
call fcn.0044b15e
add esp, 0x24
push 0x50fcf0
mov esi, 0x104
push esi
lea eax, [ebp - 0x410]
push eax
push 0x4561e0
mov ebx, str.ReportPath
push ebx
mov edi, 0x45acf8
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.0042a94f
test eax, eax
je 0x43ce01
lea eax, [ebp - 0x208]
push eax
call fcn.00436e3b
mov esi, eax
push 0
lea eax, [ebp - 0x208]
push eax
call fcn.0042d7db
push 0x50fcf0
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.00436641
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
xor esi, esi
jmp 0x43cde9
Function at 0x43f6c0
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.00436641
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.0044b15e
xor eax, eax
push esi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push edi
push eax
call fcn.0044b15e
xor eax, eax
push esi
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push edi
push eax
call fcn.0044b15e
push 0x50f958
lea eax, [ebp - 0x20c]
push str.UsbTreeView_report__s.txt
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x30
push 0x50fcf0
mov esi, 0x104
push esi
lea eax, [ebp - 0x414]
push eax
push 0x4561e0
mov ebx, str.ReportPath
push ebx
mov edi, 0x45acf8
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.0042a7db
test eax, eax
je 0x43f7ea
push dword [0x51069c]
call dword [sym.imp.USER32.dll_UpdateWindow]
lea eax, [ebp - 0x20c]
push eax
call fcn.0043f611
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x43f7ea
lea ecx, [ebp - 0x20c]
cmp eax, ecx
jbe 0x43f7ea
xor ecx, ecx
push 0x50fcf0
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.00436641
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43f803
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.00436641
push dword [0x511008]
call fcn.00436535
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x43f84d
push 0x40
push 0x45aca0
push str.No_device_selected
push dword [0x51069c]
call fcn.00452af1
jmp 0x43fa2c
push ebx
push esi
xor eax, eax
push 0x7fe
mov word [ebp - 0xc18], ax
lea eax, [ebp - 0xc16]
push edi
push eax
call fcn.0044b15e
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.0044b15e
xor eax, eax
push esi
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push edi
push eax
call fcn.0044b15e
add esp, 0x24
push 0x50fcf0
mov esi, 0x104
push esi
lea eax, [ebp - 0x210]
push eax
push 0x4561e0
push str.DevReportPath
mov ebx, 0x45acf8
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 0x43f8f4
push 0x5c
lea eax, [ebp - 0x210]
push eax
call fcn.004290f7
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x1154]
cmp eax, edi
je 0x43f915
lea ecx, [eax + 0x173c]
cmp word [ecx], di
jne 0x43f912
lea ecx, [eax + 0x183c]
push ecx
jmp 0x43f91b
push dword [ecx + 0x828]
lea eax, [ebp - 0xc18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x20
lea eax, [ebp - 0xc18]
push eax
call fcn.0042b027
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.0042a7db
test eax, eax
je 0x43fa1a
cmp dword [0x510648], edi
jne 0x43f97c
push edi
push fcn.004183f8
push dword [0x511008]
call fcn.0043627c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [0x511008]
mov dword [ebp - 4], edi
call fcn.0043d8b6
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.0044b31e
pop ecx
push edi
xor ecx, ecx
mov dword [0x512ce0], eax
mov word [eax], cx
push 0x436d73
push dword [0x511008]
mov dword [0x512ce4], esi
call fcn.0043627c
lea eax, [ebp - 0xc18]
push eax
call fcn.004100e2
push dword [0x512ce0]
call fcn.0044b359
pop ecx
lea eax, [ebp - 0xc18]
push eax
mov dword [0x512ce0], edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, edi
je 0x43fa1a
xor ecx, ecx
push 0x50fcf0
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.00436641
pop esi
pop ebx
pop edi
leave
ret