joyce8/EMBER2024-capa huggingface dataset:
Function at 0x71a0d257
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0x2001f
push 0
push 0x71a05548
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x71a0d280
xor eax, eax
leave
ret
push ebx
push esi
push edi
push 1
pop edi
lea eax, [ebp - 4]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 8]
lea eax, [ebp - 8]
mov ebx, 0x104
mov dword [ebp - 8], edi
push eax
push 0
push 0x71a0553c
mov dword [ebp - 4], ebx
push dword [ebp - 0xc]
call esi
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 8]
push dword [ebp + 0xc]
mov dword [ebp - 8], edi
push eax
push 0
push 0x71a05530
push dword [ebp - 0xc]
call esi
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 8]
push dword [ebp + 0x10]
mov dword [ebp - 8], edi
push eax
push 0
push 0x71a05524
push dword [ebp - 0xc]
call esi
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 8]
push dword [ebp + 0x14]
mov dword [ebp - 8], edi
push eax
push 0
push 0x71a05518
push dword [ebp - 0xc]
call esi
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 8]
push dword [ebp + 0x18]
mov dword [ebp - 8], edi
push eax
push 0
push 0x71a0550c
push dword [ebp - 0xc]
call esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x71a0d346
Capabilities:
Delete registry key
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push ebx
push edi
push 0x7f
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x407]
mov byte [ebp - 0x408], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
mov byte [ebp - 0x104], bl
cmp dword [ebp + 8], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
je 0x71a0d395
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x104]
push 0x2f
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
pop ecx
cmp eax, ebx
pop ecx
je 0x71a0d45e
mov byte [eax + 1], bl
lea eax, [ebp - 0x104]
push 0x71a01698
push eax
call sub.MSVCRT.dll_strcat
pop ecx
lea eax, [ebp - 0x104]
pop ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x200
lea eax, [ebp - 0x408]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x408]
push 0x20
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.71a0c8fa
test eax, eax
je 0x71a0d45e
lea eax, [ebp - 0x408]
push 0x71a01690
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
je 0x71a0d45e
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, SysReAllocStringLen
push 0x71a054fc
push edi
call esi
push 0x71a05568
push edi
call esi
push 0x71a05558
push edi
call esi
push 1
pop eax
pop esi
jmp 0x71a0d460
xor eax, eax
pop edi
pop ebx
leave
ret 0xc
Function at 0x71a0d5e7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push 0x71a05594
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x71a0d647
mov ecx, dword [ebp + 8]
cmp byte [ecx], bl
je 0x71a0d621
inc eax
cmp byte [eax + ecx], bl
jne 0x71a0d61b
inc eax
push eax
push ecx
push 1
push ebx
push 0x71a0558c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
leave
ret

Function at 0x71a0d64a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x71a05594
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x71a0d673
xor eax, eax
leave
ret
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
lea eax, [ebp - 0xc]
push dword [ebp + 8]
mov dword [ebp - 0xc], 1
push eax
push 0
push 0x71a0558c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
leave
ret

Function at 0x71a0d6aa
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push 0x71a055a4
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x71a0d70a
mov ecx, dword [ebp + 8]
cmp byte [ecx], bl
je 0x71a0d6e4
inc eax
cmp byte [eax + ecx], bl
jne 0x71a0d6de
inc eax
push eax
push ecx
push 1
push ebx
push 0x71a0558c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
leave
ret

