joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003d90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [eax], al
add byte [edi], dh
cmp dword [ebx + 0x4b], ecx
dec edi
xor eax, 0x4c48345
add esp, 4
jmp 0x10003da5
pop eax
cmp dword [ebp - 0x1568], 0
jne 0x10003dbe
mov dword [ebp - 0x2a0], 0
jmp 0x10004065
mov ecx, dword [ebp - 0x1568]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc64], eax
push ecx
push esi
add esp, 4
call 0x10003de4
add byte [esi + 0x3f], al
xor al, 0x42
xor ecx, dword [edx + 0x37]
cmp byte ds:[ebx + 0x6eb04c4], al
dec esi
dec edx
dec ecx
xor al, 0x3b
dec esi
add ecx, 0xb4b6
pop ecx
push edi
push edi
add esp, 4
add edi, 0x27ae
pop edi
cmp dword [ebp - 0xc64], 0
jne 0x10003e1a
mov dword [ebp - 0x2a0], 0
jmp 0x10004065
mov ecx, dword [ebp - 0xc64]

Function at 0x10003d9a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [eax], al
add byte [edi], dh
cmp dword [ebx + 0x4b], ecx
dec edi
xor eax, 0x4c48345
add esp, 4
jmp 0x10003da5
pop eax
cmp dword [ebp - 0x1568], 0
jne 0x10003dbe
mov dword [ebp - 0x2a0], 0
jmp 0x10004065
mov ecx, dword [ebp - 0x1568]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc64], eax
push ecx
push esi
add esp, 4
call 0x10003de4
add byte [esi + 0x3f], al
xor al, 0x42
xor ecx, dword [edx + 0x37]
cmp byte ds:[ebx + 0x6eb04c4], al
dec esi
dec edx
dec ecx
xor al, 0x3b
dec esi
add ecx, 0xb4b6
pop ecx
push edi
push edi
add esp, 4
add edi, 0x27ae
pop edi
cmp dword [ebp - 0xc64], 0
jne 0x10003e1a
mov dword [ebp - 0x2a0], 0
jmp 0x10004065
mov ecx, dword [ebp - 0xc64]

Function at 0x10003de4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [eax], al
add byte [edi], dh
cmp dword [ebx + 0x4b], ecx
dec edi
xor eax, 0x4c48345
add esp, 4
jmp 0x10003da5
pop eax
cmp dword [ebp - 0x1568], 0
jne 0x10003dbe
mov dword [ebp - 0x2a0], 0
jmp 0x10004065
mov ecx, dword [ebp - 0x1568]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc64], eax
push ecx
push esi
add esp, 4
call 0x10003de4
add byte [esi + 0x3f], al
xor al, 0x42
xor ecx, dword [edx + 0x37]
cmp byte ds:[ebx + 0x6eb04c4], al
dec esi
dec edx
dec ecx
xor al, 0x3b
dec esi
add ecx, 0xb4b6
pop ecx
push edi
push edi
add esp, 4
add edi, 0x27ae
pop edi
cmp dword [ebp - 0xc64], 0
jne 0x10003e1a
mov dword [ebp - 0x2a0], 0
jmp 0x10004065
mov ecx, dword [ebp - 0xc64]

Function at 0x10003e20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [ebp - 0x4d4], ecx
push ebx
push ebx
add esp, 4
jmp 0x10003e32
pop ebx
push ebx
push eax
add esp, 4
call 0x10003e48
add byte [edx + eax*2 + 0x32], al
inc ecx
inc ebp
dec ebp
aas
inc esp
dec esp
add esp, 4
pop ebx
push esi
push edx
add esp, 4
and esi, 0xd66c
pop esi
lea edx, [ebp - 0x15d0]
mov dword [ebp - 0xc60], edx
mov eax, dword [ebp - 0x4d4]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc5c], ecx
xor edx, edx
mov word [ebp - 0x1c0], dx
xor eax, eax
mov word [ebp - 0x34], ax
push esi
push ecx
add esp, 4
or esi, 0x12e6c
or esi, 0x34c2
pop esi
push ecx
push eax
add esp, 4
add ecx, 0x12441
or ecx, 0x17f91
and ecx, 0xa857
pop ecx
push edi
invalid
iretd
invalid
Function at 0x10003e48
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [ebp - 0x4d4], ecx
push ebx
push ebx
add esp, 4
jmp 0x10003e32
pop ebx
push ebx
push eax
add esp, 4
call 0x10003e48
add byte [edx + eax*2 + 0x32], al
inc ecx
inc ebp
dec ebp
aas
inc esp
dec esp
add esp, 4
pop ebx
push esi
push edx
add esp, 4
and esi, 0xd66c
pop esi
lea edx, [ebp - 0x15d0]
mov dword [ebp - 0xc60], edx
mov eax, dword [ebp - 0x4d4]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc5c], ecx
xor edx, edx
mov word [ebp - 0x1c0], dx
xor eax, eax
mov word [ebp - 0x34], ax
push esi
push ecx
add esp, 4
or esi, 0x12e6c
or esi, 0x34c2
pop esi
push ecx
push eax
add esp, 4
add ecx, 0x12441
or ecx, 0x17f91
and ecx, 0xa857
pop ecx
push edi
invalid
iretd
invalid

