joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100154df
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
mov eax, dword [0x1007b940]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
mov word [ebp - 0x10], ax
lea edi, [ebp - 0xe]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
push 0x3fe
mov word [ebp - 0x410], ax
xor edi, edi
lea eax, [ebp - 0x40e]
push edi
push eax
call fcn.10031b60
push 0xac
lea eax, [ebp - 0x4bc]
push edi
push eax
mov dword [esi], edi
call fcn.10031b60
mov eax, dword [ebx]
add esp, 0x18
cmp eax, edi
je 0x10015549
push eax
call fcn.1002f915
pop ecx
mov dword [ebx], edi
lea eax, [ebp - 0x4bc]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
jne 0x1001555d
or dword [esi], eax
cmp dword [esi], 0xffffffff
je 0x100155a6
mov ecx, dword [ebp - 0x4bc]
mov dword [esi], ecx
mov eax, dword [0x1007b540]
xor edx, edx
cmp eax, edi
jbe 0x100155a6
mov esi, 0x100770b8
cmp ecx, dword [esi]
je 0x1001558b
inc edx
add esi, 0x204
cmp edx, eax
jb 0x1001557a
jmp 0x100155a6
imul edx, edx, 0x204
add edx, str.AS_NU_WS
push edx
lea eax, [ebp - 0x410]
push eax
call fcn.10031100
pop ecx
pop ecx
push 0xa
lea eax, [ebp - 0x10]
push eax
push 0x5a
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x100155c3
mov dword [ebx], edi
xor al, al
jmp 0x10015601
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.10030bd5
test eax, eax
lea eax, [ebp - 0x10]
push eax
setne byte [ebp - 0x4bd]
call fcn.100300d0
inc eax
push eax
call fcn.1002f7f6
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebx], eax
call fcn.10031100
mov al, byte [ebp - 0x4bd]
add esp, 0x18
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100302c9
leave
ret 8
Function at 0x1001a553
Capabilities:
Read .ini file

Disassembly:
push 0x10063114
push dword [esp + 0xc]
push dword [esp + 0xc]
push str.MagicNumber
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
ret
Function at 0x1001b52f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x1001b56c
and dword [ebp + 8], 0
push 8
call fcn.10032603
pop ecx
test eax, eax
je 0x1001b554
mov dword [eax], edi
mov dword [eax + 4], esi
jmp 0x1001b556
xor eax, eax
lea ecx, [ebp + 8]
push ecx
push 0
push eax
push 0x1001b17e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x1001c232
Capabilities:
Get file version info

Disassembly:
push ebp
sub esp, 0x144
lea ebp, [esp - 4]
mov eax, dword [0x1007b940]
xor eax, ebp
mov dword [ebp + 0x144], eax
push 0x18
mov eax, 0x1005e104
call fcn.1003230f
mov esi, dword [ebp + 0x150]
push str.SetSwVersion
push str.CMarsSystemAttributes
lea ecx, [ebp]
call fcn.10024db6
xor ebx, ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 0x80004005
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x104
mov edi, eax
lea eax, [ebp + 0x3d]
push ebx
push eax
mov byte [ebp + 0x3c], bl
call fcn.10031b60
add esp, 0xc
push 0x105
lea eax, [ebp + 0x3c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x3c]
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp eax, ebx
jbe 0x1001c365
add eax, 0x10
push eax
call fcn.1002f7f6
mov edi, eax
pop ecx
cmp edi, ebx
je 0x1001c365
push edi
push dword [ebp - 0x10]
lea eax, [ebp + 0x3c]
push dword [ebp - 0x1c]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1001c35e
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x10061914
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1001c35e
lea ecx, [ebp - 0x24]
call fcn.100013fb
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
lea eax, [ebp - 0x24]
push str._d._d._d._d
push eax
mov byte [ebp - 4], 1
call fcn.10001266
add esp, 0x18
push dword [ebp - 0x20]
mov ecx, esi
push str.SW_Version
push 0x10
call fcn.1002d6fc
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
call fcn.10001636
push edi
call fcn.100312c8
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.10024a7a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x144]
xor ecx, ebp
call fcn.100302c9
add ebp, 0x148
leave
ret 4
Function at 0x1001c399
Capabilities:
Get system information on windows

