joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fd40
Capabilities:
Check http status code

Disassembly:
push ebx
mov ebx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
push ebp
mov ebp, dword [esp + 0xc]
mov eax, edx
shr eax, 0x1f
push esi
add eax, edx
xor esi, esi
push edi
mov edi, dword [ebx]
cmp eax, 2
je 0x42fd7a
push str.Couldnt_set_desired_mode
push edi
call fcn.004100a0
add esp, 8
pop edi
lea eax, [esi + 0x11]
pop esi
pop ebp
pop ebx
ret
cmp ecx, 0xc8
je 0x42fd91
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push edi
call fcn.0040ffd0
add esp, 0xc
cmp ebp, 0x13
jne 0x42fda6
push ebx
call fcn.0042fcc0
add esp, 4
pop edi
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x14
jne 0x42fdb7
call fcn.0042cdd0
pop edi
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x15
jne 0x42fdd0
push 0xd
push 1
push ebx
call fcn.0042ef70
add esp, 0xc
pop edi
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x16
jne 0x42fde4
push 0xe
push 1
push ebx
call fcn.0042ef70
add esp, 0xc
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x437440
Capabilities:
Get socket status

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x18]
xor eax, eax
cmp ebx, eax
je 0x437452
cmp dword [ebx], eax
jne 0x437481
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x43745e
cmp dword [ecx], eax
jne 0x437485
mov edx, dword [esp + 0x20]
cmp edx, eax
je 0x43746a
cmp dword [edx], eax
jne 0x437489
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
call fcn.004373f0
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 0x4374b5
jl 0x4374a5
cmp edi, eax
jae 0x4374ab
mov dword [esp + 0xc], eax
jmp 0x437527
cmp esi, eax
jl 0x43751f
jg 0x4374b5
cmp edi, eax
jbe 0x43751f
push ebp
push eax
push 0x3e8
push esi
push edi
call fcn.0050a6f0
push 0
push 0x3e8
push edx
push eax
mov ebp, eax
mov ebx, edx
call fcn.0050a220
push 0
sub edi, eax
push 0x3e8
sbb esi, edx
push esi
push edi
call fcn.0050a220
mov dword [esp + 0x18], edx
test ebx, ebx
jl 0x437506
jg 0x4374f9
cmp ebp, 0x7fffffff
jbe 0x437506
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 0x437527
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
cmp edx, eax
je 0x43752f
cmp dword [edx], eax
jne 0x437531
xor edx, edx
cmp ecx, eax
je 0x437539
cmp dword [ecx], eax
jne 0x43753b
xor ecx, ecx
cmp ebx, eax
je 0x437545
cmp dword [ebx], eax
je 0x437545
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 0x43e690
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 0x43e72d
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 0x43e737
jb 0x43e70f
cmp eax, 0x3e8
ja 0x43e737
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 0x43e6c5
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 0x442d50
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 0x20
push ebp
mov ebp, dword [esp + 0x28]
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x442dee
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
lea esi, [esp + 0x20]
mov word [esp + 0x14], 0x208
mov dword [esp + 0x18], 0x6601
mov dword [esp + 0x1c], 8
call fcn.00442cc0
mov ecx, esi
push 8
push ecx
call fcn.00449ac0
mov ecx, dword [esp + 0x10]
add esp, 8
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x14
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
pop esi
test eax, eax
jne 0x442df5
mov edx, dword [esp + 4]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
pop ebp
add esp, 0x20
ret
mov eax, dword [ebp]
mov edx, dword [esp + 8]
push edx
mov dword [edi], eax
mov ecx, dword [ebp + 4]
lea eax, [esp + 0xc]
push eax
push edi
push 0
push 0
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x20]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [esp + 4]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 1
pop ebp
add esp, 0x20
ret

