joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a04d
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
test byte [0x503550], 1
jne 0x42a076
or dword [0x503550], 1
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x50354c], eax
test byte [0x503550], 2
jne 0x42a09c
or dword [0x503550], 2
push str.GetModuleFileNameExW
push dword [0x50354c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x503548], eax
cmp dword [0x503548], 0
jne 0x42a0ac
xor eax, eax
jmp 0x42a1fa
push edi
push dword [ebp + 8]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
call edi
push 0
push 2
mov dword [ebp - 0xc], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x42a0d3
xor eax, eax
jmp 0x42a1f9
push ebx
push esi
lea ecx, [ebp - 0x238]
push ecx
push eax
mov dword [ebp - 0x238], 0x22c
call sub.KERNEL32.dll_Process32FirstW
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42a1e3
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push dword [ebp - 0xc]
lea eax, [ebp - 0x214]
push eax
call esi
test eax, eax
jne 0x42a1cc
cmp dword [ebp + 0xc], 0xffffffff
je 0x42a13e
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x42a13e
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 4], eax
jne 0x42a1cc
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x444], ax
lea eax, [ebp - 0x442]
push eax
call fcn.00444396
add esp, 0xc
push dword [ebp - 0x230]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
test eax, eax
je 0x42a1c1
push 0x104
lea ecx, [ebp - 0x444]
push ecx
push 0
push eax
call dword [0x503548]
dec eax
cmp eax, 0x102
ja 0x42a1ba
push 0x5c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
lea eax, [ebp - 0x444]
push eax
je 0x42a1ae
push dword [ebp + 8]
jmp 0x42a1b4
call edi
push dword [ebp - 0xc]
push eax
call esi
test eax, eax
je 0x42a1e7
push dword [ebp - 4]
call ebx
jmp 0x42a1cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x42a1fe
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42a100
xor esi, esi
jmp 0x42a204
push dword [ebp - 4]
call ebx
push dword [ebp - 8]
call ebx
mov eax, dword [ebp - 0x230]
pop esi
pop ebx
pop edi
leave
ret 8
mov esi, dword [ebp - 0x230]
push dword [ebp - 8]
call ebx
mov eax, esi
jmp 0x42a1f7
Function at 0x42a5ae
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
jne 0x42a5dd
xor eax, eax
jmp 0x42a66a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x42a5f5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42a5d6
add eax, 2
push esi
push eax
call fcn.00444556
mov esi, dword [ebp + 0xc]
pop ecx
push ebx
lea ecx, [ebp - 4]
push ecx
push 3
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esi], eax
mov dword [ebp - 4], ebx
call edi
test eax, eax
je 0x42a667
push 3
push 0x453170
push dword [esi]
call fcn.00444353
add esp, 0xc
test eax, eax
je 0x42a63e
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [esi]
push dword [ebp + 8]
call edi
test eax, eax
je 0x42a659
mov eax, dword [esi]
mov ecx, dword [ebp - 8]
mov byte [ecx + eax], bl
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
jmp 0x42a669
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 8

Function at 0x42a6e8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, 0x3e8
cmp dword [ebp + 0xc], ebx
jae 0x42a6fe
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42a734
call esi
sub eax, edi
cmp eax, dword [ebp + 0xc]
jae 0x42a72f
cmp dword [0x506370], 0
je 0x42a70a
mov eax, 0x102
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42ae9a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa5c
push ebx
push esi
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0xa5c]
push dword [ebp + 8]
push str.__s___s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
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], 0x46cf74
call fcn.00444396
mov ax, word [ebp + 0x14]
add esp, 0x1c
cmp ax, si
je 0x42aefc
or dword [ebp - 0x28], 1
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0xa5c]
push esi
push esi
push esi
push esi
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
cmp ebx, esi
je 0x42af32
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0xc]
call edi
xor eax, eax
cmp ebx, esi
pop edi
pop esi
setne al
pop ebx
leave
ret 0x10
Function at 0x42af74
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00426c66
test eax, eax
je 0x42afac
push 0
push 0x2000000
push 3
push 0
push 7
push dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x42afe3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x42afe5
test dword [esp + 0xc], 0x40000000
je 0x42afe3
push 0
push 0x2000000
push 1
push 0
push 7
push dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x42afe3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x42afa7
xor eax, eax
pop esi
ret 8

