joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40bc43
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40bc52
pop dword [ebp - 0x38]
mov eax, 0x7616058e
sub eax, 0x75d5493c
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x3a539
push 0
mov eax, 0xad788b1a
add eax, 0x52c855be
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0xa6f0dac3
add ecx, 0x590f70ad
xor esi, esi
add esi, eax
mov edx, 0x9748827c
sub edx, 0x970746b8
add edx, dword [ebp - 0x38]
mov edi, 0xcc887a64
add edi, 0x25e72842
mov ebx, dword [edx]
add ebx, edi
sub dword [ebp - 0x1c], 0x90ae17a9
mov dword [esi], ebx
xor dword [ebp - 0x1c], ebx
add esi, 4
add edx, 0x1a446409
sub edx, 0x1a446405
loop 0x40bcb3
add eax, 0x1789aad2
sub eax, 0x17888a3f
mov ebx, eax
add eax, 5
mov ecx, 0x66abe5e
add ecx, 0xf9d541a2
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x100012a4
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000a7a0
push 0x1000a798
push 0x1000a7a0
push 0x21
call fcn.100011df
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100012db
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000a0e0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100012e3
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000a7b4
push 0x1000a7ac
push 0x1000a7b4
push 0x22
call fcn.100011df
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000131d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000a0e0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x1000184b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000188a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000188a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000188a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000188a
cmp dword [ecx + 0x74], 0xe
jbe 0x1000188a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401fc0
Capabilities:
Read file on windows

Disassembly:
test eax, eax
jne 0x401fc7
xor al, al
ret
push esi
push 0x414248
push eax
call fcn.00405e49
mov esi, eax
add esp, 8
test esi, esi
jne 0x401fe0
xor al, al
pop esi
ret
push edi
push esi
call fcn.0040644c
push eax
call fcn.0040634d
mov edi, eax
push edi
call fcn.00406283
add esp, 0xc
mov dword [0x4193a4], eax
push esi
test eax, eax
je 0x40201c
push edi
push 1
push eax
call fcn.00406217
mov eax, dword [0x4193a4]
add esp, 0x10
cmp dword [eax], 0x504d444d
push esi
je 0x402029
call fcn.00405d09
add esp, 4
pop edi
xor al, al
pop esi
ret
call fcn.00405d09
add esp, 4
pop edi
mov al, 1
pop esi
ret

Function at 0x4031f6
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 8]
xor ebx, ebx
push eax
push dword [ebp + 8]
mov byte [ebp - 1], bl
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x403222
xor al, al
jmp 0x40328c
push esi
push eax
call fcn.00406283
pop ecx
mov esi, eax
push esi
push dword [ebp - 8]
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40327d
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x414730
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40327d
mov eax, dword [ebp - 0xc]
mov dx, word [eax + 0xa]
mov ecx, dword [ebp + 0xc]
mov word [ecx], dx
mov dx, word [eax + 8]
mov word [ecx + 2], dx
mov dx, word [eax + 0xe]
mov word [ecx + 4], dx
mov ax, word [eax + 0xc]
mov word [ecx + 6], ax
mov byte [ebp - 1], 1
cmp esi, ebx
je 0x403288
push esi
call fcn.0040647e
pop ecx
mov al, byte [ebp - 1]
pop esi
pop ebx
leave
ret

Function at 0x40328f
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
xor esi, esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 4]
test ecx, ecx
jbe 0x4032be
add dword [ebp + 0xc], ecx
add esi, ecx
sub dword [ebp + 0x10], ecx
je 0x4032c6
test eax, eax
je 0x4032c6
test ecx, ecx
ja 0x40329a
mov eax, esi
pop esi
leave
ret
Function at 0x4032cb
Capabilities:
Check http status code
Get http content length

Disassembly:
push ebp
lea ebp, [esp - 0x79c]
sub esp, 0x81c
mov eax, dword [0x4181fc]
xor eax, ebp
mov dword [ebp + 0x798], eax
mov eax, dword [ebp + 0x7a4]
push ebx
push edi
push 4
mov dword [ebp - 0x78], eax
pop eax
xor ebx, ebx
push 0x7ff
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x67]
push ebx
push eax
mov edi, ecx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x74], ebx
mov dword [esi], ebx
mov byte [ebp - 0x68], bl
call fcn.00405490
push dword [ebp - 0x78]
lea eax, [ebp - 0x68]
push eax
call fcn.00406cb0
add esp, 0x14
push ebx
push 0x80000000
push ebx
push ebx
lea eax, [ebp - 0x68]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
cmp edi, ebx
je 0x4033a5
push ebx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
push 0x20000013
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x4033a5
cmp dword [ebp - 0x70], 0xc8
jne 0x4033a5
push ebx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0x20000005
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x4033a5
mov eax, dword [ebp - 0x6c]
inc eax
push eax
call fcn.00406283
push dword [ebp - 0x6c]
mov dword [esi], eax
push eax
push edi
call fcn.0040328f
add esp, 0x10
mov dword [ebp - 0x74], eax
cmp eax, ebx
je 0x4033a5
mov ecx, dword [esi]
mov byte [eax + ecx], bl
jmp 0x4033b4
mov eax, dword [esi]
cmp eax, ebx
je 0x4033b4
push eax
call fcn.0040647e
pop ecx
mov dword [esi], ebx
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp + 0x798]
mov eax, dword [ebp - 0x74]
pop edi
xor ecx, ebp
pop ebx
call fcn.00405477
add ebp, 0x79c
leave
ret