Disassembly:
push 0x6c
mov eax, 0x1005e13c
call fcn.10032378
mov esi, dword [ebp + 8]
push str.SetCpuInfo
push str.CMarsSystemAttributes
lea ecx, [ebp - 0x4c]
call fcn.10024db6
and dword [ebp - 0x78], 0
and dword [ebp - 4], 0
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x74]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [ebp - 0x54]
call fcn.100013fb
mov byte [ebp - 4], 1
call fcn.1001c1b0
push eax
lea eax, [ebp - 0x54]
push 0x1006227c
push eax
call fcn.10001266
add esp, 0xc
push dword [ebp - 0x50]
mov ecx, esi
push str.Num_USB_Devices
push 0xb
call fcn.1002d6fc
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.10001636
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.10024a7a
xor eax, eax
call fcn.100323fb
ret 4
Function at 0x1001c42c
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
sub esp, 0x140
lea ebp, [esp - 4]
mov eax, dword [0x1007b940]
xor eax, ebp
mov dword [ebp + 0x140], eax
push 0x38
mov eax, 0x1005e191
call fcn.1003230f
mov eax, dword [ebp + 0x14c]
push str.SetOSName
push str.CMarsSystemAttributes
lea ecx, [ebp]
mov dword [ebp - 0x38], eax
call fcn.10024db6
xor ebx, ebx
push str.Windows_OS
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.10001432
push 0x100635ec
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.10001432
push str.ver_
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.10001432
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x100635e0
mov byte [ebp - 4], 3
call fcn.10001432
lea eax, [ebp - 0x2c]
push eax
call fcn.10028aad
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.10001c64
lea ecx, [ebp - 0x1c]
call fcn.100013fb
lea eax, [ebp - 0x1c]
push eax
mov edi, str.OS_Version
push edi
mov esi, 0x10063468
push esi
mov byte [ebp - 4], 5
call fcn.10028f61
add esp, 0xc
test eax, eax
je 0x1001c508
lea ecx, [ebp - 0x1c]
call fcn.1000113a
cmp al, 1
jne 0x1001c5a9
push dword [ebp - 0x30]
call fcn.100379f0
pop ecx
push ebx
push 0x80
push 4
push ebx
push 1
push SysReAllocStringLen
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x1001c5a9
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x103
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x3d]
push ebx
push eax
mov byte [ebp + 0x3c], bl
call fcn.10031b60
add esp, 0xc
push ebx
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x20]
lea eax, [ebp + 0x3c]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001c57a
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10001145
lea ecx, [ebp - 0x14]
call fcn.100017b6
lea ecx, [ebp - 0x14]
call fcn.10001806
push dword [ebp - 0x10]
push edi
push esi
call fcn.100294e2
add esp, 0xc
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x28]
call fcn.10037982
pop ecx
lea eax, [ebp - 0x1c]
push eax
push edi
push esi
call fcn.10028f61
mov ecx, dword [ebp - 0x38]
add esp, 0xc
push dword [ebp - 0x18]
push dword [ebp - 0x40]
push 4
call fcn.1002d6fc
lea ecx, [ebp - 0x1c]
mov esi, eax
mov byte [ebp - 4], 4
call fcn.10001636
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.10001636
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.10001636
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.10001636
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.10001636
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.10024a7a
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x140]
xor ecx, ebp
call fcn.100302c9
add ebp, 0x144
leave
ret 4
Function at 0x1001ca7e
Capabilities:
Get geographical location

