joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4269b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
cmp dword [esp + 0xc], 0x1f
mov eax, dword [esp + 8]
mov eax, dword [eax]
push ebp
mov ebp, dword [eax + 0x140]
mov dword [esp + 4], eax
jne 0x426b07
push ebx
push esi
push edi
lea ebx, [ebp + 0x1cb0]
lea edi, [ebp + 0x1eb0]
mov dword [edi], ebx
cmp ebx, edi
jae 0x4269e7
mov byte [ebx], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x4269f2
mov byte [eax], 0xfa
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x4269fd
mov byte [eax], 0x1f
inc dword [edi]
movzx ecx, word [ebp + 0x1ca8]
mov esi, dword [sym.imp.WS2_32.dll_htons]
push ecx
call esi
movzx edx, ax
movzx eax, word [ebp + 0x1caa]
push eax
mov dword [esp + 0x20], edx
call esi
movzx ecx, ax
mov eax, dword [edi]
cmp eax, edi
jae 0x426a2f
mov dl, byte [esp + 0x1c]
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x426a3d
mov dl, byte [esp + 0x1d]
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x426a47
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x426a51
mov byte [eax], ch
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x426a5c
mov byte [eax], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x426a67
mov byte [eax], 0xf0
inc dword [edi]
mov eax, dword [edi]
mov esi, dword [esp + 0x10]
mov dword [ebp + 0x1eb4], eax
sub eax, ebx
sub eax, 2
push eax
lea eax, [ebp + 0x1cb2]
push 0x3e
mov dword [edi], ebx
call fcn.00425ef0
mov edi, dword [esp + 0x20]
mov edx, dword [edi + 0x420]
add esp, 8
push 0
push 3
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_send]
push edx
call ebx
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jns 0x426ac2
call esi
push eax
mov eax, dword [esp + 0x14]
push str.Sending_data_failed___d_
push eax
call fcn.004100a0
add esp, 0xc
lea ecx, [ebp + 0x1cb3]
push ecx
push edi
mov eax, 4
call fcn.00426740
mov edx, dword [edi + 0x420]
add esp, 8
push 0
push 2
add ebp, 0x1cb7
push ebp
push edx
call ebx
test eax, eax
jns 0x426b04
call esi
push eax
mov eax, dword [esp + 0x14]
push str.Sending_data_failed___d_
push eax
call fcn.004100a0
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret
Function at 0x42c170
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov esi, eax
mov ebp, dword [esi + 0x424]
mov edi, dword [esi]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebp
or ebx, 0xffffffff
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x42c1bf
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push ebp
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
push ebp
push esi
call fcn.00417280
add esp, 8
cmp ebx, 0xffffffff
jne 0x42c1ec
push str.Error_accept__ing_server_connect
push edi
call fcn.004100a0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1e
pop ebx
add esp, 0x84
ret
push str.Connection_accepted_from_server_n
push edi
call fcn.0040ffd0
push 1
push ebx
mov dword [esi + 0x574], 0
mov dword [esi + 0x424], ebx
call fcn.0043c590
add esp, 0x10
mov dword [esi + 0x5c0], 1
cmp dword [edi + 0x628], 0
je 0x42c265
push 1
push edi
call fcn.0040dc70
mov ecx, dword [edi + 0x62c]
mov edx, dword [edi + 0x628]
push 1
push ebx
push ecx
call edx
push 0
push edi
mov ebx, eax
call fcn.0040dc70
add esp, 0x1c
test ebx, ebx
je 0x42c265
call fcn.0042c0d0
pop edi
pop esi
pop ebp
mov eax, 0x2a
pop ebx
add esp, 0x84
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x84
ret
Function at 0x437430
Capabilities:
Get socket status

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x18]
xor eax, eax
cmp ebx, eax
je 0x437442
cmp dword [ebx], eax
jne 0x437471
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x43744e
cmp dword [ecx], eax
jne 0x437475
mov edx, dword [esp + 0x20]
cmp edx, eax
je 0x43745a
cmp dword [edx], eax
jne 0x437479
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
call fcn.004373e0
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 0x4374a5
jl 0x437495
cmp edi, eax
jae 0x43749b
mov dword [esp + 0xc], eax
jmp 0x437517
cmp esi, eax
jl 0x43750f
jg 0x4374a5
cmp edi, eax
jbe 0x43750f
push ebp
push eax
push 0x3e8
push esi
push edi
call fcn.0050b430
push 0
push 0x3e8
push edx
push eax
mov ebp, eax
mov ebx, edx
call fcn.0050af60
push 0
sub edi, eax
push 0x3e8
sbb esi, edx
push esi
push edi
call fcn.0050af60
mov dword [esp + 0x18], edx
test ebx, ebx
jl 0x4374f6
jg 0x4374e9
cmp ebp, 0x7fffffff
jbe 0x4374f6
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 0x437517
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
cmp edx, eax
je 0x43751f
cmp dword [edx], eax
jne 0x437521
xor edx, edx
cmp ecx, eax
je 0x437529
cmp dword [ecx], eax
jne 0x43752b
xor ecx, ecx
cmp ebx, eax
je 0x437535
cmp dword [ebx], eax
je 0x437535
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 0x43e670
Capabilities:
Move file

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.0041add0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
add esp, 4
push 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x43e70d
lea eax, [esp + 0x10]
push eax
call fcn.0041add0
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], esi
mov dword [ecx + 4], edi
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebp
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.0041ae70
add esp, 0x20
test edx, edx
ja 0x43e717
jb 0x43e6ef
cmp eax, 0x3e8
ja 0x43e717
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x43e6a5
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret
Function at 0x44b130
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x58e0bc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x44b155
pop edi
pop esi
pop ecx
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
push ebx
add edx, eax
push ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 8], edx
cmp ebp, dword [esi + 0x10]
jbe 0x44b19c
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebp
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov ebp, dword [esi + 0x14]
add esp, 0x18
jmp 0x44b1a0
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esi]
push eax
call ecx
mov edx, dword [edi + 8]
mov eax, dword [esi]
push edx
call eax
add esp, 8
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x44b1fc
mov dword [esp + 0x10], ebp
mov cl, byte [ebx]
xor cl, 0x36
mov byte [esp + 0x18], cl
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call ecx
mov dl, byte [ebx]
xor dl, 0x5c
mov byte [esp + 0x24], dl
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x28]
push eax
push ecx
inc ebx
call edx
add esp, 0x18
dec ebp
jne 0x44b1c3
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
cmp eax, dword [esi + 0x10]
jae 0x44b238
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push 0x552e62
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
push 1
push 0x552e63
push eax
call ecx
mov eax, dword [esp + 0x20]
inc eax
add esp, 0x18
mov dword [esp + 8], eax
cmp eax, dword [esi + 0x10]
jb 0x44b207
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x44b410
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push 0xf0000040
push 0x18
push 0
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x44b446
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x800c
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, dword [esp + 0x18]
push esi
push eax
call fcn.004131e0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
push 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 0
lea eax, [esp + 8]
push eax
push 0
push 2
push ecx
mov dword [esp + 0x18], 0
call esi
cmp dword [esp + 4], 0x20
jne 0x44b4a3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push 0
lea edx, [esp + 8]
push edx
push eax
push 2
push ecx
call esi
mov eax, dword [esp + 0xc]
pop esi
test eax, eax
je 0x44b4b3
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 4]
test eax, eax
je 0x44b4c4
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
add esp, 0xc
ret
Function at 0x4507af
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x450806
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4507f7
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x4507f3
cmp esi, ecx
jae 0x4507f7
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec edx
jne 0x4507e3
cmp esi, ecx
jb 0x4507fb
xor eax, eax
jmp 0x450805
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x4565a4
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x52d896
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 0x4565e5
mov eax, dword [edx]
mov dword [esp + 0x20], eax
jmp 0x4565eb
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 0x456754
push 3
pop esi
jmp 0x45661a
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 0x4566b0
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.004599d0
inc edi
cmp edi, 4
jl 0x456682
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 0x456616
test edi, edi
je 0x456754
mov eax, edi
cmp edi, esi
jge 0x4566e6
cmp eax, esi
jae 0x45676a
mov byte [esp + eax + 0x18], bl
inc eax
cmp eax, esi
jl 0x4566cb
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 0x456740
lea esi, [edi + 1]
movzx eax, byte [esp + ebx + 0x1c]
mov ecx, ebp
movzx eax, byte [eax + 0x563f30]
push eax
push 1
call fcn.004599d0
inc ebx
cmp ebx, esi
jl 0x456722
push 3
pop esi
cmp edi, esi
jge 0x456754
sub esi, edi
push 0x3d
push 1
mov ecx, ebp
call fcn.004599d0
dec esi
jne 0x456746
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.005049b3
int3
Function at 0x4590f9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52deb2
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 0x459147
xor eax, eax
jmp 0x4592c3
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x459171
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x459171
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 0x4592c3
cmp dword [esi + 0x50], 0
je 0x4592c1
mov ecx, esi
call fcn.0045a48c
xor ecx, ecx
cmp dword [esi + 0x40], ecx
jne 0x45919e
push dword [esi + 0x50]
push edi
call fcn.00454ca1
test al, al
pop ecx
pop ecx
cmovne ebx, edi
jmp 0x4592c1
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.0045dfa2
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 0x4592b4
cmp eax, 1
jg 0x459297
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 0x459264
push dword [esi + 0x50]
cmp edi, 0x10
lea eax, [esp + 0x2c]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.00504d5e
mov edx, dword [esp + 0x2c]
add esp, 0x10
cmp edx, eax
jne 0x4592b4
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x10]
mov byte [esi + 0x45], 1
cmp dword [esp + 0x20], eax
jne 0x459292
test edx, edx
jne 0x4591d1
cmp dword [esp + 0x38], 0x20
jae 0x4592b4
push edx
push 8
lea ecx, [esp + 0x30]
call fcn.004599d0
jmp 0x4591cd
mov ebx, dword [ebp + 8]
jmp 0x4592b4
cmp eax, 3
jne 0x4592b4
mov eax, dword [esp + 0x14]
push dword [eax + 0x50]
push dword [esp + 0x14]
call fcn.00454ca1
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.0044ea87
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.005026fe
mov esp, ebp
pop ebp
ret 4
Function at 0x45a30a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52e047
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 0x45a444
cmp byte [ebx + 0x45], 0
je 0x45a444
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x45a36a
xor al, al
jmp 0x45a446
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.0045dfa2
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 0x45a3cf
dec eax
je 0x45a3d3
dec eax
dec eax
je 0x45a431
xor bl, bl
jmp 0x45a433
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 0x45a412
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00504d5e
add esp, 0x10
cmp esi, eax
jne 0x45a3cb
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x45a431
test esi, esi
jne 0x45a395
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.004599d0
jmp 0x45a38d
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0044ea87
mov al, bl
jmp 0x45a446
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.005026fe
mov esp, ebp
pop ebp
ret
Function at 0x45d8f9
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x52e4af
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.0044e5f5
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.0044e5f5
lea eax, [ebp + 0x48]
mov byte [esp + 0x20], 1
push eax
lea ecx, [ebx + 0x30]
call fcn.00454ace
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.0045d999
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 0x4601cc
Capabilities:
Get system information on windows

