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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push edi
push 0x94
mov edi, eax
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.0043cdc0
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 0x94], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 6
lea edx, [edi + 0x10c]
jae 0x45d2bc
mov eax, str.ROOTSECURITYCENTER
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x45d2ab
jmp 0x45d2d2
mov eax, str.ROOTSECURITYCENTER2
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x45d2c3
push dword [ebp - 0x8c]
add edi, 8
push dword [ebp - 0x90]
push str._lu._lu
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
pop edi
leave
ret

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

Disassembly:
mov eax, 0x46fa26
call fcn.0046f35c
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push esi
push 0x4762f4
push 1
xor ebx, ebx
push ebx
push 0x4763c4
mov dword [esi], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x45d562
xor al, al
jmp 0x45d5eb
push edi
lea eax, [esi + 0x10c]
push eax
lea edi, [ebp - 0x10]
mov dword [esi + 4], ebx
call fcn.00403a15
mov dword [ebp - 4], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x45d582
mov edx, dword [eax]
jmp 0x45d584
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.00403a7c
pop edi
cmp dword [ebp - 0x14], ebx
jge 0x45d5b6
mov esi, dword [esi]
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x45d55b
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 0x45d5e9
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 0x45d55b
mov al, 1
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x45d636
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 0x45d66f
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 0x45d66b
cmp dword [ebp - 4], esi
je 0x45d66b
xor eax, eax
inc eax
jmp 0x45d694
xor eax, eax
jmp 0x45d694
mov eax, dword [esi + 4]
cmp eax, dword [esi + 0x118]
jb 0x45d67e
xor al, al
jmp 0x45d694
mov ecx, dword [esi]
push edi
add ecx, eax
push ecx
push dword [ebp + 8]
call fcn.0043c5f0
add esp, 0xc
add dword [esi + 4], edi
mov al, 1
pop esi
leave
ret 4
Function at 0x45e0ec
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, 0x478a9c
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x45e1e1
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 0x45e1e1
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 0x45e1e5
push 0x4000000
push ebx
push ebx
push ebx
push ebx
push str..VWIN32
call edi
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x45e1e1
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 0x45e1d8
test byte [ebp - 0x18], 1
jne 0x45e1d8
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 0x45e1d8
cmp dword [ebp - 0xc], ebx
jbe 0x45e1d8
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 0x45e1b8

