joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456300
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push esi
push edi
mov edi, 0x94
push edi
mov esi, eax
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.004384e0
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 0x94], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 6
lea edx, [esi + 0xc]
jae 0x45635b
mov eax, 0x46e594
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x45634a
jmp 0x456371
mov eax, str.ROOTSECURITYCENTER2
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x456362
mov esi, 0x208
push esi
call fcn.00433bd9
push esi
mov edi, eax
push 0
push edi
call fcn.004384e0
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push str.WV__lu._lu_
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x4565d9
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x46607a
call fcn.00465a14
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push esi
push 0x46b808
push 1
xor ebx, ebx
push ebx
push 0x46b8d8
mov dword [esi], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x45660c
xor al, al
jmp 0x456692
push edi
lea eax, [esi + 0xc]
push eax
lea edi, [ebp - 0x10]
mov dword [esi + 4], ebx
call fcn.00401701
mov dword [ebp - 4], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x456629
mov edx, dword [eax]
jmp 0x45662b
xor edx, edx
mov eax, dword [esi]
mov edi, dword [eax]
lea ecx, [esi + 4]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
push eax
call dword [edi + 0xc]
or dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.00401768
pop edi
cmp dword [ebp - 0x14], ebx
jge 0x45665d
mov esi, dword [esi]
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x456605
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [esi + 4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x456690
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esi]
mov eax, dword [esi]
push esi
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x456605
mov al, 1
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4566d1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 0x114]
cmp eax, 0xffffffff
je 0x45670a
xor esi, esi
push esi
lea ecx, [ebp - 4]
push ecx
push edi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x456706
cmp dword [ebp - 4], esi
je 0x456706
xor eax, eax
inc eax
jmp 0x45672f
xor eax, eax
jmp 0x45672f
mov eax, dword [esi + 4]
cmp eax, dword [esi + 0x118]
jb 0x456719
xor al, al
jmp 0x45672f
mov ecx, dword [esi]
push edi
add ecx, eax
push ecx
push dword [ebp + 8]
call fcn.004379a0
add esp, 0xc
add dword [esi + 4], edi
mov al, 1
pop esi
leave
ret 4
Function at 0x456ee5
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push edi
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x46e4a4
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x456fda
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x456fda
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push ebx
push 3
push ebx
push 2
push ebx
push str..C:
call edi
mov dword [ebp - 4], eax
push ebx
cmp eax, 0xffffffff
jne 0x456fde
push 0x4000000
push ebx
push ebx
push ebx
push ebx
push str..VWIN32
call edi
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x456fda
push ebx
lea ecx, [ebp - 0xc]
push ecx
push 0x1c
lea ecx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x58]
mov dword [ebp - 0x2c], eax
push 0x1c
xor eax, eax
inc eax
push ecx
push eax
push dword [ebp - 4]
mov byte [ebp - 0x58], bl
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x28], 0x860
mov dword [ebp - 0x24], 0x440d
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x456fd1
test byte [ebp - 0x18], 1
jne 0x456fd1
movzx edx, word [ebp - 0x44]
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movzx eax, word [ebp - 0x51]
mov ecx, edx
mov edi, eax
not ecx
shl edi, 2
xor edi, ecx
mov ecx, dword [ebp - 8]
xor edi, ecx
shl edx, 2
not eax
not ecx
xor edx, eax
xor edx, ecx
mov dword [esi + 4], edx
mov dword [esi], edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
leave
ret
lea ecx, [ebp - 0xc]
push ecx
push 0x18
lea ecx, [ebp - 0x30]
push ecx
push ebx
push ebx
push 0x70000
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x456fd1
cmp dword [ebp - 0xc], ebx
jbe 0x456fd1
mov edx, dword [ebp - 0x20]
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1c]
jmp 0x456fb1
Function at 0x4576fa
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.advapi32.dll
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.GetSecurityInfo
push esi
mov dword [ebp - 0x24], esi
call edi
push str.SetSecurityInfo
push esi
mov dword [ebp - 0xc], eax
call edi
push str.SetEntriesInAclA
push esi
mov dword [ebp - 0x18], eax
call edi
push str.AllocateAndInitializeSid
push esi
mov dword [ebp - 0x14], eax
call edi
mov edi, eax
cmp dword [ebp - 0xc], ebx
je 0x45786e
cmp dword [ebp - 0x18], ebx
je 0x45786e
cmp dword [ebp - 0x14], ebx
je 0x45786e
cmp edi, ebx
je 0x45786e
push ebx
push 0x2000000
push 3
push ebx
push ebx
push 0x60000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
je 0x45786e
lea ecx, [ebp - 0x1c]
push ecx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push ebx
push 4
xor esi, esi
inc esi
push esi
push eax
mov dword [ebp - 0x1c], ebx
call dword [ebp - 0xc]
cmp dword [ebp - 8], ebx
jne 0x4577c0
cmp dword [ebp - 0x10], ebx
jne 0x457848
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x221
push 0x20
push 2
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x28], 0x500
call edi
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x4c]
push eax
push esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], 0x10000000
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x38], ebx
mov dword [ebp - 8], ebx
call dword [ebp - 0x14]
cmp dword [ebp - 8], ebx
je 0x457836
push ebx
push dword [ebp - 8]
push ebx
push ebx
push 4
push esi
push dword [ebp - 0x20]
call dword [ebp - 0x18]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
call edi
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x457878
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4579d3
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 5
push dword [esi + 0xf4]
call ebx
push 1
push dword [esi + 0xf4]
call ebx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [esi + 0x100]
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
pop edi
mov byte [esi + 0x13e], 0
pop ebx
ret
Function at 0x457df9
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
test eax, eax
je 0x457e7b
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x1c]
push edi
sub ebx, esi
mov dword [ebp - 8], eax
xor edi, edi
cmp dword [str.AcceptEULA], edi
je 0x457e5a
mov eax, 0x478cec
push dword [eax]
push dword [ebx + esi]
call fcn.00434720
pop ecx
pop ecx
test eax, eax
je 0x457e4d
inc edi
mov eax, edi
imul eax, eax, 0xc
lea eax, [eax + 0x478cec]
cmp dword [eax], 0
jne 0x457e2a
jmp 0x457e5a
mov eax, edi
imul eax, eax, 0xc
mov eax, dword [eax + 0x478ce8]
mov dword [esi], eax
imul edi, edi, 0xc
cmp dword [edi + 0x478cec], 0
jne 0x457e70
or dword [esi], 0xffffffff
mov dword [ebp - 4], 0x80020006
add esi, 4
dec dword [ebp - 8]
jne 0x457e1b
pop edi
pop esi
pop ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x457ea8
cmp dword [ebp - 4], 0x80020006
jne 0x457ef2
push dword [ebp + 0x1c]
mov eax, dword [eax + 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x14]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x80020006
jne 0x457ef2
push 0x103
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call fcn.004384e0
mov eax, dword [ebp + 0x10]
push dword [eax]
lea eax, [ebp - 0x10c]
push str.Failed_to_resolve__S_as_a_window.external_method_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
leave
ret 0x18