Disassembly:
push ebp
sub esp, 0xbc
lea ebp, [esp - 4]
mov eax, dword [0x1007b940]
xor eax, ebp
mov dword [ebp + 0xbc], eax
push 0x14
mov eax, 0x1005e2dc
call fcn.1003230f
mov esi, dword [ebp + 0xc8]
push str.SetOSLanguage
push str.CMarsSystemAttributes
lea ecx, [ebp]
call fcn.10024db6
and dword [ebp - 4], 0
xor eax, eax
push 0x7e
push eax
mov word [ebp + 0x3c], ax
lea eax, [ebp + 0x3e]
push eax
call fcn.10031b60
and dword [ebp - 0x20], 0
add esp, 0xc
push str.OS_Language
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.10001432
push 0x100635ec
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10001432
push 0x80
lea eax, [ebp + 0x3c]
push eax
push 3
push 0x800
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jle 0x1001cb23
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10001145
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x18]
push 0xf
call fcn.1002d6fc
lea ecx, [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 2
call fcn.10001636
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.10001636
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.10024a7a
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xbc]
xor ecx, ebp
call fcn.100302c9
add ebp, 0xc0
leave
ret 4
Function at 0x1001cea8
Capabilities:
Get geographical location

Disassembly:
push 0x6c
mov eax, 0x1005e46a
call fcn.10032378
mov ebx, dword [ebp + 8]
push str.SetTimeZoneInfo
push str.CMarsSystemAttributes
lea ecx, [ebp - 0x60]
call fcn.10024db6
xor esi, esi
lea ecx, [ebp - 0x61]
mov dword [ebp - 4], esi
call fcn.10015308
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.100013fb
xor eax, eax
mov word [ebp - 0x24], ax
lea edi, [ebp - 0x22]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x61]
mov byte [ebp - 4], 2
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], esi
call fcn.100154df
movzx edi, al
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x61]
call fcn.100154c7
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x61]
call fcn.1001530c
cmp ebx, esi
je 0x1001cff0
push str.Time_zone
lea ecx, [ebp - 0x74]
call fcn.10001145
push dword [ebp - 0x78]
mov ecx, ebx
push dword [ebp - 0x70]
push 0x24
call fcn.1002d2dc
mov esi, eax
test esi, esi
jl 0x1001cff5
push str.Country_Code
lea ecx, [ebp - 0x74]
call fcn.10001145
cmp dword [ebp - 0x68], 0
jne 0x1001cf78
push 0x10061424
push 0
call fcn.10031100
pop ecx
pop ecx
push dword [ebp - 0x68]
mov ecx, ebx
push dword [ebp - 0x70]
push 0x25
call fcn.1002d6fc
mov esi, eax
test esi, esi
jl 0x1001cff5
push str.Locale_Sync_Flag
lea ecx, [ebp - 0x74]
call fcn.10001145
push edi
push dword [ebp - 0x70]
mov ecx, ebx
push 0x26
call fcn.1002d2dc
mov esi, eax
test esi, esi
jl 0x1001cff5
push str.OS_Locale_Version
lea ecx, [ebp - 0x74]
call fcn.10001145
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x70]
mov ecx, ebx
push 0x27
call fcn.1002d6fc
mov esi, eax
test esi, esi
jl 0x1001cff5
push str.Location
lea ecx, [ebp - 0x74]
call fcn.10001145
push dword [ebp - 0x6c]
mov ecx, ebx
push dword [ebp - 0x70]
push 0x28
call fcn.1002d6fc
mov esi, eax
jmp 0x1001cff5
mov esi, 0x80004002
cmp dword [ebp - 0x68], 0
je 0x1001d008
push dword [ebp - 0x68]
call fcn.1002f915
and dword [ebp - 0x68], 0
pop ecx
cmp dword [ebp - 0x6c], 0
je 0x1001d01b
push dword [ebp - 0x6c]
call fcn.1002f915
and dword [ebp - 0x6c], 0
pop ecx
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.10001636
lea ecx, [ebp - 0x61]
mov byte [ebp - 4], 0
call fcn.1001530b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.10024a7a
mov eax, esi
call fcn.100323fb
ret 4
Function at 0x1001e1f9
Capabilities:
Create thread

