joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cc10
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x477070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x41cc6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_while_obtaining_sc_manager_handle:__d
push 0x4662f8
push 0x477a14
call fcn.00433950
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00436666
mov esp, ebp
pop ebp
ret
push 0x1002c
push str.iaStorAfsService
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x41ccac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.iaStorAfsService
push str.Error_while_obtaining_service___s__handle:__d
push 0x4662f8
push 0x477a14
call fcn.00433950
add esp, 0x14
push esi
jmp 0x41cd64
lea eax, [ebp - 0x2c]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x41ccd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.iaStorAfsService
push str.Error_while_getting_service___s__status:__d
jmp 0x41cd51
mov eax, dword [ebp - 0x24]
cmp eax, 1
je 0x41cd17
cmp eax, 3
je 0x41cd0c
lea eax, [ebp - 0x28]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push str.iaStorAfsService
push str.Stopping_service___s_...
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0x10
push ecx
mov ecx, esi
call fcn.0041cb20
add esp, 4
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x41cd40
push str.iaStorAfsService
push str.Deleting_service___s_...
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0x10
jmp 0x41cd63
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.iaStorAfsService
push str.Error_while_deleting_service___s_:__d
push 0x4662f8
push 0x477a14
call fcn.00433950
add esp, 0x14
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00436666
mov esp, ebp
pop ebp
ret
Function at 0x41cf00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov eax, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xc], eax
movzx eax, word [eax + 8]
push 5
push eax
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41cf84
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41cf84
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x41cf84
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push ebx
call fcn.004405fa
mov esi, eax
add esp, 4
test esi, esi
je 0x41cf84
push ebx
push dword [ebp - 8]
mov edx, ebx
mov ecx, esi
call fcn.0041b670
add esp, 8
test eax, eax
je 0x41cf8f
push esi
call fcn.0043ec26
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, 0x4793b0
call fcn.00419220
test al, al
je 0x41cfa4
or dword [esi + 8], 0x402000
push 0
push 0x41ce20
push dword [ebp + 8]
push esi
push 0
call edi
push eax
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov ebx, dword [ebp - 0xc]
mov dword [ebx + 4], eax
lea edi, [ebx + 4]
test eax, eax
je 0x41d00b
push edi
lea eax, [ebp - 0x10]
push eax
call fcn.0041e870
mov eax, dword [ebp - 0x10]
push 0x41cda0
push 4
mov dword [eax + 0x14], ebx
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [edi]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0041e870
mov eax, dword [ebp - 0x10]
push 0
push 0
push 0x110
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
call dword [eax]
push esi
call fcn.0043ec26
add esp, 4
xor eax, eax
cmp dword [edi], eax
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41d030
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456d86
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x477070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
call fcn.0041cf00
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x28]
push 0
push 0
push 0
push eax
call edi
test eax, eax
je 0x41d0bf
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
cmp byte [esi + 0xc], 0
jne 0x41d0bf
lea eax, [ebp - 0x28]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x41d0af
lea eax, [ebp - 0x28]
push eax
call ebx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
call edi
test eax, eax
jne 0x41d088
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, 0x479bdc
call fcn.00419950
mov dword [ebp - 4], 0
mov ecx, 0x479be4
mov eax, dword [0x479be4]
push dword [eax + 4]
call fcn.00419a70
mov eax, dword [0x479be4]
mov dword [eax + 4], eax
mov eax, dword [0x479be4]
mov dword [eax], eax
mov eax, dword [0x479be4]
mov dword [eax + 8], eax
mov dword [0x479be8], 0
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41d130
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456dbb
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x477070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
mov dword [ebp - 4], eax
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push dword [ecx + 4]
call edi
mov esi, eax
test esi, esi
je 0x41d1ee
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
nop word [eax + eax]
push 0x400
lea eax, [ebp - 0x810]
push eax
push esi
call ebx
lea eax, [ebp - 0x828]
mov ecx, 0x4793b0
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.00419700
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 2
push esi
call edi
mov esi, eax
test esi, esi
jne 0x41d1a0
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x41d20c
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.00405180
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00436666
mov esp, ebp
pop ebp
ret
Function at 0x41d370
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x477070]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
cmp ebx, 0x110
ja 0x41d48a
je 0x41d3da
mov eax, ebx
sub eax, 2
je 0x41d3ca
sub eax, 1
je 0x41d438
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
push ebx
call fcn.0041d300
mov ecx, dword [esp + 0x2c]
pop edi
pop ebx
xor ecx, esp
call fcn.00436666
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x41d3a9
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x41d3a9
mov ecx, dword [0x4792e4]
call fcn.0040cc40
test al, al
je 0x41d438
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41d421
push 0
push eax
push 0
push dword [edi + 4]
push 0x1e
push 0x5a
push 0
push 0
push 0x90000000
push str.Exit
push str.Button
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x4c], eax
jmp 0x41d438
push str.Couldnt_create_Exit_button_window__handle_to_module_is_invalid_
push 0x466060
push 0x477a14
call fcn.00433950
add esp, 0xc
cmp dword [edi + 0x4c], 0
je 0x41d3a9
lea eax, [esp + 0x1c]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0xc]
push eax
push dword [edi + 0x4c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
add eax, 0xfffffff2
push 0x15
push 0
push 0
add eax, ecx
push eax
push dword [esp + 0x2c]
push 0
push dword [edi + 0x4c]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x41d3a9
cmp ebx, 0x111
jne 0x41d3a9
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x41d3a9
cmp dword [ebp + 0x10], eax
jne 0x41d3a9
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x41f9e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x477070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x118
lea eax, [ebp - 0x124]
mov byte [ebp - 0x129], 0
push 0
push eax
mov ebx, ecx
call fcn.00439c60
add esp, 0xc
lea eax, [ebp - 0x274]
push 0x118
push 0
push eax
call fcn.00439c60
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x278], 0x11c
push ecx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov cx, word [ebp - 0x154]
cmp cx, 9
jne 0x41fa74
test ebx, ebx
js 0x41fa81
mov al, byte [ebp - 0x129]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00436666
mov esp, ebp
pop ebp
ret
test cx, cx
jne 0x41fa5d
test ebx, 0x40000000
je 0x41fa5d
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov eax, ebx
push 3
push 2
shr eax, 8
push 0
movzx eax, al
push 0
mov dword [ebp - 0x124], eax
call esi
push 3
push 1
push edx
movzx ecx, bl
push eax
mov dword [ebp - 0x120], ecx
call esi
mov edi, eax
mov esi, 3
test ebx, 0x10000000
je 0x41fac5
mov byte [ebp - 0xe], 1
jmp 0x41fad9
test ebx, 0x20000000
je 0x41fad3
mov byte [ebp - 0xe], 3
jmp 0x41fad9
cmp byte [ebp - 0xe], 0
jbe 0x41faef
push 1
push 0x80
push edx
push edi
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov edi, eax
mov esi, 0x83
lea ecx, [ebp - 0x278]
mov ebx, edx
call fcn.0041f390
test esi, esi
je 0x41fb15
push ebx
push edi
push esi
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
cmp eax, 1
je 0x41fb54
push ebx
push edi
sub esp, 0x11c
lea esi, [ebp - 0x278]
mov edi, esp
mov ecx, 0x47
rep movsd dword es:[edi], dword [esi]
sub esp, 0x11c
lea esi, [ebp - 0x128]
mov ecx, 0x47
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0041f7f0
add esp, 0x240
cmp al, 1
jne 0x41fa5d
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00436666
mov esp, ebp
pop ebp
ret
Function at 0x4205a0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c0
mov eax, dword [0x477070]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x6c0], ebx
lea eax, [edi + 8]
xor esi, esi
cmp dword [eax + 0x14], 8
jb 0x4205ce
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0043efc6
add esp, 0xc
lea eax, [ebp - 0x214]
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
call ebx
push 0x46b088
lea eax, [ebp - 0x214]
push eax
call ebx
lea eax, [ebp - 0x6bc]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42072b
push dword [ebp - 0x6c0]
lea eax, [ebp - 0x41c]
push 0x104
push eax
call fcn.0043efc6
add esp, 0xc
lea eax, [ebp - 0x690]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test byte [ebp - 0x6bc], 0x10
lea eax, [ebp - 0x690]
je 0x4206df
mov ecx, 0x46b08c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42068c
test dx, dx
je 0x420688
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42068c
add eax, 4
add ecx, 4
test dx, dx
jne 0x420666
xor eax, eax
jmp 0x420691
sbb eax, eax
or eax, 1
test eax, eax
je 0x4206fd
mov eax, 0x46b090
lea ecx, [ebp - 0x690]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4206c6
test dx, dx
je 0x4206c2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4206c6
add ecx, 4
add eax, 4
test dx, dx
jne 0x4206a0
xor eax, eax
jmp 0x4206cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4206fd
lea eax, [ebp - 0x41c]
mov ecx, edi
push eax
call fcn.004205a0
jmp 0x4206fd
push str..inf
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x4206fd
lea eax, [ebp - 0x41c]
mov ecx, edi
push eax
call fcn.00420770
lea eax, [ebp - 0x6bc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42071b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x42073e
cmp esi, 0x12
jne 0x420620
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00436666
mov esp, ebp
pop ebp
ret 4
cmp esi, 0x12
je 0x420724
push 0x258
push str.Hardware.cpp
push 0x466c0c
push esi
lea ecx, [ebp - 0x46c]
call fcn.004016d0
push 0x474bb0
lea eax, [ebp - 0x46c]
push eax
call fcn.00439290
int3
Function at 0x422290
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x690
mov eax, dword [0x477070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x66c], edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push edi
mov dword [ebp - 0x670], eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0043efc6
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
add esp, 0xc
push str..inf
push eax
call edi
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4222f4
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
cmp eax, 0x104
jae 0x42232a
lea ecx, [ecx*2 + 2]
cmp ecx, 0x208
jae 0x4224ac
xor eax, eax
mov word [ebp + ecx - 0x20c], ax
push ebx
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0043efc6
add esp, 0xc
lea eax, [ebp - 0x414]
push esi
push eax
call edi
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422352
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
cmp eax, 0x104
jae 0x422388
lea ecx, [ecx*2 + 2]
cmp ecx, 0x208
jae 0x4224ac
xor eax, eax
mov word [ebp + ecx - 0x414], ax
push dword [ebp - 0x66c]
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.0043efc6
add esp, 0xc
lea eax, [ebp - 0x61c]
push dword [ebp - 0x670]
push eax
call edi
lea ecx, [ebp - 0x61c]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4223c0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
cmp eax, 0x104
jae 0x4223f6
lea ecx, [ecx*2 + 2]
cmp ecx, 0x208
jae 0x4224ac
xor eax, eax
mov word [ebp + ecx - 0x61c], ax
mov esi, dword [sym.imp.SHELL32.dll_SHFileOperationW]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x688], eax
mov eax, 0x614
mov word [ebp - 0x680], ax
lea eax, [ebp - 0x690]
push eax
mov dword [ebp - 0x690], 0
mov dword [ebp - 0x68c], 3
call esi
test eax, eax
je 0x422437
jmp 0x422480
lea eax, [ebp - 0x414]
mov dword [ebp - 0x68c], 2
mov dword [ebp - 0x688], eax
lea eax, [ebp - 0x61c]
mov dword [ebp - 0x684], eax
lea eax, [ebp - 0x690]
push eax
call esi
pop edi
pop esi
pop ebx
test eax, eax
je 0x422470
push 0x408
jmp 0x422485
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00436666
mov esp, ebp
pop ebp
ret 0xc
push 0x3fe
push str.Hardware.cpp
push str.SHFileOperation_returned_an_error__Code_is_not_always_a_Win32_code_.
push eax
lea ecx, [ebp - 0x668]
call fcn.004016d0
push 0x474bb0
lea eax, [ebp - 0x668]
push eax
call fcn.00439290
call fcn.00436fd4
int3
Function at 0x4294b0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457d08
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x477070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
push 0xb
push str.GlobalIIF_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], eax
call fcn.00404c00
cmp word [ebx], si
jne 0x42950d
xor ecx, ecx
jmp 0x429521
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429512
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00413d10
mov eax, dword [edi]
test eax, eax
je 0x429546
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
test eax, eax
jne 0x4295bc
call ebx
mov esi, eax
cmp esi, 2
jne 0x4295a2
push str.Mutex_with_given_name_doesnt_exist._Creating_new_one._n
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0xc
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov ecx, edi
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00429660
mov esi, eax
jmp 0x4295d3
push esi
push str.Error_opening_mutex:__lu_n
push 0x466060
push 0x477a14
call fcn.00433950
add esp, 0x10
jmp 0x4295d3
push str.Opened_existing_mutex_n
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0xc
mov eax, dword [edi]
test eax, eax
je 0x429620
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x429604
push str.Obtained_mutex_succesfully.
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0xc
xor esi, esi
jmp 0x429620
push esi
push str.GetMutex:_wait_unsuccseffull___lu_
push 0x466060
push 0x477a14
call fcn.00433950
add esp, 0x10
call ebx
mov esi, eax
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x429635
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00405180
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 - 0x14]
xor ecx, ebp
call fcn.00436666
mov esp, ebp
pop ebp
ret 4
Function at 0x4296d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x477070]
xor eax, ebp
mov dword [ebp - 4], eax
push str.2.5.55
push str.Core_version:__s
push 0x4656cc
push 0x477a14
call fcn.00433950
mov ecx, dword [0x4792e4]
add esp, 0x10
push str.IIF_SETUPVERSION
lea ecx, [ecx + 4]
call fcn.004174a0
push eax
push str.Setup_version:__s
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push str.Command_line:__s
push 0x4656cc
push 0x477a14
call fcn.00433950
push 0x11c
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.00439c60
add esp, 0x1c
mov dword [ebp - 0x128], 0x11c
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 0x12c], 1
mov ecx, str.32_bit
mov eax, str.64_bit
cmovne eax, ecx
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, byte [ebp - 0xe]
push eax
push dword [ebp - 0x120]
push dword [ebp - 0x124]
push str.OS_data:__d__d__d__d__s
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0x20
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
push edx
push str.System_up_time:__d_sec
push 0x4656cc
push 0x477a14
call fcn.00433950
mov eax, dword [0x4792e4]
add esp, 0x10
add eax, 0x238
cmp dword [eax + 0x14], 8
jb 0x42980e
mov eax, dword [eax]
test eax, eax
jne 0x429816
xor cl, cl
jmp 0x429823
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
test ax, ax
setne cl
test cl, cl
mov edx, 0x4668ac
mov eax, 0x4668a4
cmove eax, edx
push eax
push str.Reboot_pending:__s
push 0x4656cc
push 0x477a14
call fcn.00433950
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
call fcn.00436666
mov esp, ebp
pop ebp
ret

