joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4377a2
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cb65b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x24], esi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1009
push dword [esi + 0x78]
call ebx
push 0
push 0
push 0x14b
push dword [esi + 0x54]
call ebx
call dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
xor edi, edi
mov dword [esp + 0x28], eax
inc edi
mov ecx, vtable.micro::utils::QString.0
xor eax, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x248], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x248], 1
mov ebx, eax
lea eax, [ebx + 0x41]
push eax
lea eax, [esp + 0x14]
push 0x4e0240
push eax
call fcn.004ba5ae
add esp, 0xc
mov eax, 0x4ef644
test dword [esp + 0x28], edi
je 0x437904
cmp dword [esp + 0x14], 0
lea ecx, [esp + 0x2c]
push 0x104
cmovne eax, dword [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
test eax, eax
je 0x43791f
push 4
lea eax, [esp + 0x30]
push 0x4d52ec
push eax
call dword [sym.imp.msvcrt.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x43791f
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.004ba70a
push 0
push 0
push 0x1004
push dword [esi + 0x78]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x14], 0
mov ecx, 0x4ef644
mov edi, eax
cmovne ecx, dword [esp + 0x14]
push ecx
push edi
lea ecx, [esi + 0x74]
call fcn.00437982
cmp dword [esp + 0x1c], 0
lea ecx, [esi + 0x74]
mov eax, 0x4ef644
cmovne eax, dword [esp + 0x1c]
push eax
push 1
push edi
call fcn.00430896
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
jmp 0x43791f
cmp dword [esp + 0x14], 0
cmovne eax, dword [esp + 0x14]
push eax
push 0
push 0x14a
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_SendMessageW]
inc ebx
add edi, edi
mov dword [esp + 0x20], edi
cmp ebx, 0x1a
jl 0x437843
mov byte [esp + 0x248], 0
lea ecx, [esp + 0x18]
mov esi, vtable.micro::utils::QString.0
mov dword [esp + 0x18], esi
call fcn.004b9e50
or dword [esp + 0x248], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], esi
call fcn.004b9e50
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x439975
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
sub eax, 0
je 0x439a10
dec eax
je 0x439a0b
dec eax
je 0x439a06
dec eax
je 0x4399fd
dec eax
je 0x4399da
dec eax
je 0x43999c
xor al, al
pop ebp
ret 0x14
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push ebx
push dword [ebp + 0xc]
lea edi, [ecx + 0x94]
push dword [ebp + 8]
mov ecx, edi
call fcn.004c22f0
cmp byte [ebp + 0x18], 0
mov esi, dword [ebp + 0x14]
mov dword [esi], eax
je 0x4399cd
add eax, ebx
mov ecx, edi
push eax
call fcn.004c23f3
add dword [esi], eax
xor eax, eax
cmp eax, dword [esi]
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
jmp 0x439998
mov eax, dword [ebp + 0x14]
add ecx, 0xa8
mov edx, dword [ebp + 0xc]
mov dword [eax], edx
push dword [ecx + 0x400]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004c20f3
pop ecx
pop ecx
mov al, 1
jmp 0x439998
add ecx, 0x70
pop ebp
jmp fcn.004c1fbc
add ecx, 0x4c
jmp 0x439a00
add ecx, 0x28
jmp 0x439a00
add ecx, 4
jmp 0x439a00

Function at 0x439a15
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
sub eax, 0
je 0x439a8d
dec eax
je 0x439a88
dec eax
je 0x439a83
dec eax
je 0x439a7a
dec eax
je 0x439a57
dec eax
je 0x439a34
xor al, al
pop ebp
ret 0x14
push dword [ebp + 0x10]
add ecx, 0xa0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004c243b
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
jmp 0x439a30
mov eax, dword [ebp + 0x14]
add ecx, 0xa8
mov edx, dword [ebp + 0xc]
mov dword [eax], edx
push dword [ecx + 0x400]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004c21f7
pop ecx
pop ecx
mov al, 1
jmp 0x439a30
add ecx, 0x70
pop ebp
jmp fcn.004c1ffb
add ecx, 0x4c
jmp 0x439a7d
add ecx, 0x28
jmp 0x439a7d
add ecx, 4
jmp 0x439a7d

Function at 0x439af7
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ecx + 0x14]
push esi
movzx esi, word [ecx + 6]
add ecx, 0x18
push edi
mov edi, edx
add ecx, eax
jmp 0x439b23
mov edx, dword [ecx + 0xc]
dec esi
cmp edx, dword [ebp + 8]
ja 0x439b20
mov eax, dword [ecx + 8]
add eax, edx
cmp dword [ebp + 8], eax
jb 0x439b29
add ecx, 0x28
test esi, esi
jne 0x439b0d
xor ecx, ecx
test ecx, ecx
jne 0x439b31
xor eax, eax
jmp 0x439b3c
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
add eax, edi
add eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret 8
Function at 0x43a494
Capabilities:
Enumerate pe sections