Function at 0x444470
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [esi + edi - 1], 0
test eax, eax
jne 0x4444a2
push 0x2e
push esi
call fcn.00501de0
add esp, 8
test eax, eax
je 0x4444a0
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
ret
Function at 0x44b160
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 [0x58d0bc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x44b185
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 0x44b1cc
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 0x44b1d0
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 0x44b22c
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 0x44b1f3
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
cmp eax, dword [esi + 0x10]
jae 0x44b268
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push 0x551e52
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
push 1
push 0x551e53
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 0x44b237
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x44b420
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 0x44b456
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.004131f0
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 0x44b4b3
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 0x44b4c3
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 4]
test eax, eax
je 0x44b4d4
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
add esp, 0xc
ret
Function at 0x45075a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
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 0x4507b3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4507a4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x4507a0
cmp esi, ecx
jae 0x4507a4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec edx
jne 0x450790
cmp esi, ecx
jb 0x4507a8
xor eax, eax
jmp 0x4507b2
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x456f0a
Capabilities:
Encode data using base64

Disassembly:
push 0x1c
mov eax, 0x52cd78
call fcn.00506b71
mov edi, ecx
mov dword [ebp - 0x20], edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
cmp dword [edx + 0x14], 0x10
jb 0x456f2d
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
jmp 0x456f32
mov eax, edx
mov dword [ebp - 0x1c], edx
mov ecx, dword [edx + 0x10]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
mov edi, ebx
mov dword [ebp - 0x28], 1
test ecx, ecx
je 0x457090
push 3
pop esi
jmp 0x456f5d
mov ecx, dword [ebp - 0x24]
mov al, byte [eax]
dec ecx
mov byte [ebp + edi - 0x14], al
inc edi
mov eax, dword [ebp - 0x1c]
mov dl, byte [ebp - 0x13]
inc eax
mov dword [ebp - 0x24], ecx
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp edi, esi
jne 0x456fe8
mov esi, dword [ebp - 0x20]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
movzx eax, byte [ebp + edi - 0x18]
mov ecx, esi
movzx eax, byte [eax + 0x5631d0]
push eax
push 1
call fcn.0045a1bc
inc edi
cmp edi, 4
jl 0x456fbb
mov dl, byte [ebp - 0xd]
mov edi, ebx
mov cl, byte [ebp - 0xe]
mov eax, dword [ebp - 0x1c]
mov ch, byte [ebp - 0xf]
push 3
pop esi
cmp dword [ebp - 0x24], 0
ja 0x456f5a
mov dword [ebp - 0x24], edi
test edi, edi
je 0x457090
mov eax, edi
cmp edi, esi
jge 0x45701d
cmp eax, esi
jae 0x457099
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, esi
jl 0x457005
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x45707b
mov esi, dword [ebp - 0x20]
mov edi, eax
movzx eax, byte [ebp + ebx - 0x18]
mov ecx, esi
movzx eax, byte [eax + 0x5631d0]
push eax
push 1
call fcn.0045a1bc
inc ebx
cmp ebx, edi
jl 0x45705a
mov edi, dword [ebp - 0x24]
push 3
pop esi
cmp edi, esi
jge 0x457090
sub esi, edi
mov ecx, dword [ebp - 0x20]
push 0x3d
push 1
call fcn.0045a1bc
dec esi
jne 0x457081
mov eax, dword [ebp - 0x20]
call fcn.00506b3f
ret
call fcn.00503c73
int3
Function at 0x4598ef
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52d388
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x58d700]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x58d700]
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 0x45993d
xor eax, eax
jmp 0x459ab9
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x459967
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x459967
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 0x459ab9
cmp dword [esi + 0x50], 0
je 0x459ab7
mov ecx, esi
call fcn.0045aced
xor ecx, ecx
cmp dword [esi + 0x40], ecx
jne 0x459994
push dword [esi + 0x50]
push edi
call fcn.004556d9
test al, al
pop ecx
pop ecx
cmovne ebx, edi
jmp 0x459ab7
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.0045e8a5
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 0x459aaa
cmp eax, 1
jg 0x459a8d
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 0x459a5a
push dword [esi + 0x50]
cmp edi, 0x10
lea eax, [esp + 0x2c]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.0050401e
mov edx, dword [esp + 0x2c]
add esp, 0x10
cmp edx, eax
jne 0x459aaa
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x10]
mov byte [esi + 0x45], 1
cmp dword [esp + 0x20], eax
jne 0x459a88
test edx, edx
jne 0x4599c7
cmp dword [esp + 0x38], 0x20
jae 0x459aaa
push edx
push 8
lea ecx, [esp + 0x30]
call fcn.0045a1bc
jmp 0x4599c3
mov ebx, dword [ebp + 8]
jmp 0x459aaa
cmp eax, 3
jne 0x459aaa
mov eax, dword [esp + 0x14]
push dword [eax + 0x50]
push dword [esp + 0x14]
call fcn.004556d9
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.0044ea00
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.005019be
mov esp, ebp
pop ebp
ret 4
Function at 0x45ab68
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52d51d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x58d700]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x58d700]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x45aca2
cmp byte [ebx + 0x45], 0
je 0x45aca2
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x45abc8
xor al, al
jmp 0x45aca4
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.0045e8a5
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 0x45ac2d
dec eax
je 0x45ac31
dec eax
dec eax
je 0x45ac8f
xor bl, bl
jmp 0x45ac91
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 0x45ac70
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0050401e
add esp, 0x10
cmp esi, eax
jne 0x45ac29
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x45ac8f
test esi, esi
jne 0x45abf3
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0045a1bc
jmp 0x45abeb
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0044ea00
mov al, bl
jmp 0x45aca4
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.005019be
mov esp, ebp
pop ebp
ret
Function at 0x46077a
Capabilities:
Get system information on windows