Function at 0x457ff8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [ebp + 8], 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push edi
jne 0x458094
push 0
push dword [esi + 0xe8]
call ebx
mov ecx, dword [esi + 0xb0]
mov eax, dword [ecx]
push 1
call dword [eax + 0x2c]
mov eax, dword [esi + 0xb0]
mov dword [eax + 0x24], 1
mov ecx, dword [esi + 0xb0]
mov eax, dword [ecx]
call dword [eax + 0x18]
push 5
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x458094
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [ebp - 0x1c]
push eax
call fcn.0045d137
pop ecx
test eax, eax
jne 0x458094
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x458094
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [esi + 0xe0], 0
jge 0x45804f
push 0
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 1
push dword [esi + 0xe8]
call ebx
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x10c]
pop edi
pop ebx
leave
ret 4
Function at 0x458e57
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x466295
call fcn.00465a14
sub esp, 0x124
push esi
push edi
push 0x1414
call fcn.00433bd9
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
xor eax, eax
mov dword [ebp - 4], eax
cmp esi, eax
je 0x458e94
mov eax, dword [ebx + 0x140]
push dword [eax + 0x9066]
push eax
call fcn.0045e594
or dword [ebp - 4], 0xffffffff
add eax, 0xef2
push eax
lea edi, [ebp - 0x20]
mov dword [ebp - 0x14], eax
call fcn.004011df
mov dword [ebp - 4], 1
call fcn.0040128e
call fcn.00455efc
mov eax, edi
call fcn.00401233
xor esi, esi
push 0x103
xor edi, edi
lea eax, [ebp - 0x12b]
push edi
push eax
mov byte [ebp - 0x12c], 0
call fcn.004384e0
mov eax, dword [ebx + 0x140]
add esp, 0xc
lea eax, [eax + esi + 0xd8d4]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x12c]
push str._S_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov edi, eax
mov eax, dword [ebx + 0x140]
lea ecx, [ebp - 0x18]
push ecx
push dword [eax + esi + 0xd8d0]
push dword [eax + esi + 0xd8cc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebx + 0x140]
lea eax, [ebp - 0x12c]
lea edi, [ecx + esi + 0xd9d8]
mov cl, byte [eax]
inc eax
mov byte [edi], cl
inc edi
test cl, cl
jne 0x458f60
add esi, 0x210
cmp esi, 0x630
jl 0x458ec3
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x459014
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ebx + 0xf4]
mov dword [ebx], vtable.CWizardSheet.0
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebx + 0x13f], 0
je 0x459036
call fcn.00454189
mov eax, dword [ebx + 8]
test eax, eax
je 0x459043
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx + 0x11c]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x45905f
push eax
call edi
and dword [ebx + 0x11c], 0
mov eax, dword [ebx + 0x120]
test eax, eax
je 0x459073
push eax
call edi
and dword [ebx + 0x120], 0
mov eax, dword [ebx + 0x124]
test eax, eax
je 0x459083
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx + 0x128]
test eax, eax
je 0x459093
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx + 4]
test eax, eax
je 0x4590a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor edi, edi
cmp dword [ebx + 0xd8], edi
jle 0x4590c8
lea esi, [ebx + 0xb0]
mov ecx, dword [esi]
test ecx, ecx
je 0x4590bc
mov eax, dword [ecx]
push 1
call dword [eax]
inc edi
add esi, 4
cmp edi, dword [ebx + 0xd8]
jl 0x4590b0
mov esi, dword [ebx + 0x140]
add esi, 0xb7d5
push 5
mov edi, str.none
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4590e9
mov esi, ebx
call fcn.0045787d
pop edi
pop esi
ret
Function at 0x45b77c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4667b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push esi
push edi
call fcn.0045d7fd
mov edi, eax
xor eax, eax
push 0x206
mov word [esp + 0x6c], ax
xor esi, esi
lea eax, [esp + 0x6e]
push esi
push eax
call fcn.004384e0
mov eax, dword [edi]
add esp, 0xc
cmp eax, esi
jne 0x45b7cd
mov eax, 0x46c538
push eax
lea eax, [esp + 0x6c]
push 0x46e178
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 9
pop ecx
xor eax, eax
mov dword [esp + 0x30], esi
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0xf0]
push 0x69
push eax
mov dword [esp + 0x3c], 0x45b4f6
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push esi
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x58], str.ChatWindow
call dword [sym.imp.USER32.dll_RegisterClassW]
xor eax, eax
mov dword [esp + 0x58], esi
lea edi, [esp + 0x5c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x58]
push eax
push dword [ebx + 0xf4]
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
push esi
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0x190
mov dword [esp + 0x24], 0x15e
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub ecx, dword [esp + 0x10]
sub eax, dword [esp + 0xc]
push ebx
push dword [ebx + 0xf0]
push esi
push dword [ebx + 0xf4]
push ecx
push eax
push esi
push esi
push 0xc80000
lea eax, [esp + 0x8c]
push eax
push str.ChatWindow
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x4c
mov dword [ebx + 0x120], eax
call fcn.00433bd9
pop ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x27c], esi
cmp eax, esi
je 0x45b8e3
lea ecx, [esp + 0xc]
push ecx
push dword [ebx + 0x120]
mov edi, ebx
mov esi, eax
call fcn.0045c414
mov esi, eax
or dword [esp + 0x27c], 0xffffffff
mov dword [ebx + 0x128], esi
call fcn.00464a28
mov ecx, dword [ebx + 0x128]
mov eax, dword [ecx]
xor esi, esi
push esi
push 1
call dword [eax + 0x30]
push dword [ebp + 0xc]
mov eax, dword [ebx + 0x128]
push dword [ebp + 8]
call fcn.00465330
mov eax, dword [ebx + 0x128]
call fcn.0045c37a
xor eax, eax
mov dword [esp + 0x1c], esi
lea edi, [esp + 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 0xf4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x20]
push 1
push esi
push esi
add eax, 0x14
push eax
mov eax, dword [esp + 0x2c]
add eax, 0x14
push eax
push 0xffffffffffffffff
push dword [ebx + 0x120]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [ebx + 0x120]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x274]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x45c68a
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x13c
push esi
push edi
cmp edx, 0x103
jne 0x45c6b2
mov eax, dword [ebp + 8]
mov edi, dword [eax - 0x38]
call fcn.00457ad5
xor eax, eax
jmp 0x45c7f8
xor edi, edi
xor eax, eax
cmp edx, 0x10f
jne 0x45c796
push ebx
push 0xfe
mov word [ebp - 0x13c], ax
lea eax, [ebp - 0x13a]
push edi
push eax
call fcn.004384e0
mov esi, dword [ebp + 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax + 8]
push 0x38
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.004384e0
add esp, 0x18
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
push edi
push edi
push ebx
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x28], 0x7f
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
push 3
lea eax, [ebp - 0x13c]
push 0x46d8c8
push eax
call fcn.00447a39
add esp, 0xc
pop ebx
test eax, eax
jne 0x45c75b
lea eax, [ebp - 0x13c]
push str..valueactive.
push eax
call fcn.004347ab
pop ecx
pop ecx
test eax, eax
je 0x45c75b
mov eax, dword [esi]
mov eax, dword [eax + 8]
xor ecx, ecx
mov word [eax], cx
jmp 0x45c6ab
mov esi, dword [ebp + 8]
mov byte [esi + 0x11], 1
cmp dword [esi - 0x18], edi
je 0x45c770
mov eax, dword [esi - 0x38]
push edi
call fcn.00458201
mov esi, dword [esi - 0x38]
cmp dword [esi + 0x144], edi
je 0x45c6ab
push edi
push edi
push dword [esi + 0x140]
push 5
call fcn.00461c88
add esp, 0x10
jmp 0x45c6ab
mov ecx, 0x4871d8
cmp dword [ecx], edi
je 0x45c7c8
cmp edx, dword [ecx - 8]
je 0x45c7aa
inc eax
add ecx, 0x10
jmp 0x45c79b
push dword [ebp + 0x20]
mov edx, dword [ebp + 8]
push dword [ebp + 0x1c]
shl eax, 4
mov ecx, dword [eax + 0x4871dc]
lea ecx, [ecx + edx - 0x3c]
call dword [eax + 0x4871d8]
jmp 0x45c7f8
push dword [ebp + 0x28]
mov eax, dword [ebp + 8]
push dword [ebp + 0x24]
mov eax, dword [eax - 0x38]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edx
push eax
call dword [ecx + 0x18]
mov ecx, eax
lea eax, [ecx + 0x7ffdfffd]
neg eax
sbb eax, eax
and eax, ecx
pop edi
pop esi
leave
ret 0x24