Function at 0x42afe9
Capabilities:
Copy file
Create directory
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
push ebx
push esi
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x414]
push eax
push str._ALLUSERSPROFILE_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x5c
lea eax, [ebp - 0x414]
push eax
call fcn.00426a9d
push str.Uwe_Sieber
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov esi, 0x505358
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x44f22c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call fcn.00426c66
mov dword [ebp - 4], eax
mov ebx, 0x453138
test eax, eax
je 0x42b0bb
lea eax, [ebp - 0x20c]
push eax
push edi
lea eax, [ebp - 0x61c]
push eax
push 0x44f0b8
push str.NoIniWrite
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x42b0bb
push 0x5057c0
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x42b0bb
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x42b181
push esi
call fcn.00426cbd
xor edi, edi
cmp eax, edi
je 0x42b10a
cmp dword [ebp - 4], edi
je 0x42b181
lea eax, [ebp - 0x20c]
push eax
call fcn.004275a1
push esi
mov edi, eax
mov ebx, edx
call fcn.004275a1
cmp ebx, edx
jb 0x42b181
ja 0x42b0f8
cmp edi, eax
jbe 0x42b181
push 0
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x42b181
push esi
call fcn.00426c96
test eax, eax
jne 0x42b181
lea eax, [ebp - 0x414]
push eax
call fcn.00426c66
test eax, eax
jne 0x42b132
push edi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
call fcn.00426c66
test eax, eax
je 0x42b15b
lea eax, [ebp - 0x20c]
push eax
call fcn.00426c66
test eax, eax
jne 0x42b15b
push edi
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x20c]
push eax
push 0x5057c0
push str.NoIniWrite
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42b82e
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42b8a7
cmp word [esi], 0
je 0x42b8a7
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x100
ja 0x42b8a7
cmp word [esi], 0x5c
jne 0x42b86a
cmp word [esi + 2], 0x5c
jne 0x42b86a
cmp word [esi + 6], 0x5c
jne 0x42b86a
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.00426ac9
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 0x42b8cf
push str.DosDeviceNameExists
push 0x1b58
push str..Tools.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.00449e4d
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
pop esi
leave
ret 4
Function at 0x42c229
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.00427780
test eax, eax
je 0x42c262
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 0x42c3db
push str.DeviceFloppy
push esi
call fcn.00427780
test eax, eax
je 0x42c276
add esi, 0x1c
jmp 0x42c248
cmp dword [0x505610], 6
jae 0x42c286
xor eax, eax
jmp 0x42c3db
push str.HarddiskVolume
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x42c27f
push edi
push esi
push str.GetNt6VolumeDeviceAndPartitionNumber__s_...
push 3
call fcn.00449e4d
mov eax, dword [0x49da9c]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00444556
mov edi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
add esp, 0x10
xor esi, esi
jmp 0x42c306
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42c3c3
push dword [ebp - 4]
call fcn.004445cb
add dword [0x49da9c], 0x1000
mov eax, dword [0x49da9c]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00444556
pop ecx
pop ecx
mov ecx, dword [0x49da9c]
dec ecx
push ecx
push eax
push esi
mov dword [ebp - 4], eax
call edi
mov dword [ebp - 8], eax
cmp eax, esi
je 0x42c2ca
push ebx
xor ebx, ebx
cmp eax, esi
jle 0x42c3b1
mov eax, dword [ebp - 4]
lea esi, [eax + ebx*2]
cmp word [esi], 0
je 0x42c3b1
push str.Harddisk
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
cmp eax, esi
jne 0x42c39d
push str.Partition
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x42c39d
push 0x104
lea eax, [ebp - 0x214]
push eax
push esi
call edi
test eax, eax
je 0x42c39d
cmp dword [0x512584], 5
jl 0x42c389
lea eax, [ebp - 0x214]
push eax
push esi
push str.___s___s
push 5
call fcn.00449e4d
add esp, 0x10
push dword [ebp + 8]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x42c3e0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [ebx + eax + 1]
cmp ebx, dword [ebp - 8]
jl 0x42c327
push str._not_found
push 3
call fcn.00449e4d
pop ecx
pop ecx
xor esi, esi
jmp 0x42c415
call fcn.0044744a
push eax
push str._qdd_all__err_S
push 3
call fcn.00449e4d
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.00449e4d
xor esi, esi
add esp, 0x14
inc esi
push dword [ebp - 4]
call fcn.004445cb
pop ecx
mov eax, esi
pop ebx
jmp 0x42c3da
Function at 0x42cc52
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 0x505738
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 [0x505610], 6
jb 0x42ccc7
call fcn.00427b70
test eax, eax
je 0x42ccc7
call fcn.0042b5fc
test eax, eax
je 0x42ccc7
push 3
push 0x5052d8
lea eax, [ebp - 0x65c]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.0042acf3
jmp 0x42cd33
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], 0x46cf74
call fcn.00444396
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 0x42cd31
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 0x42cd33
xor eax, eax
pop esi
leave
ret 4
Function at 0x42f983
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x42f9b0
mov eax, dword [0x50815c]
cmp eax, esi
je 0x42fb95
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [0x50815c], esi
jmp 0x42fb95
push ebx
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [0x50815c], esi
jne 0x42fb68
push dword [0x505c28]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42fb68
mov eax, dword [0x49dab0]
cmp eax, 0xf0
push edi
jl 0x42f9ef
push 8
call fcn.0042a96b
mov edi, eax
jmp 0x42fa19
cmp eax, 0xc0
jl 0x42f9fa
push 0x10
jmp 0x42fa03
cmp eax, 0xa8
jl 0x42fa06
push 0xe
pop edi
jmp 0x42fa19
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 [0x508158], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 4], eax
mov eax, dword [0x508158]
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 [0x508158]
mov dword [0x508154], esi
sub eax, dword [ebp - 0x1c]
mov dword [0x508150], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 8]
mov dword [0x50815c], 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 [0x508154]
mov dword [ebp - 0xc], eax
push dword [0x508150]
mov eax, dword [0x508158]
push dword [ebp + 0xc]
push eax
push eax
push esi
push esi
push dword [0x50815c]
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 [0x508158]
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 [0x50815c]
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 [0x508158]
mov ecx, dword [0x508150]
mov edx, dword [0x508154]
lea edi, [ecx + eax]
mov dword [0x508054], edi
lea edi, [edx + eax]
mov dword [0x508058], edi
mov dword [0x50804c], ecx
mov dword [0x508050], edx
mov dword [0x50805c], eax
pop edi
jmp 0x42fb79
mov edx, dword [0x508154]
mov ecx, dword [0x508150]
mov eax, dword [0x508158]
push 0xcc0020
push esi
push esi
push dword [0x50815c]
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 0x4320b4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push dword [ebp + 8]
call fcn.00426c66
test eax, eax
jne 0x4320f1
push 0x10
push 0x4530e0
push str.File_not_found
push dword [0x505c28]
call fcn.0044b4a0
mov dword [0x50636c], 1
xor eax, eax
jmp 0x432315
mov eax, dword [0x5080dc]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x43210a
push eax
call fcn.004445cb
pop ecx
mov dword [0x5080dc], ebx
push 0x5080dc
push dword [ebp + 8]
call fcn.0042a5ae
cmp eax, 0x64
jge 0x43213b
mov eax, dword [0x5080dc]
cmp eax, ebx
je 0x432312
push eax
call fcn.004445cb
pop ecx
mov dword [0x5080dc], ebx
jmp 0x432312
push str.Report
push ebx
push 0x7f02
call fcn.004318be
push dword [0x505c40]
mov dword [0x505bd8], 1
call fcn.00430ef9
push dword [0x505c48]
call fcn.00430ef9
push dword [0x505c30]
push dword [0x5080dc]
call fcn.0044b676
test eax, eax
je 0x43230c
push esi
push edi
xor eax, eax
push 0x3fe
mov word [ebp - 0x408], ax
lea eax, [ebp - 0x406]
push ebx
push eax
call fcn.00444396
add esp, 0xc
push 0x1ff
lea eax, [ebp - 0x408]
push eax
push dword [0x505c28]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x432212
mov esi, 0x451400
push esi
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
cmp eax, ebx
je 0x4321dc
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 [0x505c28]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x5080c4]
mov esi, dword [sym.imp.USER32.dll_UnregisterDeviceNotification]
cmp eax, ebx
je 0x432224
push eax
call esi
mov eax, dword [0x5080c8]
mov dword [0x5080c4], ebx
cmp eax, ebx
je 0x432236
push eax
call esi
mov ecx, dword [0x508068]
mov dword [0x5080c8], ebx
call fcn.004050da
mov ecx, dword [0x508064]
call fcn.004074bb
mov ecx, dword [0x508060]
call fcn.0040d2df
mov ecx, dword [0x50806c]
call fcn.00441d10
mov esi, dword [sym.imp.USER32.dll_GetMenu]
push ebx
push dword [0x505c28]
call esi
mov edi, dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call edi
push 2
push dword [0x505c28]
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 0x4322a7
push dword [0x505564]
push dword [0x505734]
push dword [0x505b10]
push dword [0x504fc0]
push str.Host_Controllers:__i____Root_Hubs:__i____Standard_Hubs:__i____Peripheral_Devices:__i
push ebx
push ebx
push dword [0x506390]
call fcn.00405bdb
add esp, 0x20
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0x4596c0
push ebx
push 1
push dword [0x506390]
call fcn.00405bdb
add esp, 0x14
xor eax, eax
pop edi
inc eax
pop esi
jmp 0x432314
mov dword [0x505bd8], ebx
xor eax, eax
pop ebx
leave
ret 4
Function at 0x436dad
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 [0x512584], 4
push edi
mov edi, dword [ebp + 0xc]
jl 0x436e19
lea eax, [esi + 0xd0a]
cmp word [eax], bx
jne 0x436dd8
lea eax, [esi + 0xd60]
mov ecx, edi
cmp edi, ebx
jne 0x436de3
mov ecx, 0x44ed0c
push eax
push ecx
push dword [esi + 0x820]
push esi
push str.ChangeLeaf_0x_08Ix__name_s__text_s______s
push 4
call fcn.00449e4d
add esp, 0x18
push dword [esi + 8]
push dword [0x505c30]
call fcn.004329f6
push eax
push str._currenttext_s
push 4
call fcn.00449e4d
add esp, 0xc
push dword [esi + 8]
push dword [0x505c30]
call fcn.0042889f
test eax, eax
jne 0x436e45
cmp dword [0x512584], 4
jl 0x436f24
push dword [esi + 8]
push str._0x_08Ix_is_not_a_tree_item____abort
jmp 0x436f1a
push 0x34
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.00444396
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.00436659
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x38]
push eax
push ebx
push 0x113f
push dword [0x505c30]
mov dword [0x505bf8], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x436f05
push dword [0x505c30]
mov dword [0x505bf8], ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp - 0x34]
cmp eax, dword [0x506384]
jne 0x436f00
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x511704]
cmp eax, 0xbb8
jae 0x436ee2
push 0x4161ca
push 0xa
push 0x12340005
push dword [0x505c28]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x436ef9
push dword [0x506384]
push dword [0x505c30]
push dword [0x505c34]
call fcn.00416058
call esi
mov dword [0x511704], eax
xor eax, eax
inc eax
jmp 0x436f26
cmp dword [0x512584], 4
jl 0x436f24
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._TreeView_SetItem_err_u
push 4
call fcn.00449e4d
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x437231
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.004318be
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push edi
push eax
call fcn.00444396
xor eax, eax
push esi
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push edi
push eax
call fcn.00444396
xor eax, eax
push esi
mov word [ebp - 0x618], ax
lea eax, [ebp - 0x616]
push edi
push eax
call fcn.00444396
add esp, 0x24
push 0x505358
mov esi, 0x104
push esi
lea eax, [ebp - 0x410]
push eax
push 0x44f0b8
mov ebx, str.ReportPath
push ebx
mov edi, 0x453138
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.00428284
test eax, eax
je 0x437339
lea eax, [ebp - 0x208]
push eax
call fcn.004320b4
mov esi, eax
push 0
lea eax, [ebp - 0x208]
push eax
call fcn.0042a670
push 0x505358
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.004318be
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
xor esi, esi
jmp 0x437321