Function at 0x10003f2d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
add edi, 0x59b7
xor edi, 0x5ecc
pop edi
invalid
mov bh, 0x45

Function at 0x10004020
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [eax], al
mov edx, dword [ebp - 0x4d4]
cmp dword [edx + 0x30], 0
jne 0x10003e26
mov dword [ebp - 0x2a0], 0
push edx
xor edx, 0x15a84
or edx, 0x13fe2
sub edx, 0x11b71
add edx, 0x89c7
pop edx
push edi

Function at 0x10004080
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
add esp, 4
or edi, 0xfa68
or edi, 0x4e5
or edi, 0x11733
pop edi
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x364], ecx
push ebx
jmp 0x100040ac
xor ebx, 0x1845f
pop ebx
push ebx
jmp 0x100040bd
call 0x100040c9
add byte [edx + 0x4a], al
inc esi
dec esi
aas
add esp, 4
jmp 0x100040d1
and ebx, 0xc7cd
pop ebx
mov dword [ebp - 0x76c], 0
mov edx, dword [ebp - 0x364]
mov dword [ebp - 0x1574], edx
cmp dword [ebp - 0x1574], 0
jne 0x10004108
mov eax, dword [ebp - 0x76c]
mov dword [ebp - 0x4b0], eax
jmp 0x100043f9
mov ecx, dword [ebp - 0x1574]
mov edx, dword [ebp - 0x364]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x1578], edx
jne 0x10004130
mov eax, dword [ebp - 0x76c]
mov dword [ebp - 0x4b0], eax
jmp 0x100043f9
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x1578]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x157c], ecx
cmp dword [ebp - 0x157c], 0
jne 0x10004162
mov edx, dword [ebp - 0x76c]
mov dword [ebp - 0x4b0], edx
jmp 0x100043f9
mov eax, dword [ebp - 0x364]
add eax, dword [ebp - 0x157c]
mov dword [ebp - 0x760], eax
jne 0x10004187
mov ecx, dword [ebp - 0x76c]
mov dword [ebp - 0x4b0], ecx
jmp 0x100043f9
mov edx, dword [ebp - 0x760]
mov eax, dword [ebp - 0x364]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x1c50], eax
mov ecx, dword [ebp - 0x760]
mov edx, dword [ebp - 0x364]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x1c54], edx
mov eax, dword [ebp - 0x760]
mov ecx, dword [ebp - 0x364]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1c58], ecx
mov dword [ebp - 0x764], 0
jmp 0x100041e1
mov edx, dword [ebp - 0x764]
add edx, 1
mov dword [ebp - 0x764], edx
mov eax, dword [ebp - 0x760]
mov ecx, dword [ebp - 0x764]
cmp ecx, dword [eax + 0x18]
mov ecx, dword [ebp - 0x160]
add ecx, 1
invalid
invalid
invalid
invalid
invalid
Function at 0x100040c9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
add esp, 4
or edi, 0xfa68
or edi, 0x4e5
or edi, 0x11733
pop edi
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x364], ecx
push ebx
jmp 0x100040ac
xor ebx, 0x1845f
pop ebx
push ebx
jmp 0x100040bd
call 0x100040c9
add byte [edx + 0x4a], al
inc esi
dec esi
aas
add esp, 4
jmp 0x100040d1
and ebx, 0xc7cd
pop ebx
mov dword [ebp - 0x76c], 0
mov edx, dword [ebp - 0x364]
mov dword [ebp - 0x1574], edx
cmp dword [ebp - 0x1574], 0
jne 0x10004108
mov eax, dword [ebp - 0x76c]
mov dword [ebp - 0x4b0], eax
jmp 0x100043f9
mov ecx, dword [ebp - 0x1574]
mov edx, dword [ebp - 0x364]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x1578], edx
jne 0x10004130
mov eax, dword [ebp - 0x76c]
mov dword [ebp - 0x4b0], eax
jmp 0x100043f9
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x1578]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x157c], ecx
cmp dword [ebp - 0x157c], 0
jne 0x10004162
mov edx, dword [ebp - 0x76c]
mov dword [ebp - 0x4b0], edx
jmp 0x100043f9
mov eax, dword [ebp - 0x364]
add eax, dword [ebp - 0x157c]
mov dword [ebp - 0x760], eax
jne 0x10004187
mov ecx, dword [ebp - 0x76c]
mov dword [ebp - 0x4b0], ecx
jmp 0x100043f9
mov edx, dword [ebp - 0x760]
mov eax, dword [ebp - 0x364]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x1c50], eax
mov ecx, dword [ebp - 0x760]
mov edx, dword [ebp - 0x364]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x1c54], edx
mov eax, dword [ebp - 0x760]
mov ecx, dword [ebp - 0x364]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1c58], ecx
mov dword [ebp - 0x764], 0
jmp 0x100041e1
mov edx, dword [ebp - 0x764]
add edx, 1
mov dword [ebp - 0x764], edx
mov eax, dword [ebp - 0x760]
mov ecx, dword [ebp - 0x764]
cmp ecx, dword [eax + 0x18]
mov ecx, dword [ebp - 0x160]
add ecx, 1
invalid
invalid
invalid
invalid
invalid
Function at 0x4032f7
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0x14
mov eax, 0x463c09
call fcn.0043e156
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x4b709c
push 1
push 0
push 0x4b7984
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
js 0x403412
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
and dword [ebp - 0x18], 0
push edx
push 0x4b7974
mov eax, dword [ecx]
push ecx
call dword [eax]
mov ebx, eax
test ebx, ebx
js 0x403409
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00417d17
mov ecx, dword [ebp - 0x10]
xor ebx, ebx
push dword [ebp - 0x14]
mov dword [ebp - 4], ebx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x50]
cmp dword [ebp + 0x14], ebx
je 0x40338f
push dword [ebp + 0x14]
lea ecx, [ebp - 0x1c]
call fcn.00417d17
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x1c]
mov byte [ebp - 4], 1
push ecx
mov eax, dword [ecx]
call dword [eax + 0x2c]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00417d7a
mov ecx, dword [ebp - 0x10]
push ebx
push dword [ebp - 0x14]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x44]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00417d7a
push dword [ebp + 0x10]
lea ecx, [ebp - 0x1c]
call fcn.00417d17
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x1c]
mov dword [ebp - 4], 2
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00417d7a
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.00417d17
mov ecx, dword [ebp - 0x18]
push 1
push dword [ebp - 0x20]
mov dword [ebp - 4], 3
mov eax, dword [ecx]
push ecx
call dword [eax + 0x18]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
mov ebx, eax
call fcn.00417d7a
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
shr ebx, 0x1f
xor bl, 1
mov al, bl
call fcn.0043e124
ret