Disassembly:
movzx eax, word [edx + 0x14]
push ebx
push esi
lea esi, [edx + 0x18]
mov ebx, ecx
movzx edx, word [edx + 6]
add esi, eax
push edi
xor edi, edi
test edx, edx
je 0x43a4cb
mov eax, dword [esi + 8]
test eax, eax
jne 0x43a4b6
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp ebx, ecx
jb 0x43a4c3
add eax, ecx
cmp ebx, eax
jb 0x43a4d1
inc edi
add esi, 0x28
cmp edi, edx
jb 0x43a4ac
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov eax, esi
jmp 0x43a4cd

Function at 0x43afd1
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.004ba6d4
cmp dword [esi + 4], 0
lea ecx, [esi + 8]
mov eax, dword [ecx]
mov edx, 0x4ef644
cmovne edx, dword [esi + 4]
push 0x20
push edx
call dword [eax]
test al, al
je 0x43b02f
push edi
xor edi, edi
push edi
push edi
push edi
push 2
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x43b019
xor al, al
jmp 0x43b02e
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov dword [esi + 0x18], eax
test eax, eax
je 0x43b036
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 8]
call fcn.0041be4a
push 0x50b030
lea eax, [ebp - 8]
push eax
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x43cd60
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ebp + 8], 0
mov dword [ebp - 4], ecx
je 0x43cdea
cmp dword [ecx + 0x30], 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push edi
mov edi, 0x4ef644
mov eax, edi
cmovne eax, dword [ecx + 0x30]
push eax
push 0x416
push dword [ecx + 4]
call ebx
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
call esi
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
cmovne edi, dword [eax + 0x38]
push edi
push 0x417
push dword [eax + 4]
call ebx
push eax
call esi
mov edi, dword [ebp - 4]
push 1
push 0
push 0x160c
push 0x419
push dword [edi + 4]
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call esi
push 1
push 0
push 0x160c
push 0x41a
push dword [edi + 4]
call ebx
push eax
call esi
pop edi
pop esi
pop ebx
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x43dc89
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0x4c
mov eax, 0x4cc003
call fcn.0040193b
mov edi, ecx
xor ebx, ebx
mov esi, 0x4ef644
mov dword [ebp - 4], ebx
mov eax, esi
cmp dword [ebp + 0xc], ebx
cmovne eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov edx, eax
cmp edx, 0xffffffff
je 0x43deb1
xor ecx, ecx
inc ecx
and edx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
and eax, 6
jne 0x43dcdb
test edx, edx
jne 0x43dd9f
mov bl, cl
jmp 0x43deb1
cmp dword [edi + 0xa8], 0x3e9
jne 0x43dd7f
push dword [edi + 0x2c]
lea ecx, [ebp - 0x58]
call fcn.0043ce58
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.004ba6d4
push 0xffffffffffffffff
push str.is_hidden_or_system__overwrite_anyway_
lea ecx, [ebp - 0x1c]
call fcn.004b9d49
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x24]
call fcn.004ba6d4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], vtable.micro::utils::QString.0
call fcn.004b9e50
lea ecx, [ebp - 0x58]
call fcn.0041ff7e
dec eax
dec eax
je 0x43de87
sub eax, 0x419
je 0x43de8e
dec eax
je 0x43de7b
sub eax, 0x52
je 0x43de61
dec eax
dec eax
jne 0x43dd71
mov dword [edi + 0xa8], 0x3eb
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.0043ce12
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0xa8]
sub eax, 0x3ea
je 0x43dead
dec eax
je 0x43de44
test edx, edx
je 0x43deb1
cmp dword [edi + 0xa4], 0x3e9
jne 0x43de34
push dword [edi + 0x2c]
lea ecx, [ebp - 0x58]
call fcn.0043ce58
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2c]
call fcn.004ba6d4
push 0xffffffffffffffff
push str.is_readonly__overwrite_anyway_
lea ecx, [ebp - 0x1c]
call fcn.004b9d49
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x24]
call fcn.004ba6d4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], vtable.micro::utils::QString.0
call fcn.004b9e50
lea ecx, [ebp - 0x58]
call fcn.0041ff7e
dec eax
dec eax
je 0x43de87
sub eax, 0x419
je 0x43de8e
dec eax
je 0x43dea1
sub eax, 0x52
je 0x43de61
dec eax
dec eax
jne 0x43de29
mov dword [edi + 0xa4], 0x3eb
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.0043ce12
mov eax, dword [edi + 0xa4]
sub eax, 0x3ea
je 0x43dead
dec eax
jne 0x43deb1
cmp dword [ebp + 0xc], 0
push 0x80
cmovne esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
je 0x43dead
xor eax, eax
inc eax
jmp 0x43deaf
cmp dword [ebp + 0xc], 0
push 0x80
cmovne esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
je 0x43de8e
jmp 0x43de91
mov dword [edi + 0xa8], 0x3ea
jmp 0x43de8e
mov byte [edi + 0xb2], 1
mov byte [ebp - 0x10], bl
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.0043ce12
mov eax, dword [ebp - 0x10]
jmp 0x43deaf
mov dword [edi + 0xa4], 0x3ea
jmp 0x43de8e
mov al, bl
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
mov dword [ebp + 8], vtable.micro::utils::QString.0
call fcn.004b9e50
mov al, bl
call fcn.00401a13
ret 8
Function at 0x43efb2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x4ef644
cmp dword [eax + 4], 0
cmovne ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43eff0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
je 0x43efeb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 3
je 0x43efeb
xor eax, eax
jmp 0x43effc
xor eax, eax
inc eax
jmp 0x43effc
movzx eax, al
and eax, 0x10
or eax, 0x20
shr eax, 4
pop ebp
ret 4