Function at 0x403468
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 8], 0xbb8
mov byte [ebp - 1], bl
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, ebx
je 0x4034e8
push esi
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea eax, [ebp - 8]
push eax
push 2
push edi
call esi
push 4
lea eax, [ebp - 8]
push eax
push 5
push edi
call esi
push 4
lea eax, [ebp - 8]
push eax
push 6
push edi
call esi
push 4
lea eax, [ebp - 8]
push eax
push 8
push edi
call esi
push ebx
push 0x84200000
push ebx
push ebx
push dword [ebp + 8]
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp eax, ebx
je 0x4034e4
push eax
mov byte [ebp - 1], 1
call esi
push edi
call esi
pop esi
mov al, byte [ebp - 1]
pop edi
pop ebx
leave
ret
Function at 0x403537
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4181fc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.00405490
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x403587
xor al, al
jmp 0x4035d7
push str.kernel32.dll
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.00405337
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.004031f6
add esp, 0x14
test al, al
je 0x403583
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xc]
push eax
push str._d._d._d._d
push dword [ebp + 0xc]
push edi
call fcn.00406e25
add esp, 0x1c
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00405477
leave
ret
Function at 0x404210
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x4181fc]
xor eax, esp
mov dword [esp + 0x10c], eax
push esi
push 0xff
lea eax, [esp + 0x15]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x1c], 0
call fcn.00405490
mov edx, dword [esp + 0x124]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0x20019
push 0
push edx
mov dword [esp + 0x14], 0
call fcn.00404070
add esp, 4
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40428c
xor al, al
pop esi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.00405477
add esp, 0x110
ret
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push esi
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x404274
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4042d1
sub eax, edx
push eax
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.00401880
mov ecx, dword [esp + 0x110]
pop esi
xor ecx, esp
mov al, 1
call fcn.00405477
add esp, 0x110
ret
Function at 0x405477
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4181fc]
jne 0x405481
repz ret
jmp fcn.00408f64

