joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416dc0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x184
push esi
push 0x80
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x10], 0x80
call fcn.005071d0
mov eax, dword [esp + 0x19c]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x416e3b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x100
lea ecx, [esp + 0x8c]
mov esi, eax
push ecx
push esi
call fcn.00405770
mov edx, dword [esp + 0x198]
push eax
mov eax, dword [edx]
push esi
push str.getsockname___failed_with_errno__d:__s
push eax
call fcn.00410090
add esp, 0x1c
pop esi
add esp, 0x184
ret
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x190]
lea ecx, [ebx + 0x3d4]
push ecx
lea edx, [ebx + 0x3a4]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00416c10
add esp, 0x10
test eax, eax
jne 0x416ea0
push edi
call fcn.00505d24
mov esi, eax
call fcn.00505d24
push 0x100
lea edx, [esp + 0x94]
mov edi, eax
mov eax, dword [esi]
push edx
push eax
call fcn.00405770
mov ecx, dword [edi]
mov edx, dword [ebx]
push eax
push ecx
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push edx
call fcn.00410090
add esp, 0x1c
pop edi
pop ebx
pop esi
add esp, 0x184
ret

Function at 0x417080
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x104
push esi
mov esi, dword [eax]
push 4
lea ecx, [esp + 8]
push ecx
push 1
push 6
push edx
mov dword [esp + 0x18], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x4170cc
push 0x100
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.00405770
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.0040ffc0
add esp, 0x18
pop esi
add esp, 0x104
ret
Function at 0x41aab0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration
Start tcp server

Disassembly:
sub esp, 0x30
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_socket]
push 6
push 1
push 2
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x14], 1
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41aae2
pop esi
or eax, eax
pop ebx
add esp, 0x30
ret
xor eax, eax
push ebp
mov dword [esp + 0x14], eax
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, 2
push 0x7f000001
mov word [esp + 0x1c], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov edi, dword [esp + 0x50]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0xffff
xor ecx, ecx
push ebx
mov dword [esp + 0x30], eax
mov word [esp + 0x2e], cx
mov dword [edi + 4], 0xffffffff
mov dword [edi], 0xffffffff
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x41ac6a
push 0x10
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x41ac6a
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x41ac6a
push 1
push ebx
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x41ac6a
push 0
push 1
push 2
call esi
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x41ac6a
push 0x10
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x41ac6a
push 0
push 0
push ebx
call dword [sym.imp.WS2_32.dll_accept]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
je 0x41ac6a
push edi
push 0x572fc4
lea edx, [esp + 0x30]
push 0xc
push edx
call fcn.004199c0
lea eax, [esp + 0x38]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41abe5
mov ecx, dword [edi]
sub eax, edx
push 0
mov esi, eax
push esi
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, esi
jne 0x41ac6a
mov eax, dword [edi + 4]
push 0
push 0xc
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, esi
jne 0x41ac6a
mov eax, esi
lea ecx, [esp + 0x34]
lea ebp, [esp + 0x28]
cmp esi, 4
jb 0x41ac45
jmp 0x41ac30
mov edx, dword [ebp]
cmp edx, dword [ecx]
jne 0x41ac6a
sub eax, 4
add ecx, 4
add ebp, 4
cmp eax, 4
jae 0x41ac30
test eax, eax
je 0x41ac89
mov dl, byte [ecx]
cmp dl, byte [ebp]
jne 0x41ac6a
cmp eax, 1
jbe 0x41ac89
mov dl, byte [ecx + 1]
cmp dl, byte [ebp + 1]
jne 0x41ac6a
cmp eax, 2
jbe 0x41ac89
mov al, byte [ecx + 2]
cmp al, byte [ebp + 2]
je 0x41ac89
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
push ebx
call esi
mov ecx, dword [edi]
push ecx
call esi
mov edx, dword [edi + 4]
push edx
call esi
pop edi
pop ebp
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x30
ret
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
Function at 0x41ad50
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push 0
push 0
call fcn.00505356
add esp, 0x18
test eax, eax
je 0x41ad73
cmp eax, 0xffffffff
jne 0x41ad75
xor eax, eax
ret

Function at 0x41afb0
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x5f8], 2
jne 0x41afc6
mov dword [esp + 4], eax
jmp fcn.0041af60
mov eax, 1
ret
Function at 0x41dc50
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x14
push esi
push 0
push ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], esi
call fcn.005071d0
mov eax, dword [esp + 0x2c]
add esp, 0xc
push 0xf0000040
push eax
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x41dd30
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 4]
lea edx, [esp]
push edx
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x41dd11
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp]
push 0
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x41dd11
mov ecx, dword [esp]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 4
push ecx
call ebp
test eax, eax
je 0x41dd10
cmp esi, dword [esp + 0xc]
jb 0x41dd10
mov eax, dword [esp + 4]
push 0
lea edx, [esp + 0x18]
push edx
push ebx
push 2
push eax
call ebp
pop ebp
mov eax, dword [esp]
test eax, eax
je 0x41dd1f
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 4]
test eax, eax
je 0x41dd30
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
add esp, 0x14
ret