Function at 0x403792
Capabilities:
Persist via run registry key

Disassembly:
push str.Spotify_Web_Helper
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call fcn.00417dc3
add esp, 0xc
ret
Function at 0x403922
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.0043e230
mov eax, dword [0x4ce174]
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 [0x4d4100], al
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x4024], eax
test eax, eax
jne 0x40397f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x403af1
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 0x4039a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x34
pop edi
jmp 0x403ae5
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 0x403a0e
push 0x33
jmp 0x403add
mov eax, dword [ebp - 0x4010]
xor esi, esi
mov dword [0x4d40fc], eax
mov dword [0x4d40f8], 0
jmp 0x403ace
push 0x4d40e0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x4d40e0
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 0x403b20
cmp byte [ebp - 0x4018], 0
mov eax, dword [ebp - 0x400c]
je 0x403a8f
mov byte [ebp - 0x4018], 0
cmp eax, 2
jb 0x403a8f
cmp byte [ebp - 0x4004], 0x4d
jne 0x403b02
cmp byte [ebp - 0x4003], 0x5a
jne 0x403b02
test eax, eax
je 0x403b10
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 0x403b06
mov eax, dword [ebp - 0x400c]
cmp dword [ebp - 0x4020], eax
jne 0x403b0c
add dword [0x4d40f8], eax
add esi, dword [ebp - 0x400c]
cmp byte [0x4d40dc], 0
je 0x403a2a
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.0043e116
leave
ret
push 0x36
jmp 0x403add
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb
jmp 0x403add
xor eax, eax
cmp esi, dword [ebp - 0x4010]
push 0x36
pop edi
cmove edi, eax
jmp 0x403ade
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x403ade
Function at 0x403cd8
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x403d07
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x403d07
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x403d12
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x403d10
mov dword [eax], esi
mov al, 1
pop esi
pop ebp
ret

Function at 0x404aae
Capabilities:
Create process on windows

