joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42394d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x2e
mov esi, ebx
mov edi, eax
call fcn.00408c62
test eax, eax
jg 0x42396f
mov al, 1
jmp 0x423ace
mov ecx, eax
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00408d6f
mov eax, dword [0x456f60]
mov esi, 0x456f60
mov ecx, esi
call dword [eax + 0xc]
push dword [ebp - 8]
add eax, 0x10
push dword [ebx]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 0x10]
push 0x451678
push eax
call fcn.004096ad
add esp, 0x14
cmp dword [edi + 0x10], 0
je 0x4239ba
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
push 0
push 0x8000008
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [edi + 0xc]
push eax
call fcn.0040f3e6
add esp, 0x14
lea ecx, [ebp - 8]
mov byte [ebp - 1], 1
call fcn.0040a33e
test al, al
je 0x4239f2
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x423a99
mov eax, dword [0x456f60]
mov ecx, esi
call dword [eax + 0xc]
push dword [ebp + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.0040fc90
mov eax, dword [0x456f60]
pop ecx
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
push 0xca
lea esi, [ebp - 0x18]
mov dword [ebp - 0xc], eax
call fcn.004216d6
mov eax, dword [ebp - 8]
mov ebx, dword [eax - 0xc]
pop ecx
push 0x5c
lea esi, [ebp - 8]
call fcn.00408c62
mov ecx, ebx
sub ecx, eax
lea eax, [ebp - 0x1c]
push eax
mov eax, esi
call fcn.00410251
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
push esi
push dword [eax]
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.004096ad
mov eax, dword [ebp - 0x1c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.004046b1
push 0
lea eax, [ebp - 0xc]
call fcn.004164e9
pop ecx
lea eax, [ebx - 0x10]
mov byte [ebp - 1], 0
call fcn.004046b1
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.004046b1
lea eax, [esi - 0x10]
call fcn.004046b1
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x10], 0
je 0x423ab5
mov edi, dword [edi + 0x10]
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x18]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004046b1
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.004046b1
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x423c31
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebx + 0x10], eax
cmp dword [eax], edi
je 0x423c68
push edi
push edi
push edi
push edi
lea esi, [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
call fcn.00408e4e
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
push dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
xor edi, edi
lea eax, [ebp - 4]
push eax
push edi
push ebx
push 0x423e90
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x18], esi
cmp dword [eax], edi
je 0x423cbe
mov edi, ebx
call fcn.00423cfc
mov ebx, dword [ebx + 4]
mov esi, eax
mov eax, dword [edi]
mov dword [ebp - 0xc], edx
call fcn.0040c058
add esi, eax
adc dword [ebp - 0xc], edx
mov eax, dword [edi + 0x10]
push dword [ebp - 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push esi
call dword [eax]
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, dword [ebp - 0x18]
xor edi, edi
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x423ce8
mov ebx, dword [ebp - 4]
cmp esi, edi
je 0x423ce4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x423cf5
cmp esi, edi
je 0x423cf3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4241e1
Capabilities:
Get geographical location

Disassembly:
push ebp
push esi
push edi
push 0
push 0x44ad36
movzx ebx, bx
push 0x1001
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov ebp, eax
mov ecx, 0x456f60
lea edi, [ebp - 1]
call fcn.00402131
test edi, edi
jle 0x42422a
push edi
call fcn.0040214c
push edi
push 0x78
push eax
call fcn.004302b0
add esp, 0xc
mov eax, edi
mov edx, esi
call fcn.00402172
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x42423e
push dword [eax + 4]
push esi
call fcn.00402266
mov eax, dword [esi]
push ebp
push eax
push 0x1001
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x42445c
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
push 0x3c
pop edi
push edi
mov esi, eax
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004302b0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0
push eax
mov dword [ebp - 0x28], 0x64
mov dword [ebp - 0x3c], edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x4244a6
mov ecx, 0x456f60
call fcn.00402131
jmp 0x4244b3
push dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
mov eax, esi
call fcn.0041023a
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x4248c3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
lea esi, [edi + 4]
push dword [esi]
call fcn.0041050d
pop ecx
push esi
call fcn.0040e870
mov eax, dword [edi + 0x28]
push dword [eax]
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [esi]
call ebx
mov eax, dword [0x456f60]
mov ecx, 0x456f60
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
push 0xdc
lea eax, [ebp - 4]
push eax
call fcn.004043ff
push 0x40a
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebp - 4]
push eax
call ebx
lea eax, [edi + 0x40]
push eax
mov eax, dword [esi]
call fcn.0042718f
push dword [esi]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea eax, [ebp - 8]
push eax
xor eax, eax
push eax
push edi
push 0x42499f
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.004046b1
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x424b13
Capabilities:
Get session user name
List groups for user account

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x455090]
xor eax, ebp
mov dword [ebp + 0x198], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
xor ebx, ebx
push eax
mov dword [ebp - 0x78], ebx
call esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
push eax
call esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x70]
call fcn.004045e3
push 0x448aac
lea eax, [ebp - 0x70]
push eax
call fcn.0040ab00
test eax, eax
jne 0x424b7c
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
call fcn.004046b1
mov al, 1
jmp 0x424bd8
push edi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x7c]
push eax
push 1
push ebx
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], ebx
push ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x80], ebx
call sub.NETAPI32.dll_NetUserGetLocalGroups
test eax, eax
jne 0x424bca
mov esi, dword [ebp - 0x7c]
xor edi, edi
cmp dword [ebp - 0x74], ebx
jbe 0x424bca
cmp esi, ebx
je 0x424bbd
mov edx, dword [esi]
call fcn.004012f0
test eax, eax
je 0x424bc8
add esi, 4
inc edi
cmp edi, dword [ebp - 0x74]
jb 0x424bae
jmp 0x424bca
mov bl, 1
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
call fcn.004046b1
mov al, bl
pop edi
mov ecx, dword [ebp + 0x198]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043028b
add ebp, 0x19c
leave
ret