Function at 0x43fa3c
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x20], 0
je 0x43fa49
xor al, al
pop esi
ret
push edi
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.DLL_SetEvent]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.DLL_ResetEvent]
lea eax, [esi + 0x24]
xor edi, edi
push eax
push edi
push esi
push 0x43fa2d
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 4], eax
test eax, eax
je 0x43fa9f
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x43fa93
cmp eax, 0x102
jne 0x43fa9f
mov byte [esi + 0x20], 1
mov al, 1
jmp 0x43faa1
push dword [esi + 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esi + 4], edi
xor al, al
pop edi
pop esi
ret
Function at 0x4465be
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov eax, ecx
xor dl, dl
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
mov dword [ebp - 8], eax
xor eax, eax
push edi
xor edi, edi
mov dword [ebp - 4], edx
inc eax
cmp dword [esi + 0x14], edi
je 0x4465ec
cmp dword [esi + 0x14], eax
je 0x4465ec
or eax, 0xffffffff
jmp 0x4466c5
mov eax, dword [esi + 0x28]
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], eax
test eax, eax
jle 0x44663b
cmp ecx, eax
jge 0x446603
lea eax, [ecx - 1]
mov dword [ebp + 0xc], eax
push eax
push 0xa
push dword [esi + 0x24]
push ebx
call sub.msvcrt.dll__memccpy
mov edx, eax
add esp, 0x10
test edx, edx
je 0x44661c
sub eax, ebx
jmp 0x44661f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
add ebx, eax
sub ecx, eax
add edi, eax
mov dword [ebp + 8], ecx
mov byte [ebx], 0
add dword [esi + 0x24], eax
sub dword [esi + 0x28], eax
test edx, edx
jne 0x446697
mov edx, dword [ebp - 4]
xor eax, eax
inc eax
cmp ecx, eax
je 0x4466bd
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x24]
jne 0x44665e
mov eax, dword [esi + 0x1c]
and dword [esi + 0x28], 0
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], 0x4000
test dl, dl
jne 0x4466b4
push 0
push dword [esi + 0x2c]
push dword [esi + 0x20]
push dword [esi + 0x18]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x4466b8
mov edx, dword [ebp - 4]
test eax, eax
push 1
movzx edx, dl
pop ecx
cmove edx, ecx
sub dword [esi + 0x2c], eax
add dword [esi + 0x28], eax
add dword [esi + 0x20], eax
mov dword [ebp - 4], edx
jmp 0x4465ec
sub ebx, 2
push 0x4e404c
push ebx
call dword [sym.imp.msvcrt.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x4466c3
mov word [ebx], 0xa
dec edi
jmp 0x4466c3
test edi, edi
jne 0x4466c3
or edi, 0xffffffff
jmp 0x4466c3
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x446859
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x41c], 1
push 0x10
push ecx
mov eax, dword [edi + 4]
mov dword [eax + 0x14], ecx
mov eax, dword [edi + 4]
mov dword [eax + 0x30], ecx
mov eax, dword [edi + 4]
mov dword [eax + 0x440], ecx
mov eax, dword [edi + 4]
or dword [eax + 0x18], 0xffffffff
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.msvcrt.dll_memset]
push 2
pop eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x408]
push esi
push eax
call dword [sym.imp.msvcrt.dll_strcpy]
lea eax, [ebp - 0x408]
push 0x3a
push eax
call dword [sym.imp.msvcrt.dll_strchr]
mov ebx, dword [sym.imp.WS2_32.dll_htons]
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x4468fd
push 0x4e4050
push 0x4e4054
call dword [sym.imp.WS2_32.dll_getservbyname]
test eax, eax
jne 0x446929
xor eax, eax
jmp 0x446a01
mov byte [esi], 0
inc esi
movsx eax, byte [esi]
push eax
call dword [sym.imp.msvcrt.dll_isdigit]
pop ecx
test eax, eax
je 0x44691d
push esi
call dword [sym.imp.msvcrt.dll_atoi]
pop ecx
push eax
call ebx
jmp 0x44692d
push 0x4e4050
push esi
call dword [sym.imp.WS2_32.dll_getservbyname]
mov ax, word [eax + 8]
push dword [ebp + 0xc]
mov word [ebp - 0x416], ax
call ebx
mov word [ebp - 0x416], ax
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
or ebx, 0xffffffff
mov dword [ebp - 0x414], eax
cmp eax, ebx
jne 0x446987
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, eax
test ecx, ecx
je 0x4468f6
movsx eax, word [ecx + 0xa]
push eax
mov eax, dword [ecx + 0xc]
push dword [eax]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.msvcrt.dll_memcpy]
add esp, 0xc
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, ebx
je 0x4468f6
push 4
lea eax, [ebp - 0x41c]
push eax
push 4
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, ebx
jne 0x4469c4
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x4468f6
push 0x10
lea eax, [ebp - 0x418]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, ebx
je 0x4469b8
mov eax, dword [edi + 4]
mov dword [eax + 0x18], esi
push dword [edi + 4]
push 0x32
call fcn.00446785
test eax, eax
jne 0x4469fe
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [edi + 4]
mov dword [eax + 0x18], ebx
jmp 0x4468f6
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret 8
Function at 0x446a14
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
cmp dword [esi + 0x18], 0xffffffff
je 0x446aaa
cmp dword [esi + 0x14], 0
je 0x446a3e
xor eax, eax
jmp 0x446a99
push eax
lea eax, [ebp - 0x104]
push str._s_r_n
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x104]
push 0
push eax
call dword [sym.imp.msvcrt.dll_strlen]
pop ecx
push eax
lea eax, [ebp - 0x104]
push eax
push dword [esi + 0x18]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x446a90
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 0x2745
cmp eax, ecx
jne 0x446a3a
mov dword [ebp - 0x108], ecx
jmp 0x446ab4
push esi
push dword [ebp + 0xc]
call fcn.00446785
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401000
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 0x108], 0x2746
push 0x50af1c
lea eax, [ebp - 0x108]
push eax
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x446b9e
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x124], eax
xor eax, eax
push esi
push edi
mov ecx, dword [ebx + 0x18]
lea edi, [ebp - 0x12]
mov word [ebp - 0x14], ax
xor esi, esi
stosd dword es:[edi], eax
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x120], 1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, esi
mov edi, dword [ebp - 0x124]
mov edx, dword [edi + 0x18]
mov dword [ebp - 0x11c], edx
cmp dword [ebp + eax*4 - 0x11c], ecx
je 0x446c03
inc eax
cmp eax, 1
jb 0x446bf4
cmp eax, 1
jne 0x446c18
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x120], 2
lea eax, [ebp - 0x134]
mov dword [ebp - 0x130], esi
push eax
cmp edx, ecx
mov dword [ebp - 0x134], 0x1e
push esi
cmovb edx, ecx
lea eax, [ebp - 0x120]
push esi
push eax
lea eax, [edx + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x446c70
call dword [sym.imp.msvcrt.dll__errno]
push 0x400
push dword [eax]
call dword [sym.imp.msvcrt.dll_strerror]
pop ecx
push eax
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0xc
jmp 0x446c85
test eax, eax
jne 0x446c93
lea eax, [edi + 0x40]
push str.timed_out_waiting_for_connection
push eax
call dword [sym.imp.msvcrt.dll_strcpy]
pop ecx
pop ecx
push dword [ebx + 0x18]
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x446d17
lea eax, [ebp - 0x120]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x446d1d
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.WS2_32.dll_accept]
mov dword [ebp - 0x12c], eax
call dword [sym.imp.msvcrt.dll__errno]
push dword [ebx + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x128], eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x12c]
test eax, eax
jle 0x446cf7
xor esi, esi
mov dword [ebx + 0x18], eax
inc esi
mov dword [ebx + 0x30], edi
jmp 0x446d46
push 0x400
push dword [ebp - 0x128]
call dword [sym.imp.msvcrt.dll_strerror]
pop ecx
push eax
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0xc
or dword [ebx + 0x18], 0xffffffff
jmp 0x446d46
lea eax, [ebp - 0x120]
push eax
push dword [edi + 0x18]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x446d46
push dword [ebx + 0x18]
call dword [sym.imp.WS2_32.dll_closesocket]
or dword [ebx + 0x18], 0xffffffff
push edi
push 0x32
call fcn.00446785
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret 8
Function at 0x448826
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044a575
Function at 0x44b530
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x2b4]
push 0x2b0
push edi
push eax
mov ebx, ecx
mov dword [ebp - 0x2b8], edi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2b8]
push 0x4001
push 0x2b4
push eax
push edi
push 0x4f44f8
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x44b588
mov dword [ebx], eax
mov ecx, 0x89
call fcn.004c141d
push 1
push 0xa
push 0x20
push 0x10
push 0x10
mov dword [ebp - 0x2c0], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push edi
push dword [ebp - 0x2c0]
test eax, eax
mov esi, edi
cmovne esi, eax
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
push 1
push edi
push esi
mov dword [ebx + 0x10], 3
mov dword [ebx + 0x20], 4
mov dword [ebx + 0x24], 5
mov dword [ebx + 0x28], 6
mov dword [ebx + 0x2c], 7
mov dword [ebx + 0x30], 8
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov dword [ebp - 0x2bc], eax
test eax, eax
je 0x44b615
push eax
push 0xffffffffffffffff
push dword [ebx]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [ebp - 0x2bc]
mov dword [ebx + 4], eax
call dword [sym.imp.USER32.dll_DestroyIcon]
push 1
push 1
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov dword [ebp - 0x2bc], eax
test eax, eax
je 0x44b644
push eax
push 0xffffffffffffffff
push dword [ebx]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [ebp - 0x2bc]
mov dword [ebx + 8], eax
call dword [sym.imp.USER32.dll_DestroyIcon]
push 1
push 2
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov dword [ebp - 0x2bc], eax
test eax, eax
je 0x44b66f
push eax
push edi
push dword [ebx]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [ebp - 0x2bc]
call dword [sym.imp.USER32.dll_DestroyIcon]
push 1
push 3
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov edi, eax
test edi, edi
je 0x44b695
push edi
push 0xffffffffffffffff
push dword [ebx]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push edi
mov dword [ebx + 0x10], eax
call dword [sym.imp.USER32.dll_DestroyIcon]
push 0x69
pop ecx
call fcn.004bf7b2
mov ecx, 0x4e46fc
mov dword [ebx + 0x14], eax
call fcn.004bf818
mov ecx, str..png
mov dword [ebx + 0x18], eax
call fcn.004bf818
mov dword [ebx + 0x1c], eax
test esi, esi
je 0x44b6c5
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov eax, dword [ebp - 0x2c0]
pop edi
pop esi
pop ebx
test eax, eax
je 0x44b6d9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x44e577
Capabilities:
Read file on windows