Disassembly:
push 0x60
mov eax, 0x463f53
call fcn.0043e156
push 0x10
xor ebx, ebx
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.00440df0
push 0x44
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00440df0
mov edi, dword [ebp + 0x14]
add esp, 0x18
test edi, edi
je 0x404ae0
mov dword [edi], ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00417d17
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00417d17
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
test esi, esi
mov byte [ebp - 4], 1
mov eax, 0x469563
cmovne eax, esi
push eax
call fcn.00417d17
xor eax, eax
mov dword [ebp - 0x6c], 0x44
lea ecx, [ebp - 0x28]
test esi, esi
push ecx
cmovne eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
push ecx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x404b5d
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x404b51
mov eax, dword [ebp - 0x28]
mov dword [edi], eax
jmp 0x404b56
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x24]
call esi
mov bl, 1
lea ecx, [ebp - 0x10]
call fcn.00417d7a
lea ecx, [ebp - 0x14]
call fcn.00417d7a
lea ecx, [ebp - 0x18]
call fcn.00417d7a
mov al, bl
call fcn.0043e124
ret
Function at 0x405f89
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1044
call fcn.0043e230
mov eax, dword [0x4ce174]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
push 0x10
sbb al, al
and byte [ebp - 0x1004], al
lea eax, [ebp - 0x1044]
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.0040472a
dec eax
push eax
lea eax, [ebp - 0x1040]
push eax
call fcn.00403d15
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
call fcn.0043e116
leave
ret 0x10

Function at 0x40602e
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 [0x4d4108], al
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4d4110], eax
lea eax, [ebp + 8]
push eax
push esi
push esi
push 0x406caa
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
pop ebp
ret
Function at 0x40a184
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push 4
mov eax, 0x464ac2
call fcn.0043e156
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0
push 0
push dword [ebp + 0xc]
movzx ebx, ax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov esi, eax
test esi, esi
jne 0x40a1ce
mov esi, dword [ebp + 8]
mov ecx, esi
push 2
push 0x4b6384
and dword [esi], eax
and dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
call fcn.004058cd
jmp 0x40a224
push esi
call fcn.0043e82f
mov edi, eax
pop ecx
mov dword [ebp - 0x10], edi
and dword [ebp - 4], 0
push esi
push edi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
cmp esi, eax
mov esi, dword [ebp + 8]
mov ecx, esi
je 0x40a211
xor eax, eax
mov dword [esi + 0x14], 0xf
push 2
mov dword [esi], eax
mov dword [esi + 0x10], eax
push 0x4b6384
mov byte [esi], al
call fcn.004058cd
jmp 0x40a219
dec eax
push eax
push edi
call fcn.004025db
test edi, edi
je 0x40a224
push edi
call fcn.0043e111
pop ecx
mov eax, esi
call fcn.0043e124
ret
Function at 0x41003f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4ce174]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x410098
cmp byte [esi + 0x3d], bl
je 0x410098
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x4100d1
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, ebx
je 0x4100a9
sub eax, 1
je 0x4100ac
dec eax
sub eax, 1
jne 0x4100d1
mov byte [esi + 0x3d], bl
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e116
leave
ret
mov byte [esi + 0x3d], bl
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4100c9
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00447b34
add esp, 0x10
cmp edi, eax
jne 0x4100d1
cmp byte [esi + 0x3d], bl
sete al
jmp 0x41009a
xor al, al
jmp 0x41009a

Function at 0x416ce5
Capabilities:
Read file via mapping

Disassembly:
push 0x3c
mov eax, 0x46593a
call fcn.0043e189
mov esi, ecx
mov edi, dword [ebp + 8]
test edi, edi
jne 0x416d01
xor al, al
jmp 0x416dc3
xor ebx, ebx
mov dword [ebp - 0x14], 0xf
push str.SpotifyWindowHandle
mov byte [ebp - 0x44], bl
lea ecx, [ebp - 0x28]
push dword [ebp - 0x44]
mov dword [ebp - 0x28], ebx
push 0x13
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.00401f64
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00416b90
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 0x10
jb 0x416d73
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
cmp eax, 0x1000
jb 0x416d6a
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004051b1
mov eax, dword [ebp - 0x48]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x44]
push eax
push ecx
call fcn.0043e103
pop ecx
pop ecx
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov esi, eax
test esi, esi
je 0x416db9
push 4
push ebx
push ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x416dae
mov ecx, dword [eax]
push eax
mov dword [edi], ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov bl, 1
jmp 0x416db2
test esi, esi
je 0x416db9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
call fcn.004056fd
mov al, bl
call fcn.0043e138
ret 4
Function at 0x4171d6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ce174]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov eax, dword [eax]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], edi
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [eax]
push 0x100000
push edi
mov dword [ebp - 0x1c], eax
call fcn.00417931
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41726b
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0xc]
push 1
push ebx
push ebx
push dword [ebp - 0x1c]
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
jne 0x417251
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41726b
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x4172bd
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 4]
add eax, 4
mov dword [ebp - 0x18], eax
cmp eax, ecx
jne 0x417217
push 1
push edi
call fcn.00417931
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4172ac
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
neg ebx
push esi
sbb bl, bl
inc bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e116
leave
ret
mov al, 1
jmp 0x4172ae