Function at 0x424e3f
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [eax]
sub esp, 0x1c
push 0x80000000
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
test eax, eax
jne 0x424e60
xor al, al
jmp 0x424e7d
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x424e5c
cmp dword [ebp - 0x18], 4
je 0x424e7b
cmp dword [ebp - 0x18], 2
jne 0x424e5c
mov al, 1
leave
ret 4
Function at 0x425c6b
Capabilities:
Create process on windows
Query service status
Start service

Disassembly:
push ebp
lea ebp, [esp - 0x304]
sub esp, 0x384
mov eax, dword [0x455090]
xor eax, ebp
mov dword [ebp + 0x300], eax
push esi
push edi
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0xc], 1
jne 0x425d36
push str.SYSTEM_AGENT_COM_WINDOW
push str.SAGEWINDOWCLASS
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x425cbe
xor eax, eax
jmp 0x425d99
push 0x44
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.004302b0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0xf8]
push eax
push 0x104
push edi
push str.mstask.exe
push edi
mov dword [ebp - 0x80], esi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x425d00
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x425d99
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push 0x210
push edi
push edi
push edi
push edi
lea eax, [ebp + 0xf8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x425cf5
push dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2c]
call esi
jmp 0x425cb7
push 1
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
cmp esi, edi
je 0x425cf5
push ebx
push 0x14
push str.Schedule
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
call esi
cmp ebx, edi
je 0x425d8b
lea eax, [ebp - 0x3c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x425d88
cmp dword [ebp - 0x38], 4
je 0x425d93
push edi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x425d93
push ebx
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x425d98
push ebx
call esi
xor eax, eax
pop ebx
mov ecx, dword [ebp + 0x300]
pop edi
xor ecx, ebp
pop esi
call fcn.0043028b
add ebp, 0x304
leave
ret
Function at 0x4263a2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
test edi, edi
je 0x4263b6
add edi, 0xffffffc0
jmp 0x4263b8
xor edi, edi
push dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [edi + 4]
mov dword [ebp - 0xc], 1
call ebx
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
or dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], eax
push eax
mov eax, dword [ebp + 0xc]
call fcn.00408e2d
test eax, eax
je 0x426405
mov ecx, dword [ebp - 4]
inc ecx
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
or eax, 0xffffffff
call fcn.00409b91
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], eax
jge 0x426436
and dword [ebp - 0xc], 0
push 0xffffffffffffffff
add edi, 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
test edi, edi
je 0x426425
lea eax, [edi - 0x40]
jmp 0x426427
xor eax, eax
push dword [ebp + 8]
push dword [eax + 4]
call ebx
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x426df7
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push esi
call fcn.0040fd89
test eax, eax
je 0x426e94
lea eax, [esp + 8]
push eax
xor esi, esi
push 0x28
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x426e44
cmp dword [esp + 8], esi
je 0x426e40
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x426eab
lea eax, [esp + 0x14]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [esp + 0x1c]
push eax
push esi
push dword [esp + 0x1c]
mov dword [esp + 0x28], 1
mov dword [esp + 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x426e30
cmp dword [esp + 8], esi
je 0x426e99
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x426e99
call fcn.00426eb0
push 0x80040002
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x426eb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x455090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push 0x451a2c
push edi
mov dword [ebp - 0x248], edi
call esi
test eax, eax
jne 0x426ef9
test edi, edi
je 0x427005
push edi
jmp 0x426fff
push 0
push 2
call eax
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x426f0f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x426eeb
push str._WindowsFolder_explorer.exe
lea eax, [ebp - 0x23c]
call fcn.004045e3
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00415bbf
mov eax, dword [ebp - 0x23c]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004046b1
push 0x451a1c
push edi
call esi
push 0x451a0c
push dword [ebp - 0x248]
mov edi, eax
call esi
push 0x228
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x234]
push 0
push eax
call fcn.004302b0
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
push ebx
mov dword [ebp - 0x238], 0x22c
call edi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x426fd7
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0040ab00
test eax, eax
jne 0x426fc9
push dword [ebp - 0x230]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test edi, edi
je 0x426fc9
push edi
call esi
lea eax, [ebp - 0x238]
push eax
push ebx
call dword [ebp - 0x23c]
test eax, eax
jne 0x426f91
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
call fcn.004046b1
test ebx, ebx
je 0x426ff0
push ebx
call esi
cmp dword [ebp - 0x248], 0
je 0x427005
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043028b
leave
ret

