joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458f5a
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 0x458fdc
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 0x458fbb
mov eax, 0x47be3c
push dword [eax]
push dword [ebx + esi]
call fcn.004370c9
pop ecx
pop ecx
test eax, eax
je 0x458fae
inc edi
mov eax, edi
imul eax, eax, 0xc
lea eax, [eax + 0x47be3c]
cmp dword [eax], 0
jne 0x458f8b
jmp 0x458fbb
mov eax, edi
imul eax, eax, 0xc
mov eax, dword [eax + 0x47be38]
mov dword [esi], eax
imul edi, edi, 0xc
cmp dword [edi + 0x47be3c], 0
jne 0x458fd1
or dword [esi], 0xffffffff
mov dword [ebp - 4], 0x80020006
add esi, 4
dec dword [ebp - 8]
jne 0x458f7c
pop edi
pop esi
pop ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x459009
cmp dword [ebp - 4], 0x80020006
jne 0x459053
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 0x459053
push 0x103
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call fcn.0043afd0
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 0x459162
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 0x4591fe
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 0x4591fe
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.0045ea6f
pop ecx
test eax, eax
jne 0x4591fe
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x4591fe
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 0x4591b9
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 0x45a565
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 0x45a58a
call fcn.0045544d
mov eax, dword [edi + 8]
test eax, eax
je 0x45a597
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 0x45a5b3
push eax
call ebx
and dword [edi + 0x11c], 0
mov eax, dword [edi + 0x120]
test eax, eax
je 0x45a5c7
push eax
call ebx
and dword [edi + 0x120], 0
mov eax, dword [edi + 0x128]
test eax, eax
je 0x45a5d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi + 0x12c]
test eax, eax
je 0x45a5e7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.0045895a
mov eax, dword [edi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x45a5fb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [edi + 0xd8], ebx
jle 0x45a621
lea esi, [edi + 0xb0]
mov ecx, dword [esi]
test ecx, ecx
je 0x45a615
mov eax, dword [ecx]
push 1
call dword [eax]
inc ebx
add esi, 4
cmp ebx, dword [edi + 0xd8]
jl 0x45a609
cmp byte [edi + 0x144], 0
pop esi
pop ebx
je 0x45a634
mov eax, edi
pop edi
jmp 0x4588db
pop edi
ret
Function at 0x45b131
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4695db
call fcn.0046897c
sub esp, 0x138
push ebx
push esi
push edi
push dword [ebp + 0xc]
xor ebx, ebx
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
call fcn.004018b8
mov dword [ebp - 4], ebx
call fcn.00401967
call fcn.004570e0
or dword [ebp - 4], 0xffffffff
mov esi, eax
mov eax, edi
call fcn.0040190c
cmp esi, ebx
je 0x45b2ab
mov eax, str.gcsdk.dll
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], str.gcsdk_core.dll
mov dword [ebp - 0x2c], str.rdpwatcher.dll
mov dword [ebp - 0x28], str.wpsapi.dll
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], eax
xor esi, esi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x148]
lea ecx, [esi + eax + 0xffce]
push ecx
lea ecx, [esi + eax + 0xffca]
push ecx
add eax, 0xd5c3
push eax
push dword [ebp - 0x14]
call fcn.0046422b
push 0x103
lea eax, [ebp - 0x143]
push ebx
push eax
mov byte [ebp - 0x144], bl
call fcn.0043afd0
add esp, 0x1c
push dword [ebp - 0x14]
lea eax, [ebp - 0x144]
push dword [ebp + 0xc]
push str._S_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x45b258
mov eax, dword [edi + 0x148]
push ebx
lea ecx, [ebp - 0x38]
push ecx
push dword [eax + esi + 0xffce]
push dword [eax + esi + 0xffca]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x45b24f
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x148]
lea ecx, [ebp - 0x144]
lea edx, [eax + esi + 0x100d6]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x45b26b
mov edi, dword [edi + 0x148]
push dword [esi + edi + 0xffca]
add edi, 0xd5c3
push edi
call fcn.0045f5d6
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x34]
pop ecx
add esi, 0x210
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x45b1a5
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x45cd58
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x469663
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push esi
push edi
call fcn.0045f0aa
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.0043afd0
mov eax, dword [edi]
add esp, 0xc
cmp eax, esi
jne 0x45cda9
mov eax, 0x46bcfc
push eax
lea eax, [esp + 0x6c]
push 0x471950
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], 0x45c954
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.0043609d
pop ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x27c], esi
cmp eax, esi
je 0x45cebf
lea ecx, [esp + 0xc]
push ecx
push dword [ebx + 0x120]
mov edi, ebx
mov esi, eax
call fcn.0045dc0b
mov esi, eax
or dword [esp + 0x27c], 0xffffffff
mov dword [ebx + 0x12c], esi
call fcn.00466a9d
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.004673a6
mov eax, dword [ebx + 0x12c]
call fcn.0045db71
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 0x45d00d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x469677
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.0046425f
mov ecx, dword [ebx + 0x148]
lea eax, [ecx + 0x10909]
add esp, 0xc
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x45d052
sub eax, esi
je 0x45d076
lea eax, [ecx + 0x1080a]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45d066
sub eax, edx
je 0x45d076
call fcn.0045c9b5
mov eax, dword [ebx + 0xf4]
mov dword [0x491274], eax
mov eax, dword [ebx + 0x148]
test byte [eax + 0xad66], 1
je 0x45d09a
mov dword [0x491278], 1
mov eax, dword [ebx + 0x148]
test byte [eax + 0xad66], 2
je 0x45d0b3
mov dword [0x491278], 2
push 0x928
call fcn.0043609d
mov esi, eax
pop ecx
mov dword [esp + 0xc], esi
and dword [esp + 0x1c], 0
test esi, esi
je 0x45d0ec
mov ecx, dword [0x491278]
mov eax, dword [ebx + 0x148]
push esi
mov dword [esi + 0x924], ecx
call fcn.0045f3c9
call fcn.00460d72
jmp 0x45d0ee
xor esi, esi
or dword [esp + 0x1c], 0xffffffff
call fcn.004628e4
push esi
call fcn.0045e80a
mov edi, 0x490f50
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 0x45d109
lea eax, [esi + 0x208]
mov edx, 0x491158
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x45d125
lea eax, [esi + 0x410]
mov edx, 0x49125c
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x45d13c
test esi, esi
je 0x45d156
push esi
call fcn.00436059
pop ecx
xor eax, eax
push eax
push eax
push edi
push 0x45afa7
push eax
push eax
call fcn.00437411
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 0x45de81
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 0x45dea9
mov eax, dword [ebp + 8]
mov edi, dword [eax - 0x38]
call fcn.00458b37
xor eax, eax
jmp 0x45dfef
xor edi, edi
xor eax, eax
cmp edx, 0x10f
jne 0x45df8d
push ebx
push 0xfe
mov word [ebp - 0x13c], ax
lea eax, [ebp - 0x13a]
push edi
push eax
call fcn.0043afd0
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.0043afd0
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 0x470f58
push eax
call fcn.0044a949
add esp, 0xc
pop ebx
test eax, eax
jne 0x45df52
lea eax, [ebp - 0x13c]
push str..valueactive.
push eax
call fcn.00437289
pop ecx
pop ecx
test eax, eax
je 0x45df52
mov eax, dword [esi]
mov eax, dword [eax + 8]
xor ecx, ecx
mov word [eax], cx
jmp 0x45dea2
mov esi, dword [ebp + 8]
mov byte [esi + 0x11], 1
cmp dword [esi - 0x18], edi
je 0x45df67
mov eax, dword [esi - 0x38]
push edi
call fcn.0045936b
mov esi, dword [esi - 0x38]
cmp dword [esi + 0x14c], edi
je 0x45dea2
push edi
push edi
mov edi, dword [esi + 0x148]
push 5
call fcn.0046425f
add esp, 0xc
jmp 0x45dea2
mov ecx, 0x48d8a8
cmp dword [ecx], edi
je 0x45dfbf
cmp edx, dword [ecx - 8]
je 0x45dfa1
inc eax
add ecx, 0x10
jmp 0x45df92
push dword [ebp + 0x20]
mov edx, dword [ebp + 8]
push dword [ebp + 0x1c]
shl eax, 4
mov ecx, dword [eax + 0x48d8ac]
lea ecx, [ecx + edx - 0x3c]
call dword [eax + 0x48d8a8]
jmp 0x45dfef
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 0x45e342
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 0x470e6c
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.00436ae5
push esi
mov edi, eax
push ebx
push edi
call fcn.0043afd0
add esp, 0x10
cmp dword [ebp - 4], ebx
je 0x45e3d5
push 0x3f
lea eax, [ebp - 0x5f]
push ebx
push eax
mov byte [ebp - 0x60], bl
call fcn.0043afd0
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.004369b0
add esp, 0x28
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45e3dc
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.0043afd0
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 0x45e49e
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.0043afd0
xor eax, eax
push edi
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push esi
push eax
call fcn.0043afd0
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 0x45e5b5
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 0x45e60f
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 0x45e618
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.0043afd0
mov eax, dword [ebp + 8]
add eax, 0x9f6
push eax
lea eax, [ebp - 0x108]
push 0x46fb88
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 [0x490f2c]
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
Function at 0x45e6a6
Capabilities:
Create directory
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.0043afd0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x18]
call fcn.00456dc2
add esp, 0x14
test eax, eax
je 0x45e7ef
lea eax, [ebp + 0x18]
push eax
push 0x46c320
push 1
push ebx
push 0x46c4a0
mov dword [ebp + 0x18], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x45e7f2
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push 0x46c3f0
push eax
call dword [ecx]
mov esi, eax
cmp esi, ebx
jl 0x45e7e4
mov eax, dword [ebp + 0x18]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov ecx, dword [ebp + 0x1c]
cmp dword [ebp + 0x1c], ebx
jne 0x45e74d
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
push ebx
push ecx
push eax
call dword [edx + 0x44]
mov esi, eax
cmp esi, ebx
jl 0x45e7db
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [ebp + 0x14], ebx
je 0x45e775
push dword [ebp + 0x14]
lea eax, [ebp - 0x20c]
push eax
call esi
push edi
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
call esi
lea edi, [ebp - 0x20c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x45e799
mov eax, dword [ebp - 4]
mov esi, 0x470824
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
lea edx, [ebp - 0x20c]
push edx
movsw word es:[edi], word [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
push ebx
mov esi, eax
lea eax, [ebp - 0x20c]
push eax
push 0x3001
push 0x2000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop edi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x45e7f2
mov esi, dword [ebp + 0x1c]
mov eax, esi
pop esi
pop ebx
leave
ret 0x18
Function at 0x45e80a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
push esi
push edi
push 0x40
xor esi, esi
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.0043afd0
xor eax, eax
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
push 0x206
mov word [ebp - 0x264], ax
lea eax, [ebp - 0x262]
push esi
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.0043afd0
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x264]
add esp, 0x18
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x45e85e
push str.mgslaunch.exe__unregister
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x264]
push esi
push 0x20
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x45e8b0
push 0x1388
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
leave
ret 4

Function at 0x45e8da
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push eax
call fcn.0043afd0
xor eax, eax
push esi
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.0043afd0
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 0x10]
call fcn.00456dc2
add esp, 0x20
test eax, eax
je 0x45e9ab
cmp dword [ebp + 0xc], 0
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
je 0x45e95f
push dword [ebp + 0xc]
lea eax, [ebp - 0x208]
push eax
call esi
xor eax, eax
movzx ecx, word [ebp + eax - 0x208]
mov word [ebp + eax - 0x410], cx
add eax, 2
test cx, cx
jne 0x45e947
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call esi
lea edi, [ebp - 0x208]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x45e975
mov esi, 0x470824
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x208]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0xc], 0
pop edi
je 0x45e9ab
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop esi
leave
ret