Function at 0x45cb66
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.004384e0
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push str.bresume.exe
push dword [ebp + 8]
mov ebx, 0x46d6c0
lea eax, [ebp - 0x208]
push ebx
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x1c
lea eax, [ebp - 0x208]
push eax
call edi
push str.dresume.exe
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call edi
push str.tresume.exe
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call edi
push str.sresume.exe
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45cc28
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x410], ax
xor esi, esi
lea eax, [ebp - 0x40e]
push esi
push eax
call fcn.004384e0
xor eax, eax
push edi
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push esi
push eax
call fcn.004384e0
add esp, 0x18
push 0x104
lea eax, [ebp - 0x410]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
add eax, 0xef2
push str.bresume.exe
push eax
mov dword [ebp + 8], eax
mov ebx, 0x46d6c0
lea eax, [ebp - 0x208]
push ebx
push eax
call edi
add esp, 0x10
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call esi
push str.dresume.exe
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push ebx
push eax
call edi
add esp, 0x10
push 0
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call esi
push str.tresume.exe
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push ebx
push eax
call edi
add esp, 0x10
push 0
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call esi
push str.sresume.exe
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push ebx
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x208]
push 0
push eax
lea eax, [ebp - 0x410]
push eax
call esi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x208]
sub eax, ecx
movzx edx, word [ecx]
mov word [eax + ecx], dx
add ecx, 2
test dx, dx
jne 0x45cd3f
push str.install.exe
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call esi
pop edi
test eax, eax
pop esi
setne al
pop ebx
leave
ret 4

Function at 0x45cd7e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x107]
push ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp - 0x108], bl
call fcn.004384e0
mov eax, dword [ebp + 8]
add eax, 0x9f6
push eax
lea eax, [ebp - 0x108]
push 0x46c6dc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push ebx
lea eax, [ebp - 4]
push eax
mov eax, dword [0x48a86c]
push dword [eax + 0xe20]
push dword [eax + 0xe1c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
leave
ret 4