Function at 0x428baf
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0x3f7
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push 0x3eb
push dword [esi + 4]
call edi
push 0
push eax
mov dword [ebp - 4], eax
call ebx
push 0x3ec
push dword [esi + 4]
call edi
xor edi, edi
push edi
push eax
call ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
push eax
add esi, 0x88
push dword [esi]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call ebx
mov eax, dword [ebp - 0x18]
push 0x222
push edi
mov dword [ebp - 8], eax
push esi
lea eax, [ebp - 0x14]
call fcn.0041d002
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42d423
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebx + 0x7c]
push edi
call fcn.0041bdb6
mov eax, dword [ebx + 0x7c]
xor esi, esi
push esi
push 0x3025
call fcn.0041be54
mov eax, dword [ebx + 0x7c]
push esi
push 0x3023
call fcn.0041be54
mov eax, dword [ebx + 0x7c]
push esi
push 0x3024
call fcn.0041be54
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x401
push dword [ebx + 4]
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x7f04
push ebx
call fcn.0042d7db
push ebx
call fcn.0042d544
mov dword [ebx + 0x90], esi
push 0
lea esi, [ebx + 0x88]
push dword [esi]
call fcn.0041ad94
test eax, eax
jne 0x42d50e
mov esi, dword [esi]
add esi, 0x48
lea eax, [ebx + 0x84]
mov byte [esi + 0x19], 0
mov byte [esi + 0x18], 0
mov dword [esi + 0x10], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push esi
push 0x426a9e
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xae
lea esi, [ebp - 4]
call fcn.004216d6
pop ecx
mov edi, eax
call fcn.0042dbbc
mov dword [ebx + 0x9c], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.004046b1
push 0
push 0x3e8
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x42d53e
mov eax, dword [ebx + 0x7c]
mov esi, dword [sym.imp.USER32.dll_GetParent]
mov byte [eax + 0x99], 1
push dword [ebx + 4]
call esi
push 2
push eax
call edi
push dword [ebx + 4]
mov edi, eax
call esi
push edi
push 2
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
xor eax, eax
pop esi
leave
ret

Function at 0x42ecbc
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x455090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
push ebx
push edi
mov edi, ecx
jne 0x42ecfa
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.004045c0
mov eax, dword [0x456f60]
mov ecx, 0x456f60
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x214], eax
mov eax, edi
lea edi, [ebp - 0x214]
call fcn.004088ee
lea eax, [ebp - 0x218]
xor ecx, ecx
push eax
inc ecx
mov eax, esi
call fcn.00410251
mov edi, 0x4498c0
push edi
push eax
call fcn.00408fde
test eax, eax
mov eax, dword [ebp - 0x218]
setne bl
add eax, 0xfffffff0
call fcn.004046b1
test bl, bl
je 0x42ed58
push edi
push esi
call fcn.00402192
push str.AI_WSP_
push esi
call fcn.00402192
mov edi, dword [ebp - 0x214]
push dword [edi - 0xc]
mov eax, esi
push edi
call fcn.00402383
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [edi - 0x10]
call fcn.004046b1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0043028b
leave
ret
Function at 0x42f0c7
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xd4
mov eax, dword [0x455090]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
push edi
mov edi, edx
push dword [edi]
mov esi, ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42f0fd
mov ecx, 0x456f60
call fcn.00402131
jmp 0x42f185
mov edi, dword [edi]
push 0x451fa0
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.004342e0
add esp, 0xc
mov ecx, 0x456f60
test eax, eax
jne 0x42f0f3
mov eax, dword [0x456f60]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
jmp 0x42f14c
push dword [ebp - 0x58]
lea eax, [ebp - 0x54]
push 0x64
push eax
call fcn.00434367
add esp, 0xc
test eax, eax
je 0x42f159
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00402192
push dword [ebp - 0x58]
call fcn.00434333
pop ecx
test eax, eax
je 0x42f12a
push ebx
push dword [ebp - 0x58]
call fcn.0043449f
pop ecx
lea ebx, [ebp - 0x5c]
call fcn.00409004
mov edi, dword [ebp - 0x5c]
add edi, 0xfffffff0
mov eax, edi
call fcn.00409baf
add eax, 0x10
mov dword [esi], eax
mov eax, edi
call fcn.004046b1
pop ebx
mov ecx, dword [ebp + 0x74]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043028b
add ebp, 0x78
leave
ret