Function at 0x411574
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004089cf
and dword [ebp - 4], 0
cmp dword [0x41a1bc], 0
mov ebx, eax
jne 0x411625
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4116d6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4116d6
push eax
call fcn.0040895d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41a1bc], eax
call esi
push eax
call fcn.0040895d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41a1c0], eax
call esi
push eax
call fcn.0040895d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41a1c4], eax
call esi
push eax
call fcn.0040895d
pop ecx
mov dword [0x41a1cc], eax
test eax, eax
je 0x411625
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040895d
pop ecx
mov dword [0x41a1c8], eax
mov eax, dword [0x41a1c8]
cmp eax, ebx
je 0x41167d
cmp dword [0x41a1cc], ebx
je 0x41167d
push eax
call fcn.004089d8
push dword [0x41a1cc]
mov esi, eax
call fcn.004089d8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41167d
test edi, edi
je 0x41167d
call esi
test eax, eax
je 0x411674
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x411674
test byte [ebp - 0xc], 1
jne 0x41167d
or dword [ebp + 0x10], 0x200000
jmp 0x4116b6
mov eax, dword [0x41a1c0]
cmp eax, ebx
je 0x4116b6
push eax
call fcn.004089d8
pop ecx
test eax, eax
je 0x4116b6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4116b6
mov eax, dword [0x41a1c4]
cmp eax, ebx
je 0x4116b6
push eax
call fcn.004089d8
pop ecx
test eax, eax
je 0x4116b6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41a1bc]
call fcn.004089d8
pop ecx
test eax, eax
je 0x4116d6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4116d8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x406420
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x416088]
test eax, eax
je 0x40645f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40645f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40645f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40645f
cmp dword [ecx + 0x74], 0xe
jbe 0x40645f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4128a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4128cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4128cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x414404
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x420030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040d33f
and dword [ebp - 0x14], 0
cmp dword [0x421dd0], 0
mov dword [ebp - 0x18], eax
jne 0x4144b7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41455f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41455f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x421dd0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x421dd4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x421dd8], eax
call edi
push eax
call esi
mov dword [0x421de0], eax
test eax, eax
je 0x4144b7
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x421ddc], eax
mov eax, dword [0x421ddc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x414510
cmp dword [0x421de0], ecx
je 0x414510
push eax
call esi
push dword [0x421de0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x414510
test ebx, ebx
je 0x414510
call edi
test eax, eax
je 0x414507
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x414507
test byte [ebp - 8], 1
jne 0x414510
or dword [ebp + 0x10], 0x200000
jmp 0x414543
mov eax, dword [0x421dd4]
cmp eax, dword [ebp - 0x18]
je 0x414543
push eax
call esi
test eax, eax
je 0x414543
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x414543
mov eax, dword [0x421dd8]
cmp eax, dword [ebp - 0x18]
je 0x414543
push eax
call esi
test eax, eax
je 0x414543
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x421dd0]
call esi
test eax, eax
je 0x41455f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x414561
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004085d9
leave
ret

Function at 0x42d827
Capabilities:
Encode data using xor

Disassembly:
enter 0, 0
pushal
mov ebx, 0x7fffffff
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov edi, esi
imul eax, edx, 0x10dcd
add eax, 0x116c5
xor edx, edx
div ebx
lodsd eax, dword [esi]
xor eax, edx
stosd dword es:[edi], eax
loop 0x42d83c
popal
leave
ret 0xc
Function at 0x6701a7d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
mov edi, edx
xor eax, eax
mov edx, ecx
mov dword [esp + 0x14], edx
cmp edi, 0x20
jb 0x6701a84e
mov ecx, dword [ebp + 8]
sub edx, ecx
mov dword [esp + 0xc], 0x10
sub dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
lea esi, [ecx + 0x10]
mov ecx, dword [esp + 0x14]
movups xmm2, xmmword [edx + esi]
movups xmm1, xmmword [eax + ecx]
mov ecx, dword [esp + 0xc]
add eax, 0x20
movaps xmm0, xmm1
psrlw xmm1, 8
psllw xmm0, 8
pxor xmm0, xmm1
movups xmmword [esi - 0x10], xmm0
movaps xmm0, xmm2
psrlw xmm2, 8
psllw xmm0, 8
pxor xmm0, xmm2
movups xmmword [esi], xmm0
add esi, 0x20
add ecx, esi
cmp ecx, edi
jbe 0x6701a802
mov ecx, edx
mov edx, dword [ebp + 8]
jmp 0x6701a857
mov edx, dword [ebp + 8]
sub ecx, edx
mov dword [esp + 0x10], ecx
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
cmp esi, edi
ja 0x6701a883
mov esi, dword [esp + 0x14]
movups xmm1, xmmword [eax + esi]
movaps xmm0, xmm1
psrlw xmm1, 8
psllw xmm0, 8
pxor xmm0, xmm1
movups xmmword [eax + edx], xmm0
mov eax, dword [esp + 0xc]
xor esi, esi
cmp eax, edi
jae 0x6701a8b1
add edx, eax
nop dword [eax + eax]
cmp esi, 0x10
jae 0x6701a8b1
mov cx, word [ecx + edx]
add eax, 2
rol cx, 8
add esi, 2
mov word [edx], cx
add edx, 2
mov ecx, dword [esp + 0x10]
cmp eax, edi
jb 0x6701a890
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x6701b310
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b0
mov eax, dword [0x674c7008]
xor eax, esp
mov dword [esp + 0x1ac], eax
lea eax, [esp + 0x18]
mov dword [0x674e6108], 0
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x6701b382
movaps xmm0, xmmword [0x6741d630]
lea eax, [esp + 4]
push str.QTcpSocketAPI:_WinSock_v2.0_initialization_failed.
push eax
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x672aa80c
call sym.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const__const
add esp, 8
mov eax, 0x674e6108
mov ecx, dword [esp + 0x1ac]
xor ecx, esp
call fcn.67284a63
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1ac]
mov eax, 0x674e6108
xor ecx, esp
mov dword [0x674e6108], 0x20
call fcn.67284a63
mov esp, ebp
pop ebp
ret
Function at 0x6701c170
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67287a2b
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x674c7008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x674e25ac]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x214], esi
cmp eax, 0xfffffffe
jle 0x6701c1cb
mov eax, dword fs:[0x2c]
mov ecx, dword [0x674e24f4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x674e6104]
cmp eax, dword [ecx + 4]
jg 0x6701c22d
push 0x200
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x6701c1ea
mov dword [esi], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
jmp 0x6701c211
lea ecx, [ebp - 0x210]
mov byte [ebp - 0x11], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6701c1f7
sub ecx, edx
lea eax, [ebp - 0x210]
push ecx
push eax
push esi
call sym.Qt5Core.dll_private:_static_class_QString___cdecl_QString::fromLocal8Bit_helper_char_const___int_
add esp, 0xc
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.67284a63
mov esp, ebp
pop ebp
ret
push 0x674e6104
call fcn.67284d2d
add esp, 4
cmp dword [0x674e6104], 0xffffffff
jne 0x6701c1cb
mov dword [ebp - 4], 1
call fcn.6701b310
push 0x672a84a0
mov dword [0x674e25ac], 0xffffffff
call fcn.67285108
push 0x674e6104
mov dword [ebp - 4], 0xffffffff
call fcn.67284ce3
add esp, 8
jmp 0x6701c1cb