Disassembly:
push 0x134
mov eax, 0x52dfa4
call fcn.00506ba4
lea eax, [ebp - 0x80]
push eax
call fcn.00460a64
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 0x4607b2
cmp word [ebp - 0x38], ax
jne 0x4607b4
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.004803f4
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
call fcn.00460961
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 2
call fcn.004560c4
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.0044e9d1
push str.windows
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x140]
call fcn.00455c05
xor ebx, ebx
mov byte [ebp - 4], 3
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0044ea00
push str.os_version
lea ecx, [ebp - 0x2c]
call fcn.0044e9d1
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.00455b5a
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea00
push str.osbit
lea ecx, [ebp - 0x2c]
call fcn.0044e9d1
push esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x140]
call fcn.00455942
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea00
push str.oslang
lea ecx, [ebp - 0x2c]
call fcn.0044e9d1
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.00455b5a
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea00
push str.oszone
lea ecx, [ebp - 0x2c]
call fcn.0044e9d1
push edi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x140]
call fcn.00455942
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0044ea00
mov ecx, dword [0x594330]
test ecx, ecx
je 0x460923
mov ecx, dword [ecx]
lea eax, [ebp - 0x140]
push eax
call fcn.00456081
lea ecx, [ebp - 0x13c]
call fcn.00458ad2
push dword [ebp - 0x13c]
call fcn.004b45e4
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.0044ea00
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.0044ea00
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.004510a8
call fcn.00506b53
ret
Function at 0x460a64
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xb8
mov eax, 0x52dfee
call fcn.00506ba4
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.00506530
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 0x460b20
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.00450d66
mov edi, 0x563538
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0xb8], 1
call fcn.00450d3f
pop ecx
push eax
push ebx
push edi
mov ecx, esi
call fcn.00460eb1
cmp eax, 0xffffffff
je 0x460b7c
push eax
push ebx
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
call fcn.00453a7c
push eax
mov ecx, esi
call fcn.00460da2
push ebx
push 1
lea ecx, [ebp - 0xac]
call fcn.004510a8
mov eax, esi
call fcn.00506b53
ret 4

Function at 0x460b86
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
jne 0x460bb5
push edi
xor edi, edi
push edi
push edi
push esi
push 0x460d5f
push edi
push edi
call fcn.005046b6
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 0x460bc4
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop esi
ret