Function at 0x4201a0
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
push esi
xor ebp, ebp
push edi
lea esi, [ebp + 1]
push esi
push ebp
call dword [0x58e0c4]
mov edi, eax
add esp, 8
test edi, edi
je 0x420168
lea ebx, [ebx]
mov eax, dword [esp + 0x14]
push esi
push edi
push eax
mov ebp, edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x420180
cmp esi, ebx
je 0x420180
cmp esi, 0x8000
ja 0x420180
cmp esi, ebx
jb 0x420179
push esi
push edi
call dword [0x58e0c4]
mov edi, eax
add esp, 8
test edi, edi
jne 0x420130
push ebp
call dword [0x58e0c0]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call dword [0x58e0c0]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
jmp 0x420110
Function at 0x437450
Capabilities:
Get socket status

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x18]
xor eax, eax
cmp ebx, eax
je 0x437462
cmp dword [ebx], eax
jne 0x437491
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x43746e
cmp dword [ecx], eax
jne 0x437495
mov edx, dword [esp + 0x20]
cmp edx, eax
je 0x43747a
cmp dword [edx], eax
jne 0x437499
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
call fcn.00437400
add esp, 8
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push esi
lea esi, [esp + 0xc]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, dword [esp + 0x2c]
cmp esi, eax
jg 0x4374c5
jl 0x4374b5
cmp edi, eax
jae 0x4374bb
mov dword [esp + 0xc], eax
jmp 0x437537
cmp esi, eax
jl 0x43752f
jg 0x4374c5
cmp edi, eax
jbe 0x43752f
push ebp
push eax
push 0x3e8
push esi
push edi
call fcn.0050b390
push 0
push 0x3e8
push edx
push eax
mov ebp, eax
mov ebx, edx
call fcn.0050aec0
push 0
sub edi, eax
push 0x3e8
sbb esi, edx
push esi
push edi
call fcn.0050aec0
mov dword [esp + 0x18], edx
test ebx, ebx
jl 0x437516
jg 0x437509
cmp ebp, 0x7fffffff
jbe 0x437516
mov ebp, SysReAllocString
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
xor eax, eax
pop ebp
jmp 0x437537
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
cmp edx, eax
je 0x43753f
cmp dword [edx], eax
jne 0x437541
xor edx, edx
cmp ecx, eax
je 0x437549
cmp dword [ecx], eax
jne 0x43754b
xor ecx, ecx
cmp ebx, eax
je 0x437555
cmp dword [ebx], eax
je 0x437555
mov eax, ebx
mov esi, dword [esp + 0xc]
push esi
push edx
push ecx
push eax
mov eax, dword [esp + 0x2c]
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x45651e
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x52d6bd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x2c], ebp
xor ebx, ebx
mov dword [esp + 0x28], ebx
cmp dword [edx + 0x14], 0x10
jb 0x45655f
mov eax, dword [edx]
mov dword [esp + 0x20], eax
jmp 0x456565
mov eax, edx
mov dword [esp + 0x20], edx
mov ecx, dword [edx + 0x10]
mov dword [ebp + 0x14], 0xf
mov dword [ebp + 0x10], ebx
mov byte [ebp], bl
mov dword [esp + 0x38], ebx
mov edi, ebx
mov dword [esp + 0x28], 1
test ecx, ecx
je 0x4566ce
push 3
pop esi
jmp 0x456594
mov ecx, dword [esp + 0x24]
mov al, byte [eax]
dec ecx
mov byte [esp + edi + 0x18], al
inc edi
mov eax, dword [esp + 0x20]
mov dl, byte [esp + 0x19]
inc eax
mov dword [esp + 0x24], ecx
mov ch, byte [esp + 0x1a]
mov cl, byte [esp + 0x18]
mov dword [esp + 0x20], eax
mov byte [esp + 0x17], ch
mov byte [esp + 0x15], dl
mov byte [esp + 0x16], cl
cmp edi, esi
jne 0x45662a
mov al, cl
mov edi, ebx
shr al, 2
and cl, 3
mov byte [esp + 0x1c], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [esp + 0x1d], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], al
movzx eax, byte [esp + edi + 0x1c]
mov ecx, ebp
movzx eax, byte [eax + 0x563f30]
push eax
push 1
call fcn.0045994a
inc edi
cmp edi, 4
jl 0x4565fc
mov dl, byte [esp + 0x15]
mov edi, ebx
mov cl, byte [esp + 0x16]
mov eax, dword [esp + 0x20]
mov ch, byte [esp + 0x17]
cmp dword [esp + 0x24], 0
ja 0x456590
test edi, edi
je 0x4566ce
mov eax, edi
cmp edi, esi
jge 0x456660
cmp eax, esi
jae 0x4566e4
mov byte [esp + eax + 0x18], bl
inc eax
cmp eax, esi
jl 0x456645
mov ch, byte [esp + 0x1a]
mov dl, byte [esp + 0x19]
mov cl, byte [esp + 0x18]
mov al, cl
and cl, 3
shr al, 2
mov byte [esp + 0x1c], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [esp + 0x1d], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [esp + 0x1f], ch
lea eax, [edi + 1]
mov byte [esp + 0x1e], dl
test eax, eax
jle 0x4566ba
lea esi, [edi + 1]
movzx eax, byte [esp + ebx + 0x1c]
mov ecx, ebp
movzx eax, byte [eax + 0x563f30]
push eax
push 1
call fcn.0045994a
inc ebx
cmp ebx, esi
jl 0x45669c
push 3
pop esi
cmp edi, esi
jge 0x4566ce
sub esi, edi
push 0x3d
push 1
mov ecx, ebp
call fcn.0045994a
dec esi
jne 0x4566c0
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
call fcn.00504913
int3
Function at 0x459073
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52dcd9
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov edi, dword [ebp + 8]
or ebx, 0xffffffff
cmp edi, ebx
jne 0x4590c1
xor eax, eax
jmp 0x45923d
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4590eb
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x4590eb
dec dword [edx]
mov edx, dword [esi + 0x20]
mov eax, dword [ebp + 8]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x45923d
cmp dword [esi + 0x50], 0
je 0x45923b
mov ecx, esi
call fcn.0045a406
xor ecx, ecx
cmp dword [esi + 0x40], ecx
jne 0x459118
push dword [esi + 0x50]
push edi
call fcn.00454c1b
test al, al
pop ecx
pop ecx
cmovne ebx, edi
jmp 0x45923b
mov eax, dword [ebp + 8]
push ecx
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
push 8
mov byte [esp + 0x18], al
mov dword [esp + 0x44], 0xf
call fcn.0045df1f
and dword [esp + 0x50], 0
lea eax, [esi + 0x48]
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x3c]
mov esi, dword [esi + 0x40]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x2c]
cmp edi, 0x10
lea edx, [esp + 0x2c]
mov edi, dword [esi]
cmovae ecx, dword [esp + 0x2c]
cmovae edx, dword [esp + 0x2c]
add eax, ecx
push eax
push edx
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
lea eax, [esp + 0x21]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x3c]
call dword [edi + 0x1c]
test eax, eax
js 0x45922e
cmp eax, 1
jg 0x459211
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x28]
cmp edi, 0x10
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmovae eax, ecx
sub edx, eax
mov dword [esp + 0x1c], edx
je 0x4591de
push dword [esi + 0x50]
cmp edi, 0x10
lea eax, [esp + 0x2c]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.00504cbe
mov edx, dword [esp + 0x2c]
add esp, 0x10
cmp edx, eax
jne 0x45922e
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x10]
mov byte [esi + 0x45], 1
cmp dword [esp + 0x20], eax
jne 0x45920c
test edx, edx
jne 0x45914b
cmp dword [esp + 0x38], 0x20
jae 0x45922e
push edx
push 8
lea ecx, [esp + 0x30]
call fcn.0045994a
jmp 0x459147
mov ebx, dword [ebp + 8]
jmp 0x45922e
cmp eax, 3
jne 0x45922e
mov eax, dword [esp + 0x14]
push dword [eax + 0x50]
push dword [esp + 0x14]
call fcn.00454c1b
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.0044ea77
mov eax, ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00502653
mov esp, ebp
pop ebp
ret 4
Function at 0x45a284
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52de6e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x45a3be
cmp byte [ebx + 0x45], 0
je 0x45a3be
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x45a2e4
xor al, al
jmp 0x45a3c0
xor eax, eax
mov dword [esp + 0x2c], 0xf
push eax
push 8
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], eax
mov byte [esp + 0x20], al
call fcn.0045df1f
and dword [esp + 0x40], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x1c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x45a349
dec eax
je 0x45a34d
dec eax
dec eax
je 0x45a3ab
xor bl, bl
jmp 0x45a3ad
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x45a38c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00504cbe
add esp, 0x10
cmp esi, eax
jne 0x45a345
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x45a3ab
test esi, esi
jne 0x45a30f
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0045994a
jmp 0x45a307
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0044ea77
mov al, bl
jmp 0x45a3c0
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00502653
mov esp, ebp
pop ebp
ret
Function at 0x45d876
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x52e2d6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov ebp, dword [esp + 0x28]
push ebp
call fcn.0044e5e5
and dword [esp + 0x20], 0
lea esi, [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add ebx, 0x18
mov dword [esp + 0x28], ebx
mov dword [ebx], eax
lea edi, [ebx + 8]
movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebx + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0044e5e5
lea eax, [ebp + 0x48]
mov byte [esp + 0x20], 1
push eax
lea ecx, [ebx + 0x30]
call fcn.00454a48
push ecx
lea eax, [ebp + 0x58]
mov byte [esp + 0x24], 2
push eax
lea ecx, [ebx + 0x40]
mov dword [ebx + 0x3c], vtable.sensors_analytics::utils::ObjectNode.0
call fcn.0045d916
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x46014c
Capabilities:
Get system information on windows

Disassembly:
push 0x134
mov eax, 0x52e96b
call fcn.00507844
lea eax, [ebp - 0x80]
push eax
call fcn.0046041a
and dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x38], 9
push 6
pop eax
je 0x460184
cmp word [ebp - 0x38], ax
jne 0x460186
mov bl, 1
push 0x20
pop esi
push 0x40
pop eax
test bl, bl
cmovne esi, eax
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [ebp - 0x134]
push 0xffffffffffffffc4
pop ecx
cdq
idiv ecx
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x68]
mov edi, eax
call fcn.00480cb6
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
call fcn.00460333
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 2
call fcn.00455650
mov dword [ebp - method.DuiLib::CControlUI.virtual_372], vtable.sensors_analytics::PropertiesNode.0
push str.ostype
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea4a
push str.windows
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x140]
call fcn.0045514d
xor ebx, ebx
mov byte [ebp - 4], 3
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0044ea77
push str.os_version
lea ecx, [ebp - 0x2c]
call fcn.0044ea4a
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.004550a2
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea77
push str.osbit
lea ecx, [ebp - 0x2c]
call fcn.0044ea4a
push esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x140]
call fcn.00454e8a
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea77
push str.oslang
lea ecx, [ebp - 0x2c]
call fcn.0044ea4a
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.004550a2
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea77
push str.oszone
lea ecx, [ebp - 0x2c]
call fcn.0044ea4a
push edi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x140]
call fcn.00454e8a
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea77
mov ecx, dword [0x5952b0]
test ecx, ecx
je 0x4602f5
mov ecx, dword [ecx]
lea eax, [ebp - 0x140]
push eax
call fcn.0045560d
lea ecx, [ebp - 0x13c]
call fcn.00458281
push dword [ebp - 0x13c]
call fcn.0050264e
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.0044ea77
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.0044ea77
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.004510af
call fcn.005077f3
ret
Function at 0x46041a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xb8
mov eax, 0x52e9b5
call fcn.00507844
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0xb8], ebx
push 0x7e
mov word [ebp - 0x94], ax
lea eax, [ebp - 0x92]
push ebx
push eax
mov dword [ebp - 0xc4], esi
call fcn.005071d0
add esp, 0xc
mov dword [ebp - 0xc0], 0x40
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xbc], ebx
push eax
lea eax, [ebp - 0xb0]
push eax
push ebx
push 0x20019
push ebx
push ebx
push ebx
push str.Control_PanelDesktopMuiCached
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4604d6
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xb4], 7
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xb4]
push eax
push ebx
push str.MachinePreferredUILanguages
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
call fcn.00450d79
mov edi, 0x5642b0
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0xb8], 1
call fcn.00450d55
pop ecx
push eax
push ebx
push edi
mov ecx, esi
call fcn.004608d0
cmp eax, 0xffffffff
je 0x460532
push eax
push ebx
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
call fcn.004607b3
push eax
mov ecx, esi
call fcn.00460790
push ebx
push 1
lea ecx, [ebp - 0xac]
call fcn.004510af
mov eax, esi
call fcn.005077f3
ret 4

Function at 0x46053c
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
jne 0x46056b
push edi
xor edi, edi
push edi
push edi
push esi
push 0x46074d
push edi
push edi
call fcn.00505356
add esp, 0x18
mov dword [esi + 4], eax
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
pop edi
cmp dword [esi + 8], 0
je 0x46057a
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop esi
ret