Disassembly:
push 0x18
mov eax, 0x4cdfd0
call fcn.0040193b
mov dword [ebp - 0x10], ecx
xor ebx, ebx
lea ecx, [ebp - 0x24]
push ebx
push dword [ebp + 8]
call fcn.004bac46
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.004bae28
mov edi, eax
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x20], ebx
je 0x44e60e
push edi
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new___unsigned_int_]
mov esi, eax
pop ecx
test esi, esi
je 0x44e60e
push ebx
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push eax
push edi
push esi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
cmp dword [esi], 0x9ac6cdd7
jne 0x44e5ea
push ebx
push ebx
lea eax, [esi + 0x16]
push eax
lea eax, [edi - 0x16]
push eax
call dword [sym.imp.GDI32.dll_SetWinMetaFileBits]
mov edi, dword [ebp - 0x10]
mov dword [edi + 8], eax
jmp 0x44e600
movzx eax, word [esi]
cmp eax, 1
je 0x44e5f7
cmp eax, 2
jne 0x44e5fd
push ebx
push ebx
push esi
push edi
jmp 0x44e5dc
mov edi, dword [ebp - 0x10]
push esi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
cmp dword [edi + 8], ebx
pop ecx
setne bl
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.micro::files::QFile.0
call fcn.004baeaf
mov al, bl
call fcn.00401a13
ret 4