Function at 0x42a0b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], edx
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
mov esi, eax
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x42a134
push edi
lea edi, [eax + 1]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043694b
add esp, 4
mov esi, eax
push edi
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x510
push dword [ebp - 8]
push 0xffffffffffffffff
push esi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DrawTextW]
push esi
call fcn.004366b8
mov esi, dword [ebp - 4]
add esp, 4
pop edi
push esi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42aa40
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457f1b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x254
mov eax, dword [0x477070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
xor al, al
mov byte [ebp - 0x239], al
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
mov dword [ebp - 4], eax
xorps xmm0, xmm0
push dword [ecx + 0x1c]
movups xmmword [ebp - 0x260], xmm0
movups xmmword [ebp - 0x250], xmm0
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x240]
push eax
push 0
push 0
push 0x11
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov eax, dword [ebp - 0x240]
mov ecx, 0x4793b0
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x238]
push eax
push 0x208a
mov dword [ebp - 0x250], 0x41
call fcn.00419240
mov ecx, dword [0x4792e4]
lea eax, [ebp - 0x238]
cmp dword [ebp - 0x224], 8
push esi
cmovae eax, dword [ebp - 0x238]
lea ecx, [ecx + 4]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x24c], 0x429870
call fcn.004174a0
push eax
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.0043efc6
add esp, 0xc
lea eax, [ebp - 0x220]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
je 0x42aba8
lea ecx, [ebp - 0x220]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x220]
push eax
mov eax, dword [0x4792e4]
push esi
lea ecx, [eax + 4]
call fcn.004175d0
mov al, 1
mov byte [ebp - 0x239], al
jmp 0x42abae
mov al, byte [ebp - 0x239]
mov ecx, dword [ebp - 0x224]
cmp ecx, 8
jb 0x42abd2
inc ecx
push ecx
push dword [ebp - 0x238]
lea ecx, [ebp - 0x238]
call fcn.00405180
mov al, byte [ebp - 0x239]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00436666
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4