Disassembly:
push 0x134
mov eax, 0x52eb44
call fcn.005078e4
lea eax, [ebp - 0x80]
push eax
call fcn.0046049a
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 0x460204
cmp word [ebp - 0x38], ax
jne 0x460206
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.00480e64
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
call fcn.004603b3
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 2
call fcn.004556d6
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.0044ea5a
push str.windows
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x140]
call fcn.004551d3
xor ebx, ebx
mov byte [ebp - 4], 3
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0044ea87
push str.os_version
lea ecx, [ebp - 0x2c]
call fcn.0044ea5a
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.00455128
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea87
push str.osbit
lea ecx, [ebp - 0x2c]
call fcn.0044ea5a
push esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x140]
call fcn.00454f10
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea87
push str.oslang
lea ecx, [ebp - 0x2c]
call fcn.0044ea5a
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.00455128
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea87
push str.oszone
lea ecx, [ebp - 0x2c]
call fcn.0044ea5a
push edi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x140]
call fcn.00454f10
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea87
mov ecx, dword [0x5952b0]
test ecx, ecx
je 0x460375
mov ecx, dword [ecx]
lea eax, [ebp - 0x140]
push eax
call fcn.00455693
lea ecx, [ebp - 0x13c]
call fcn.00458307
push dword [ebp - 0x13c]
call fcn.004b49b2
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.0044ea87
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.0044ea87
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.004510bf
call fcn.00507893
ret
Function at 0x46049a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xb8
mov eax, 0x52eb8e
call fcn.005078e4
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.00507270
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 0x460556
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.00450d89
mov edi, 0x5642b0
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0xb8], 1
call fcn.00450d65
pop ecx
push eax
push ebx
push edi
mov ecx, esi
call fcn.00460950
cmp eax, 0xffffffff
je 0x4605b2
push eax
push ebx
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
call fcn.00460833
push eax
mov ecx, esi
call fcn.00460810
push ebx
push 1
lea ecx, [ebp - 0xac]
call fcn.004510bf
mov eax, esi
call fcn.00507893
ret 4

Function at 0x4605bc
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
jne 0x4605eb
push edi
xor edi, edi
push edi
push edi
push esi
push 0x4607cd
push edi
push edi
call fcn.005053f6
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 0x4605fa
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop esi
ret