Disassembly:
push 0x40
mov eax, 0x1005e671
call fcn.10032378
push str.StartTimer
mov esi, ecx
push 0x10063a4c
lea ecx, [ebp - 0x4c]
call fcn.10024db6
xor edi, edi
cmp dword [esi + 8], edi
jne 0x1001e25c
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x1001e231
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [esi + 4]
push eax
push edi
push esi
push 0x1001e1e3
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.10024a7a
xor eax, eax
call fcn.100323fb
ret
Function at 0x1001e57d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
mov esi, ecx
push str.hpusg_TrayWnd
lea ecx, [ebp - 0x10]
call fcn.10001432
mov eax, dword [0x1007cd54]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xc]
xor edi, edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], 0x30
mov dword [ebp - 0x58], 3
mov dword [ebp - 0x54], 0x1001e4cc
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], edi
call dword [sym.imp.USER32.dll_RegisterClassExA]
push edi
push dword [0x1007cd54]
mov eax, SysReAllocStringLen
push edi
push edi
push edi
push eax
push edi
push eax
push 0xcf0000
push str.hpusg_trayWnd
push dword [ebp - 0xc]
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x1e8
lea ebx, [esi + 8]
push edi
push ebx
mov dword [esi + 0x1f0], eax
call fcn.10031b60
mov eax, dword [esi + 0x1f0]
mov dword [ebx], 0x1e8
mov dword [0x1007cddc], eax
add esp, 0xc
mov ecx, esi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0xc9
mov dword [esi + 0x14], 7
mov dword [esi + 0x18], 0x40a
call fcn.1001e52f
push 0x40
mov dword [esi + 0x1c], eax
push 0x10061424
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x10063b0c
push 0x4e20
push str.TrayIconDelay
push str.MagicNumber
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
push eax
push 0xcb
push dword [esi + 0x1f0]
call dword [sym.imp.USER32.dll_SetTimer]
push ebx
push edi
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov dword [ebp - 4], edi
push edi
push edi
push dword [esi + 0x1f0]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
cmp dword [ebp - 0x28], 0x113
jne 0x1001e6cb
cmp dword [ebp - 0x24], 0xcb
jne 0x1001e6cb
mov dword [ebp - 8], edi
mov dword [ebp - 4], 1
cmp dword [ebp - 4], edi
je 0x1001e693
push ebx
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push 0xcb
push dword [esi + 0x1f0]
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyIcon]
push dword [esi + 0x1f0]
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [ebp - 0x10]
call fcn.10001636
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10021738
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x1007b940]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x1c
mov eax, 0x1005eac9
call fcn.1003230f
lea ecx, [ebp - 0x18]
call fcn.100013fb
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x10]
push eax
xor ebx, ebx
push 2
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
call edi
mov esi, 0x104
test eax, eax
jne 0x100217d6
push esi
lea eax, [ebp + 0x105]
push ebx
push eax
mov byte [ebp + 0x104], bl
call fcn.10031b60
add esp, 0xc
lea eax, [ebp + 0x104]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x100217d6
lea eax, [ebp + 0x104]
push eax
lea ecx, [ebp - 0x18]
call fcn.10001145
lea eax, [ebp - 0x18]
push eax
call fcn.1002c7fe
lea ecx, [ebp - 0x18]
mov dword [esp], str.Hewlett_Packard_
call fcn.10001c79
lea ecx, [ebp - 0x20]
call fcn.100013fb
lea eax, [ebp - 0x10]
push eax
push 0x17
push ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], ebx
call edi
test eax, eax
jne 0x10021844
push esi
lea eax, [ebp + 0x105]
push ebx
push eax
mov byte [ebp + 0x104], bl
call fcn.10031b60
add esp, 0xc
lea eax, [ebp + 0x104]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x10021844
lea eax, [ebp + 0x104]
push eax
lea ecx, [ebp - 0x20]
call fcn.10001145
lea eax, [ebp - 0x20]
push eax
call fcn.1002c7fe
lea ecx, [ebp - 0x20]
mov dword [esp], str.Hewlett_Packard_
call fcn.10001c79
lea eax, [ebp - 0x28]
push eax
call fcn.1002c679
mov dword [esp], 0x103
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp - 4], 2
mov byte [ebp], bl
call fcn.10031b60
push dword [0x1007cd54]
lea eax, [ebp]
push esi
push eax
push 0x65
call fcn.1002ad82
lea eax, [ebp]
push str..lnk
push eax
call fcn.10031110
mov ecx, dword [ebp - 0x14]
mov esi, 0x10063d80
push esi
push dword [ebp - 0x24]
lea edx, [ebp]
call fcn.10021278
mov ecx, dword [ebp - 0x1c]
push esi
push dword [ebp - 0x24]
lea edx, [ebp]
call fcn.10021278
add esp, 0x34
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10001636
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.10001636
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10001636
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 + 0x20c]
xor ecx, ebp
call fcn.100302c9
add ebp, 0x210
leave
ret
Function at 0x10021933
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1007b940]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.StartStartMenuCleanup
mov esi, ecx
push 0x10063da4
lea ecx, [ebp - 0x40]
call fcn.10024db6
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
xor ebx, ebx
lea eax, [ebp - 0x44]
push eax
push ebx
push esi
push 0x10021913
push ebx
push ebx
mov dword [ebp - 0x44], ebx
mov dword [esi + 0x64], 1
call edi
mov dword [esi + 0x68], eax
lea eax, [ebp - 0x44]
push eax
push ebx
push esi
push 0x100218f3
push ebx
push ebx
mov dword [esi + 0x6c], 1
call edi
lea ecx, [ebp - 0x40]
mov dword [esi + 0x70], eax
call fcn.10024a7a
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.100302c9
leave
ret
Function at 0x100229b5
Capabilities:
Read .ini file