Function at 0x42f198
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x456f60]
push ebx
push esi
push edi
mov edi, 0x456f60
mov ecx, edi
call dword [eax + 0xc]
mov ecx, dword [ebp + 0x10]
add eax, 0x10
lea esi, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.0042ecbc
mov ebx, dword [ebp - 8]
cmp dword [ebx - 0xc], 0
jne 0x42f1e2
mov esi, dword [ebp + 8]
mov ecx, edi
call fcn.00402131
lea eax, [ebx - 0x10]
call fcn.004046b1
mov eax, esi
jmp 0x42f27d
lea esi, [ebp - 4]
call fcn.0042f282
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
jne 0x42f20a
mov esi, dword [ebp + 8]
mov ecx, edi
call fcn.00402131
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.004046b1
jmp 0x42f1d3
push str.__o_enumsolutions
lea eax, [ebp - 4]
push eax
call fcn.00402192
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 8]
call fcn.004088ee
push 0x4498c0
push edi
call fcn.00402192
push str.Solutions.list
push edi
call fcn.00402192
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f24d
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [edi]
mov esi, dword [ebp - 4]
push esi
call fcn.00420f27
pop ecx
add ebx, 0xfffffff0
pop ecx
mov eax, ebx
call fcn.00409baf
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
lea eax, [esi - 0x10]
call fcn.004046b1
mov eax, ebx
call fcn.004046b1
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42f483
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
push str.SOFTWAREMicrosoftShared_ToolsWeb_Server_Extensions_
lea eax, [ebp - 4]
call fcn.004045e3
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.00402383
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x10]
push eax
push 0x20019
xor esi, esi
push esi
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42f4e4
mov esi, dword [ebp + 8]
mov ecx, 0x456f60
call fcn.00402131
lea eax, [edi - 0x10]
call fcn.004046b1
mov eax, esi
jmp 0x42f5cd
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push str.Location
push dword [ebp - 0x10]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
mov eax, dword [0x456f60]
mov ebx, 0x456f60
mov ecx, ebx
call dword [eax + 0xc]
mov edi, eax
add edi, 0x10
cmp dword [ebp - 0xc], 0xea
mov dword [ebp + 0xc], edi
jne 0x42f55f
push dword [ebp - 8]
lea esi, [ebp + 0xc]
call fcn.0040451d
lea eax, [ebp - 8]
push eax
call fcn.004020e5
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.Location
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
or eax, 0xffffffff
call fcn.00409b91
mov edi, dword [ebp + 0xc]
xor esi, esi
cmp dword [ebp - 0xc], esi
jne 0x42f5ad
cmp dword [edi - 0xc], esi
je 0x42f5ad
push str.BINSTSADM.EXE
lea eax, [ebp + 0xc]
push eax
call fcn.00402192
mov edi, dword [ebp + 0xc]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f5ad
lea esi, [edi - 0x10]
mov eax, esi
call fcn.00409baf
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov eax, esi
call fcn.004046b1
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.004046b1
mov eax, edi
jmp 0x42f5cc
mov esi, dword [ebp + 8]
mov ecx, ebx
call fcn.00402131
lea eax, [edi - 0x10]
call fcn.004046b1
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.004046b1
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret

Function at 0x42f5d1
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [eax]
push esi
push edi
sub eax, 0x10
mov esi, ecx
call fcn.00409baf
add eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.00402383
mov edi, dword [ebp - 4]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f61b
add edi, 0xfffffff0
mov eax, edi
call fcn.00409baf
add eax, 0x10
mov dword [esi], eax
mov eax, edi
jmp 0x42f628
mov ecx, 0x456f60
call fcn.00402131
lea eax, [edi - 0x10]
call fcn.004046b1
pop edi
mov eax, esi
pop esi
leave
ret