Function at 0x6701c280
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68
mov eax, dword [0x674c7008]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftCryptography
mov dword [esp + 0x20], edi
push 0x80000002
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6701c324
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x4a
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push str.MachineGuid
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x6701c324
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
dec eax
push ecx
shr eax, 1
mov ecx, edi
push eax
call fcn.67097a90
add esp, 8
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.67284a63
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x6c]
mov eax, edi
mov dword [edi], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
pop edi
pop esi
xor ecx, esp
call fcn.67284a63
mov esp, ebp
pop ebp
ret
Function at 0x67023b70
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6728845d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x674c7008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0x674e2530
mov ecx, 1
mov ebx, 0x674e2530
xor eax, eax
lock cmpxchg dword [ebx], ecx
test eax, eax
je 0x67023bbc
push 0xffffffffffffffff
mov ecx, ebx
call sym.Qt5Core.dll_private:_bool___thiscall_QBasicMutex::lockInternal_int_
mov byte [ebp - 0x10], 1
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0x7ffe
jg 0x67023bdb
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x67023c50
push 0xfffe
call fcn.6728531a
mov esi, dword [ebp + 8]
add esp, 4
xor edi, edi
mov ebx, eax
test esi, esi
jle 0x67023c42
mov ecx, 0x7ffe
nop dword [eax + eax]
mov eax, dword [ebp + 0xc]
sub esi, edi
cmp esi, 0x7ffe
cmovg esi, ecx
lea ecx, [eax + edi*2]
test ecx, ecx
je 0x67023c23
lea eax, [esi + esi]
push eax
push ecx
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
push ebx
mov word [ebx + esi*2], ax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esi, dword [ebp + 8]
add edi, 0x7ffe
mov ecx, 0x7ffe
cmp edi, esi
jl 0x67023c00
push ebx
call fcn.67285397
add esp, 4
mov ebx, 0x674e2530
xor edx, edx
mov eax, 1
lock cmpxchg dword [ebx], edx
cmp eax, 1
je 0x67023c67
mov ecx, ebx
call sym.Qt5Core.dll_private:_void___thiscall_QBasicMutex::unlockInternal_void_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x67025170
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67286cd0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x674c7008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
sub edi, esi
mov eax, dword [sym.Qt5Core.dll_class_QBasicAtomicInteger_unsigned_int__qt_randomdevice_control]
sar edi, 2
nop
test al, 8
je 0x67025216
mov edx, dword [sym.Qt5Core.dll_class_QBasicAtomicInteger_unsigned_int__qt_randomdevice_control]
nop
and edx, 0xfffffff0
mov dword [ebp - 0x10], edx
test edi, edi
jle 0x670252ac
lea eax, [ebp - 0x10]
mov dword [ebp + 8], 0
mov eax, dword [eax]
lea ecx, [ebp + 8]
cmp eax, dword [ecx]
jne 0x670251fa
lea eax, [edi*4]
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, edi
mov eax, edx
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor ebx, ebx
call fcn.67025130
and eax, 0x1000
xor edx, edx
or eax, edx
je 0x6702523e
mov eax, dword [sym.Qt5Core.dll_class_QBasicAtomicInteger_unsigned_int__qt_randomdevice_control]
nop
test al, 4
jne 0x6702523e
push edi
push esi
call sym.Qt5Core.dll_int___cdecl_qRandomCpu_void___int_
add esp, 8
mov ebx, eax
cmp ebx, edi
je 0x670252ac
mov ecx, dword [sym.Qt5Core.dll_class_QBasicAtomicInteger_unsigned_int__qt_randomdevice_control]
nop
test cl, 2
jne 0x67025285
mov esi, edi
sub esi, ebx
shl esi, 2
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push esi
lea eax, [eax + ebx*4]
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
xor ecx, ecx
test al, al
cmovne ecx, esi
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
add ebx, eax
cmp ebx, edi
je 0x670252ac
mov esi, dword [ebp + 8]
sub edi, ebx
lea esi, [esi + ebx*4]
lea edi, [esi + edi*4]
cmp esi, edi
je 0x670252ac
mov ebx, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand_s]
lea eax, [ebp + 8]
push eax
call ebx
mov eax, dword [ebp + 8]
add esp, 4
mov dword [esi], eax
add esi, 4
cmp esi, edi
jne 0x67025297
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8