Function at 0x45e78e
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 + 0x142], 0
pop ebx
ret
Function at 0x45ecb3
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 0x45ed35
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 0x45ed14
mov eax, 0x4852cc
push dword [eax]
push dword [ebx + esi]
call fcn.004393e9
pop ecx
pop ecx
test eax, eax
je 0x45ed07
inc edi
mov eax, edi
imul eax, eax, 0xc
lea eax, [eax + 0x4852cc]
cmp dword [eax], 0
jne 0x45ece4
jmp 0x45ed14
mov eax, edi
imul eax, eax, 0xc
mov eax, dword [eax + 0x4852c8]
mov dword [esi], eax
imul edi, edi, 0xc
cmp dword [edi + 0x4852cc], 0
jne 0x45ed2a
or dword [esi], 0xffffffff
mov dword [ebp - 4], 0x80020006
add esi, 4
dec dword [ebp - 8]
jne 0x45ecd5
pop edi
pop esi
pop ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x45ed62
cmp dword [ebp - 4], 0x80020006
jne 0x45edac
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 0x45edac
push 0x103
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call fcn.0043cdc0
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 0x45eebb
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 0x45ef57
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 0x45ef57
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.004647ae
pop ecx
test eax, eax
jne 0x45ef57
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x45ef57
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 0x45ef12
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 0x4602be
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, eax
push str.destroy_monitor
lea esi, [edi + 0x134]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
add edi, 0x138
push edi
call eax
pop ecx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
ret
push edi
mov edi, eax
push 0
push dword [edi + 0xf4]
mov dword [edi], vtable.CWizardSheet.0
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [edi + 0x143], 0
je 0x4602e3
call fcn.0045b1a6
mov eax, dword [edi + 8]
test eax, eax
je 0x4602f0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi + 0x11c]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DestroyWindow]
push esi
test eax, eax
je 0x46030c
push eax
call ebx
and dword [edi + 0x11c], 0
mov eax, dword [edi + 0x120]
test eax, eax
je 0x460320
push eax
call ebx
and dword [edi + 0x120], 0
mov eax, dword [edi + 0x128]
test eax, eax
je 0x460330
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi + 0x12c]
test eax, eax
je 0x460340
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.0045e6b3
mov eax, dword [edi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x460354
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [edi + 0xd8], ebx
jle 0x46037a
lea esi, [edi + 0xb0]
mov ecx, dword [esi]
test ecx, ecx
je 0x46036e
mov eax, dword [ecx]
push 1
call dword [eax]
inc ebx
add esi, 4
cmp ebx, dword [edi + 0xd8]
jl 0x460362
cmp byte [edi + 0x144], 0
pop esi
pop ebx
je 0x46038d
mov eax, edi
pop edi
jmp 0x45e634
pop edi
ret
Function at 0x460d28
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x470051
call fcn.0046f35c
sub esp, 0x130
push esi
push edi
push dword [ebp + 8]
xor esi, esi
lea edi, [ebp - 0x18]
mov dword [ebp - 0x10], esi
call fcn.00403415
mov dword [ebp - 4], esi
call fcn.004034c4
call fcn.0045ce39
or dword [ebp - 4], 0xffffffff
mov edi, eax
lea eax, [ebp - 0x18]
call fcn.00403469
cmp edi, esi
je 0x460e94
mov eax, str.gcsdk.dll
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], str.gcsdk_core.dll
mov dword [ebp - 0x24], str.rdpwatcher.dll
mov dword [ebp - 0x20], str.wpsapi.dll
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
mov edi, eax
mov eax, dword [ebx + 0x148]
lea ecx, [esi + eax + 0x101d0]
push ecx
lea ecx, [esi + eax + 0x101cc]
push ecx
add eax, 0xd7c5
push eax
push edi
call fcn.00469f18
push 0x103
lea eax, [ebp - 0x137]
push 0
push eax
mov byte [ebp - 0x138], 0
call fcn.0043cdc0
add esp, 0x1c
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x138]
push str._S_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x460e45
mov eax, dword [ebx + 0x148]
push 0
lea ecx, [ebp - 0x30]
push ecx
push dword [esi + eax + 0x101d0]
push dword [esi + eax + 0x101cc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x460e3e
and dword [ebp - 0x10], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0x148]
lea ecx, [ebp - 0x138]
lea edx, [esi + eax + 0x102d8]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x460e58
mov eax, dword [ebx + 0x148]
push dword [esi + eax + 0x101cc]
add eax, 0xd7c5
push eax
call fcn.00465337
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + eax*4 - 0x2c]
pop ecx
add esi, 0x210
pop ecx
test edi, edi
jne 0x460d99
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret 4
Function at 0x462a97
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4700d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push esi
push edi
call fcn.00464e0b
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.0043cdc0
mov eax, dword [edi]
add esp, 0xc
cmp eax, esi
jne 0x462ae8
mov eax, 0x4775dc
push eax
lea eax, [esp + 0x6c]
push 0x4795a0
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], 0x462693
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.004378e5
pop ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x27c], esi
cmp eax, esi
je 0x462bfe
lea ecx, [esp + 0xc]
push ecx
push dword [ebx + 0x120]
mov edi, ebx
mov esi, eax
call fcn.0046394a
mov esi, eax
or dword [esp + 0x27c], 0xffffffff
mov dword [ebx + 0x12c], esi
call fcn.0046c963
mov ecx, dword [ebx + 0x12c]
mov eax, dword [ecx]
xor esi, esi
push esi
push 1
call dword [eax + 0x30]
push dword [ebp + 0xc]
mov eax, dword [ebx + 0x12c]
push dword [ebp + 8]
call fcn.0046d26c
mov eax, dword [ebx + 0x12c]
call fcn.004638b0
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 0x462d4c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4700ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
push ebx
push esi
push edi
push 0
mov ebx, ecx
mov edi, dword [ebx + 0x148]
push 0
push 0x11
call fcn.0046b2cd
mov ecx, dword [ebx + 0x148]
lea eax, [ecx + 0x10b0b]
add esp, 0xc
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x462d91
sub eax, esi
je 0x462db5
lea eax, [ecx + 0x10a0c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x462da5
sub eax, edx
je 0x462db5
call fcn.004626f4
mov eax, dword [ebx + 0xf4]
mov dword [0x49ac1c], eax
mov eax, dword [ebx + 0x148]
test byte [eax + 0xaf68], 1
je 0x462dd9
mov dword [0x49ac20], 1
mov eax, dword [ebx + 0x148]
test byte [eax + 0xaf68], 2
je 0x462df2
mov dword [0x49ac20], 2
push 0x928
call fcn.004378e5
mov esi, eax
pop ecx
mov dword [esp + 0xc], esi
and dword [esp + 0x1c], 0
test esi, esi
je 0x462e2b
mov ecx, dword [0x49ac20]
mov eax, dword [ebx + 0x148]
push esi
mov dword [esi + 0x924], ecx
call fcn.0046512a
call fcn.00466ad3
jmp 0x462e2d
xor esi, esi
or dword [esp + 0x1c], 0xffffffff
call fcn.00468645
push esi
call fcn.00464549
mov edi, 0x49a8f8
mov edx, edi
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x462e48
lea eax, [esi + 0x208]
mov edx, 0x49ab00
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x462e64
lea eax, [esi + 0x410]
mov edx, 0x49ac04
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x462e7b
test esi, esi
je 0x462e95
push esi
call fcn.004378da
pop ecx
xor eax, eax
push eax
push eax
push edi
push 0x460d00
push eax
push eax
call fcn.00439731
mov ecx, dword [esp + 0x2c]
add esp, 0x18
pop edi
mov byte [ebx + 0xd], 1
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463bc0
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 0x463be8
mov eax, dword [ebp + 8]
mov edi, dword [eax - 0x38]
call fcn.0045e890
xor eax, eax
jmp 0x463d2e
xor edi, edi
xor eax, eax
cmp edx, 0x10f
jne 0x463ccc
push ebx
push 0xfe
mov word [ebp - 0x13c], ax
lea eax, [ebp - 0x13a]
push edi
push eax
call fcn.0043cdc0
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.0043cdc0
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 0x478ba8
push eax
call fcn.00450cad
add esp, 0xc
pop ebx
test eax, eax
jne 0x463c91
lea eax, [ebp - 0x13c]
push str..valueactive.
push eax
call fcn.004395a9
pop ecx
pop ecx
test eax, eax
je 0x463c91
mov eax, dword [esi]
mov eax, dword [eax + 8]
xor ecx, ecx
mov word [eax], cx
jmp 0x463be1
mov esi, dword [ebp + 8]
mov byte [esi + 0x11], 1
cmp dword [esi - 0x18], edi
je 0x463ca6
mov eax, dword [esi - 0x38]
push edi
call fcn.0045f0c4
mov esi, dword [esi - 0x38]
cmp dword [esi + 0x14c], edi
je 0x463be1
push edi
push edi
mov edi, dword [esi + 0x148]
push 5
call fcn.0046b2cd
add esp, 0xc
jmp 0x463be1
mov ecx, 0x497940
cmp dword [ecx], edi
je 0x463cfe
cmp edx, dword [ecx - 8]
je 0x463ce0
inc eax
add ecx, 0x10
jmp 0x463cd1
push dword [ebp + 0x20]
mov edx, dword [ebp + 8]
push dword [ebp + 0x1c]
shl eax, 4
mov ecx, dword [eax + 0x497944]
lea ecx, [ecx + edx - 0x3c]
call dword [eax + 0x497940]
jmp 0x463d2e
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 0x464081
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
xor ebx, ebx
lea eax, [ebp - 0x20]
push eax
push 0x478a9c
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov esi, 0x96
push esi
mov dword [ebp - 4], eax
call fcn.00438be5
push esi
mov edi, eax
push ebx
push edi
call fcn.0043cdc0
add esp, 0x10
cmp dword [ebp - 4], ebx
je 0x464114
push 0x3f
lea eax, [ebp - 0x5f]
push ebx
push eax
mov byte [ebp - 0x60], bl
call fcn.0043cdc0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
shrd eax, ecx, 0x14
shr ecx, 0x14
push ecx
push eax
lea eax, [ebp - 0x60]
push str._I64d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x95
lea eax, [ebp - 0x60]
push eax
push edi
call fcn.00438ab0
add esp, 0x28
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46411b
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.0043cdc0
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push str.bresume.exe
push dword [ebp + 8]
mov ebx, str._s_s
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 0x4641dd
Capabilities:
Copy file
Get file attributes
Set file attributes

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.0043cdc0
xor eax, eax
push edi
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push esi
push eax
call fcn.0043cdc0
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, str._s_s
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 0x4642f4
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
test eax, eax
lea eax, [ebp - 0x208]
push eax
setne bl
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x46434e
xor eax, 1
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4

Function at 0x464357
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.0043cdc0
mov eax, dword [ebp + 8]
add eax, 0x9f6
push eax
lea eax, [ebp - 0x108]
push 0x477764
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 [0x49a8cc]
push dword [eax + 0x1220]
push dword [eax + 0x121c]
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