Disassembly:
push 0x70
mov eax, 0x1005ed32
call fcn.10032378
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x34]
push str.InsertInstance
mov edi, ecx
push 0x10063da4
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x60], eax
call fcn.10024db6
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x54], ebx
call fcn.1000113a
test al, al
jne 0x10022b7b
mov eax, dword [esi + 4]
mov edx, dword [edi]
push ebx
push eax
mov ecx, edi
call dword [edx + 0xc]
test eax, eax
jge 0x10022b7b
push 0x150
call fcn.10032603
pop ecx
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x10022a5e
mov ecx, eax
call fcn.10011c2b
mov ebx, eax
mov byte [ebp - 4], 0
test ebx, ebx
je 0x10022b7b
push dword [ebp - 0x60]
mov esi, dword [esi + 4]
push dword [ebp - 0x58]
mov ecx, ebx
push dword [ebp - 0x50]
push dword [ebp - 0x7c]
push dword [ebp - 0x64]
push dword [ebp - 0x78]
push dword [ebp - 0x70]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push dword [ebp - 0x74]
push dword [ebp + 0xc]
push esi
call fcn.1001275f
and dword [ebp - 0x5c], 0
lea eax, [ebp - 0x5c]
lea esi, [edi + 0x74]
push eax
mov ecx, esi
call fcn.1001d931
push dword [ebp - 0x5c]
mov ecx, ebx
call fcn.1000f025
cmp dword [ebp + 0x38], 0
lea eax, [ebx + 4]
push eax
lea ecx, [edi + 0xc]
jne 0x10022ac2
lea ecx, [edi + 0x2c]
call fcn.1001138b
push 0x10061e4c
push 0xdbba00
push str.InstanceTimerInterval
push str.MagicNumber
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x10063cc4
push 0x258
push str.FirstPollDelay
push str.MagicNumber
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x58], eax
imul eax, eax, 0x3e8
cmp eax, dword [ebp - 0x50]
jle 0x10022b12
and dword [ebp - 0x58], 0
call fcn.10023c2a
test eax, eax
je 0x10022b55
push 0x303
call fcn.10023c32
pop ecx
test eax, eax
je 0x10022b55
push dword [ebp - 0x50]
push 0x303
call fcn.10024822
pop ecx
pop ecx
cmp eax, 2
jne 0x10022b55
push str.InsertInstance
push 0x10063da4
push 0x303
call fcn.10023c3b
add esp, 0xc
push dword [ebp - 0x58]
mov ecx, esi
push dword [ebp - 0x50]
push ebx
call fcn.1001e3aa
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x1c]
cmp dword [ebp - 0x60], 0
je 0x10022b82
mov ecx, edi
call fcn.10021933
jmp 0x10022b82
mov dword [ebp - 0x54], 0x80004005
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.10024a7a
mov eax, dword [ebp - 0x54]
call fcn.100323fb
ret 0x34