Function at 0x71a0d70d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x71a055a4
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x71a0d736
xor eax, eax
leave
ret
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
lea eax, [ebp - 0xc]
push dword [ebp + 8]
mov dword [ebp - 0xc], 1
push eax
push 0
push 0x71a0558c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
leave
ret
Function at 0x71a0d76d
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20f]
mov byte [ebp - 0x210], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
mov dword [ebp - 8], ebx
cmp byte [eax], bl
je 0x71a0d800
mov dword [ebp - 4], 4
push ebx
push ebx
push ebx
push ebx
push 0x71a05498
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, ebx
je 0x71a0d7d1
push ebx
push 0x84000000
push ebx
push ebx
push dword [ebp + 8]
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, ebx
jne 0x71a0d7dd
mov eax, dword [ebp - 4]
dec dword [ebp - 4]
test eax, eax
jne 0x71a0d7a4
jmp 0x71a0d800
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push 0x208
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x71a0d864
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push 0xf01ff
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x71a0d89c
lea eax, [ebp - 0x1c]
push edi
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x71a0e079
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
xor ebx, ebx
cmp dword [0x71a24114], ebx
jne 0x71a0e0d7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp dword [0x71a2410c], ebx
mov dword [0x71a24114], eax
mov byte [0x71a23960], bl
mov byte [0x71a239e0], bl
jne 0x71a0e0dc
push 0x60c
push ebx
push 0x71a23a60
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [esp + 4]
push eax
push ebx
push ebx
push 0x71a0daf9
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [0x71a2410c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
jmp 0x71a0e0de
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x71a0e559
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x71a0e431
push 0x400
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x71a0e570
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x20
push eax
call fcn.71a0c60e
pop ecx
test eax, eax
pop ecx
je 0x71a0e5c6
inc eax
push eax
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0xc
dec eax
js 0x71a0e5c6
mov cl, byte [ebp + eax - 0x104]
cmp cl, 0x30
jl 0x71a0e5aa
cmp cl, 0x39
jg 0x71a0e5aa
and byte [ebp + eax - 0x103], 0
push esi
push edi
xor esi, esi
mov edi, 0x71a05648
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.71a0c583
pop ecx
test eax, eax
pop ecx
jne 0x71a0e5f0
add edi, 0x30
inc esi
cmp edi, 0x71a06188
jb 0x71a0e5cf
jmp 0x71a0e606
lea eax, [esi + esi*2]
shl eax, 4
add eax, 0x71a05658
push eax
push dword [ebp + 8]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 1
pop eax
pop edi
pop esi
leave
ret
Function at 0x1000fb00
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002dc10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov ecx, dword [ebp + 0x10]
xor edx, edx
push ebx
push esi
mov eax, dword [ecx + 4]
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0
mov dx, word [eax + 0x14]
lea eax, [edx + eax + 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dx, word [ecx + 6]
cmp eax, edx
jge 0x1000fc87
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x1000fbba
lea ecx, [ebp - 0x24]
push 0x10036e78
push ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x36
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x1000fbb4
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
push 4
push 0x1000
mov eax, dword [ebx + 0xc]
push esi
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, 0x1000fc68
ret
lea eax, [ebp - 0x28]
push 0x10036e78
push eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0x43
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x14]
push 4
push 0x1000
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [ebp - 0x1c]
add edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x20], eax
mov eax, 0x1000fbfc
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000fca0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002dc20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [ebp + 8]
xor ecx, ecx
push ebx
push esi
mov eax, dword [eax]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], 0
mov cx, word [eax + 0x14]
lea edi, [ecx + eax + 0x18]
mov dword [ebp - 0x14], edi
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edx]
mov cx, word [eax + 6]
mov eax, dword [ebp - 0x20]
cmp eax, ecx
jge 0x1000fe21
mov eax, dword [edi + 0x24]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x1000fd47
lea edx, [ebp - 0x24]
push 0x10036e78
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x4b
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x14]
push 0x4000
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 0x1000fe05
ret
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [esi + ecx*2]
mov ecx, dword [edx*4 + 0x10161ed0]
mov dword [ebp - 0x1c], ecx
je 0x1000fd66
mov eax, ecx
or ah, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x10]
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x1000fdc8
lea edx, [ebp - 0x28]
push 0x10036e78
push edx
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0x10
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
test al, 0x40
je 0x1000fda7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x18], eax
mov eax, 0x1000fdbc
ret
test al, 0x80
je 0x1000fdb6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x18], eax
mov eax, 0x1000fdbc
ret
jbe 0x1000fe0c
lea ecx, [ebp - 0x2c]
push 0x10036e78
push ecx
mov dword [ebp - 4], 4
mov dword [ebp - 0x2c], 0xf
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x1000fe05
ret
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
inc ecx
add edi, 0x28
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], edi
jmp 0x1000fcda
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404ad0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x462014]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], esi
mov eax, dword [eax]
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], esi
push edi
test eax, eax
jne 0x404b2b
push eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
push 0x45813b
mov byte [esi], al
call fcn.00417990
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0041c8c2
mov esp, ebp
pop ebp
ret
mov ecx, eax
xor edi, edi
and ecx, 3
jne 0x404b45
cmp byte [eax + edx - 1], 0x3d
je 0x404b45
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
jmp 0x404b67
mov dword [esp + 0x18], 1
cmp ecx, 2
ja 0x404b5f
cmp byte [eax + edx - 2], 0x3d
jne 0x404b5f
mov dword [esp + 0x20], edi
jmp 0x404b67
mov dword [esp + 0x20], 1
sub eax, dword [esp + 0x18]
and eax, 0xfffffffc
mov dword [esp + 0x40], edi
mov ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
shr ecx, 2
push 0
mov dword [esp + 0x48], 0xf
mov byte [esp + 0x34], 0
lea eax, [eax + ecx*2]
add eax, ecx
lea ecx, [esp + 0x34]
add eax, dword [esp + 0x1c]
push eax
call fcn.00417850
cmp dword [esp + 0x44], 0x10
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x14]
cmovae eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
test edx, edx
je 0x404c35
mov esi, dword [esp + 0x2c]
lea eax, [edx - 1]
shr eax, 2
add esi, 2
inc eax
mov dword [esp + 0x28], eax
nop dword [eax]
movzx eax, byte [esi - 2]
lea esi, [esi + 4]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax*4 + 0x458e68]
movzx eax, byte [esi - 5]
shl ecx, 6
or ecx, dword [eax*4 + 0x458e68]
movzx eax, byte [esi - 4]
shl ecx, 6
or ecx, dword [eax*4 + 0x458e68]
movzx eax, byte [esi - 3]
shl ecx, 6
or ecx, dword [eax*4 + 0x458e68]
mov eax, ecx
sar eax, 0x10
mov byte [edx + edi], al
mov eax, ecx
sar eax, 8
mov byte [edx + edi + 1], al
mov eax, edx
mov byte [eax + edi + 2], cl
add edi, 3
sub dword [esp + 0x28], 1
jne 0x404bd0
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x18], 0
je 0x404c92
mov eax, dword [esp + 0x2c]
add eax, edx
mov dword [esp + 0x24], eax
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
mov edx, dword [eax*4 + 0x458e68]
shl edx, 6
or edx, dword [ecx*4 + 0x458e68]
mov ecx, dword [esp + 0x1c]
shl edx, 0xc
mov eax, edx
sar eax, 0x10
cmp dword [esp + 0x20], 0
mov byte [ecx + edi], al
je 0x404c92
mov eax, dword [esp + 0x24]
sar edx, 8
movzx eax, byte [eax + 2]
mov eax, dword [eax*4 + 0x458e68]
shl eax, 6
sar eax, 8
or al, dl
mov byte [ecx + edi + 1], al
movups xmm0, xmmword [esp + 0x30]
mov ecx, dword [esp + 0x5c]
mov eax, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
pop edi
movq xmm0, qword [esp + 0x3c]
movq qword [esi + 0x10], xmm0
pop esi
xor ecx, esp
call fcn.0041c8c2
mov esp, ebp
pop ebp
ret
Function at 0x406e30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449238
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x462014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov edx, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
push 1
push 0x458cb4
call fcn.00418d40
add esp, 8
xor edx, edx
test al, al
mov ecx, 5
cmove ecx, edx
mov edx, str.runas
push ecx
mov ecx, 0x45813b
cmovne ecx, edx
push ecx
lea ecx, [ebp + 8]
call fcn.00417990
cmp dword [ebp + 0x4c], 0x10
lea edx, [ebp + 0x38]
push 0
cmovae edx, dword [ebp + 0x38]
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 8]
push 0
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x10
push edx
cmovae eax, dword [ebp + 8]
push ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [ebp + 0x1c]
mov esi, eax
mov dword [0x466494], esi
cmp edx, 0x10
jb 0x406f06
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406efc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f9c
push edx
push ecx
call fcn.0041cf39
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x406f48
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406f3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f9c
push edx
push ecx
call fcn.0041cf39
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x406f8a
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406f80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f9c
push edx
push ecx
call fcn.0041cf39
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0043653a
int3
Function at 0x40b220
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4498c0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x462014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
add eax, ecx
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00417de0
mov byte [ebp - 4], 1
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 0
cmovae esi, dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x40b2b7
lea eax, [ebp - 0x2c]
push eax
push 0x459278
push 1
push 0
push 0x459268
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x40b337
call dword [sym.imp.ole32.dll_CoUninitialize]
xor esi, esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40b2f3
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b2e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b3ba
push edx
push ecx
call fcn.0041cf39
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 0x10
jb 0x40b39e
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b394
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b3ba
jmp 0x40b394
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
push edx
push 0x4592fc
push 0x458dd8
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
test eax, eax
jns 0x40b2b7
cmp eax, 0x80070050
jne 0x40b2b7
mov eax, dword [ebp - 0x2c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x40b384
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x40b2b7
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, 1
jmp 0x40b2b9
push edx
push ecx
call fcn.0041cf39
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041c8c2
mov esp, ebp
pop ebp
ret
call fcn.0043653a
int3
Function at 0x403654
Capabilities:
Check http status code
Create http request
Download and write a file
Get http content length
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4024
call fcn.0043e770
mov eax, dword [0x4e11d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push 0x32
pop edi
push ebx
push ebx
mov dword [ebp - 0x401c], eax
xor eax, eax
push ebx
inc eax
push ebx
push str.SpotifyInstaller_1.0
mov dword [ebp - 0x4018], eax
mov byte [0x4e7128], al
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x4024], eax
test eax, eax
jne 0x4036b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x403823
push ebx
push 0x80000200
push ebx
push ebx
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
test ebx, ebx
jne 0x4036d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x34
pop edi
jmp 0x403817
and dword [ebp - 0x4010], 0
lea eax, [ebp - 0x4008]
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push 0
push eax
lea eax, [ebp - 0x4010]
mov dword [ebp - 0x4008], 4
push eax
push 0x20000005
push ebx
call esi
and dword [ebp - 0x4014], 0
lea eax, [ebp - 0x4008]
push 0
push eax
lea eax, [ebp - 0x4014]
mov dword [ebp - 0x4008], 4
push eax
push 0x20000013
push ebx
call esi
cmp dword [ebp - 0x4014], 0xc8
je 0x403740
push 0x33
jmp 0x40380f
mov eax, dword [ebp - 0x4010]
xor esi, esi
mov dword [0x4e7124], eax
mov dword [0x4e7120], 0
jmp 0x403800
push 0x4e7108
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x4e7108
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x400c]
push eax
push 0x4000
lea eax, [ebp - 0x4004]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x403852
cmp byte [ebp - 0x4018], 0
mov eax, dword [ebp - 0x400c]
je 0x4037c1
mov byte [ebp - 0x4018], 0
cmp eax, 2
jb 0x4037c1
cmp byte [ebp - 0x4004], 0x4d
jne 0x403834
cmp byte [ebp - 0x4003], 0x5a
jne 0x403834
test eax, eax
je 0x403842
push 0
lea ecx, [ebp - 0x4020]
push ecx
push eax
lea eax, [ebp - 0x4004]
push eax
push dword [ebp - 0x401c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403838
mov eax, dword [ebp - 0x400c]
cmp dword [ebp - 0x4020], eax
jne 0x40383e
add dword [0x4e7120], eax
add esi, dword [ebp - 0x400c]
cmp byte [0x4e7104], 0
je 0x40375c
push 0x13
pop edi
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x4024]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e654
leave
ret
push 0x36
jmp 0x40380f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb
jmp 0x40380f
xor eax, eax
cmp esi, dword [ebp - 0x4010]
push 0x36
pop edi
cmove edi, eax
jmp 0x403810
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x403810
Function at 0x4058e9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push esi
xor esi, esi
xor al, 1
push esi
push esi
push 1
push esi
mov byte [0x4e7130], al
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4e7138], eax
lea eax, [ebp + 8]
push eax
push esi
push esi
push 0x406180
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
pop ebp
ret