joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416544
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0x367cd507
mov dword [eax + 8], 0x3070dd17
mov dword [eax + 0xc], 0xf70e5939
mov dword [eax + 0x10], 0xffc00b31
mov dword [eax + 0x14], 0x68581511
mov dword [eax + 0x18], 0x64f98fa7
mov dword [eax + 0x1c], 0xbefa4fa4
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ecx
xor edx, edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], 0x1c
mov eax, 1
pop ebp
ret

Function at 0x4165a0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ecx
xor edx, edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], 0x20
mov eax, 1
pop ebp
ret

Function at 0x418ee4
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
mov eax, dword [ebp + 8]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], edx
mov dword [eax + 0xd4], 0x30
mov eax, 1
pop ebp
ret

Function at 0x418f90
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
mov eax, dword [ebp + 8]
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], edx
mov dword [eax + 0xd4], 0x40
mov eax, 1
pop ebp
ret
Function at 0x42ace4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
dec ebx
mov edi, dword [ebp + 8]
lea eax, [ebx - 0x29]
cmp esi, eax
jle 0x42ad1a
push 0x2d
push 0x497254
push 0x6e
push 0x79
push 4
call fcn.004352a0
add esp, 0x14
xor eax, eax
jmp 0x42ae5c
cmp ebx, 0x29
jge 0x42ad3b
push 0x33
push 0x49726c
push 0x78
push 0x79
push 4
call fcn.004352a0
add esp, 0x14
xor eax, eax
jmp 0x42ae5c
push 0x37
push 0x497284
lea edx, [ebx - 0x14]
push edx
call fcn.00410f38
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42ad73
push 0x3a
push 0x49729c
push 0x41
push 0x79
push 4
call fcn.004352a0
add esp, 0x14
xor eax, eax
jmp 0x42ae5c
mov byte [edi], 0
lea edx, [edi + 1]
mov dword [ebp - 8], edx
add edi, 0x15
mov dword [ebp - 4], edi
push 0
call fcn.00437150
push eax
push 0
mov eax, dword [ebp - 4]
push eax
mov edx, dword [ebp + 0x1c]
push edx
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00437000
add esp, 0x18
mov edi, ebx
sub edi, esi
mov eax, edi
add eax, 0xffffffd7
push eax
push 0
mov edx, dword [ebp - 4]
add edx, 0x14
push edx
call fcn.00406020
add esp, 0xc
mov ecx, dword [ebp - 4]
mov byte [ecx + edi - 0x15], 1
push esi
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp - 4]
add edx, ebx
sub edx, esi
add edx, 0xffffffec
push edx
call fcn.00405fb0
add esp, 0xc
push 0x14
mov ecx, dword [ebp - 8]
push ecx
call fcn.004340c8
add esp, 8
test eax, eax
jg 0x42adf1
xor eax, eax
jmp 0x42ae5c
push 0x14
lea ecx, [ebx - 0x14]
mov edx, dword [ebp - 8]
push edx
push ecx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0042b0fc
mov edx, dword [ebp - 4]
add esp, 0x10
mov esi, edx
mov edx, dword [ebp - 0xc]
xor eax, eax
jmp 0x42ae1a
mov cl, byte [edx]
inc eax
xor byte [esi], cl
inc esi
inc edx
lea ecx, [ebx - 0x14]
cmp eax, ecx
jl 0x42ae13
add ebx, 0xffffffec
lea edx, [ebp - 0x20]
push ebx
mov eax, dword [ebp - 4]
push eax
push 0x14
push edx
call fcn.0042b0fc
mov edx, dword [ebp - 8]
add esp, 0x10
mov ecx, edx
lea edx, [ebp - 0x20]
xor eax, eax
mov bl, byte [edx]
xor byte [ecx], bl
inc eax
inc ecx
inc edx
cmp eax, 0x14
jl 0x42ae41
mov eax, dword [ebp - 0xc]
push eax
call fcn.004110f8
pop ecx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ae64
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor edx, edx
push ebx
push esi
push edi
xor esi, esi
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], edx
dec eax
cmp eax, 0x29
jl 0x42afda
mov ecx, eax
sub ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jge 0x42ae9b
mov dword [ebp - 0xc], 1
xor edx, edx
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 8]
add ecx, 0x14
mov dword [ebp - 4], ecx
lea ebx, [eax - 0x14]
push 0x7a
push 0x4972b4
push ebx
call fcn.00410f38
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x42aedd
push 0x7d
push 0x4972cc
push 0x41
push 0x7a
push 4
call fcn.004352a0
add esp, 0x14
or eax, 0xffffffff
jmp 0x42b000
push ebx
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 4]
push edx
push 0x14
push ecx
call fcn.0042b0fc
add esp, 0x10
mov eax, dword [ebp - 8]
lea edx, [ebp + eax - 0x24]
cmp eax, 0x14
jge 0x42af10
mov ecx, eax
mov edi, dword [ebp + 0x10]
sub ecx, dword [ebp - 8]
inc eax
mov cl, byte [edi + ecx]
xor byte [edx], cl
inc edx
cmp eax, 0x14
jl 0x42aefc
push 0x14
lea eax, [ebp - 0x24]
push eax
push ebx
push esi
call fcn.0042b0fc
mov edx, esi
add esp, 0x10
mov dword [ebp - 0x10], edx
xor eax, eax
mov ecx, dword [ebp - 4]
cmp ebx, eax
mov edx, ecx
jle 0x42af40
mov cl, byte [edx]
mov edi, dword [ebp - 0x10]
xor byte [edi], cl
inc eax
inc dword [ebp - 0x10]
inc edx
cmp ebx, eax
jg 0x42af30
push 0
call fcn.00437150
push eax
lea eax, [ebp - 0x38]
push 0
push eax
mov edx, dword [ebp + 0x20]
push edx
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.00437000
add esp, 0x18
lea eax, [ebp - 0x38]
push 0x14
push eax
push esi
call fcn.00406278
add esp, 0xc
test eax, eax
jne 0x42afda
cmp dword [ebp - 0xc], 0
jne 0x42afda
mov eax, 0x14
lea edx, [esi + 0x14]
cmp ebx, eax
jle 0x42af8e
cmp byte [edx], 0
jne 0x42af8e
inc eax
inc edx
cmp ebx, eax
jg 0x42af83
cmp byte [esi + eax], 1
jne 0x42afda
mov ecx, eax
inc eax
cmp ebx, ecx
jle 0x42afda
sub ebx, eax
cmp ebx, dword [ebp + 0xc]
jle 0x42afbf
push 0x9b
push 0x4972e4
push 0x6d
push 0x7a
push 4
call fcn.004352a0
add esp, 0x14
or ebx, 0xffffffff
jmp 0x42afcf
push ebx
add eax, esi
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00405fb0
add esp, 0xc
push esi
call fcn.004110f8
pop ecx
mov eax, ebx
jmp 0x42b000
push 0xa8
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0x7a
push 4
call fcn.004352a0
add esp, 0x14
test esi, esi
je 0x42affd
push esi
call fcn.004110f8
pop ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b19c
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
cmp edx, dword [ebp + 0x18]
jne 0x42b1b7
mov cl, byte [eax]
cmp cl, 0x6a
je 0x42b1d8
cmp cl, 0x6b
je 0x42b1d8
push 0x72
push 0x49732c
push 0x89
push 0x80
push 4
call fcn.004352a0
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
mov cl, byte [eax]
inc eax
cmp cl, 0x6b
jne 0x42b249
lea esi, [edx - 3]
xor ecx, ecx
cmp esi, ecx
jle 0x42b21f
mov dl, byte [eax]
inc eax
cmp dl, 0xba
je 0x42b21f
cmp dl, 0xbb
je 0x42b21a
push 0x81
push 0x497344
push 0x8a
push 0x80
push 4
call fcn.004352a0
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
inc ecx
cmp esi, ecx
jg 0x42b1e9
sub esi, ecx
test ecx, ecx
jne 0x42b24c
push 0x8a
push 0x49735c
push 0x8a
push 0x80
push 4
call fcn.004352a0
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
lea esi, [edx - 2]
cmp byte [eax + esi], 0xcc
je 0x42b276
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.004352a0
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
push esi
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00405fb0
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret
Function at 0x4349f5
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov ebx, 0x10
call sub.KERNEL32.DLL_GetVersion
cmp eax, 0x80000000
jae 0x434b27
call fcn.004108a4
test eax, eax
je 0x434b27
push 0
push 0
push 0
push str.DISPLAY
call sub.GDI32.DLL_CreateDCA
mov esi, eax
push esi
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [esp], eax
push 8
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [esp + 0x10], eax
push 0xa
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [esp + 0x14], eax
push ebx
mov eax, dword [esp + 0x14]
push eax
push esi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov edi, eax
push edi
mov eax, dword [esp + 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [esp + 4], eax
lea edx, [esp + 0x18]
push edx
push 0x18
push edi
call sub.GDI32.DLL_GetObjectA
mov ecx, dword [esp + 0x24]
imul ecx, dword [esp + 0x20]
movzx eax, word [esp + 0x28]
imul ecx, eax
mov dword [esp + 8], ecx
push 0x2d5
push str..crypto_rand_rand_win.c
mov edx, dword [esp + 0x10]
push edx
call fcn.00410f38
add esp, 0xc
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x434b01
xor ebp, ebp
jmp 0x434aec
push 0xcc0020
push ebp
push 0
push esi
push ebx
mov eax, dword [esp + 0x24]
push eax
push 0
push 0
mov edx, dword [esp + 0x20]
push edx
call sub.GDI32.DLL_BitBlt
mov ecx, dword [esp + 0xc]
push ecx
mov eax, dword [esp + 0xc]
push eax
push edi
call sub.GDI32.DLL_GetBitmapBits
push 0
call fcn.00437150
push eax
push 0
lea edx, [esp + 0x3c]
push edx
mov ecx, dword [esp + 0x18]
push ecx
mov eax, dword [esp + 0x20]
push eax
call fcn.00437000
add esp, 0x18
push 0
push 0
push 0x14
lea edx, [esp + 0x3c]
push edx
call fcn.004340a0
add esp, 0x10
add ebp, ebx
mov ecx, dword [esp + 0x14]
sub ecx, ebx
cmp ebp, ecx
jl 0x434a89
mov eax, dword [esp + 0xc]
push eax
call fcn.004110f8
pop ecx
mov edx, dword [esp + 4]
push edx
mov ecx, dword [esp + 4]
push ecx
call sub.GDI32.DLL_SelectObject
mov edi, eax
push edi
call sub.GDI32.DLL_DeleteObject
mov eax, dword [esp]
push eax
call sub.GDI32.DLL_DeleteDC
push esi
call sub.GDI32.DLL_DeleteDC
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x437d84
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor ecx, ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
test esi, esi
je 0x437d9d
cmp dword [esi + 8], 0
jne 0x437da4
xor eax, eax
jmp 0x437e97
mov edx, dword [esi + 4]
and edx, 0x100
mov dword [ebp - 8], edx
mov eax, dword [esi]
test eax, eax
jne 0x437dbf
mov dword [ebp - 4], 1
jmp 0x437e1c
mov dword [ebp - 4], eax
xor eax, eax
mov edx, dword [esi + 8]
cmp dword [ebp - 8], 0
mov al, byte [edx]
jne 0x437ddd
cmp eax, 0x7f
jle 0x437ddd
mov ebx, 1
xor ecx, ecx
jmp 0x437e19
cmp dword [ebp - 8], 0
je 0x437e19
cmp eax, 0x80
jle 0x437df3
mov ebx, 1
mov cl, 0xff
jmp 0x437e19
cmp eax, 0x80
jne 0x437e19
mov eax, 1
mov edx, dword [esi + 8]
inc edx
jmp 0x437e15
cmp byte [edx], 0
je 0x437e13
mov ebx, 1
mov cl, 0xff
jmp 0x437e19
inc eax
inc edx
cmp eax, dword [esi]
jl 0x437e05
add dword [ebp - 4], ebx
cmp dword [ebp + 0xc], 0
jne 0x437e27
mov eax, dword [ebp - 4]
jmp 0x437e97
mov edx, dword [ebp + 0xc]
test ebx, ebx
mov edx, dword [edx]
je 0x437e33
mov byte [edx], cl
inc edx
cmp dword [esi], 0
jne 0x437e3d
mov byte [edx], 0
jmp 0x437e8c
cmp dword [ebp - 8], 0
jne 0x437e55
mov eax, dword [esi]
push eax
mov ecx, dword [esi + 8]
push ecx
push edx
call fcn.00405fb0
add esp, 0xc
jmp 0x437e8c
mov eax, dword [esi]
mov ecx, dword [esi + 8]
add ecx, eax
mov ebx, eax
dec ebx
dec ecx
add edx, ebx
jmp 0x437e6a
mov byte [edx], 0
dec edx
dec ecx
dec eax
cmp byte [ecx], 0
je 0x437e64
mov bl, byte [ecx]
dec ecx
xor bl, 0xff
dec eax
inc ebx
mov byte [edx], bl
dec edx
test eax, eax
jle 0x437e8c
mov bl, byte [ecx]
dec ecx
xor bl, 0xff
dec eax
mov byte [edx], bl
dec edx
test eax, eax
jg 0x437e7e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
add dword [eax], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x437ea0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
cmp dword [ebp + 8], 0
je 0x437eb6
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x437ed4
push 2
call fcn.0043c1d0
pop ecx
mov esi, eax
test eax, eax
jne 0x437ecb
xor eax, eax
jmp 0x43801e
mov dword [esi + 4], 2
jmp 0x437ed9
mov edx, dword [ebp + 8]
mov esi, dword [edx]
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x10]
add eax, ebx
mov dword [ebp - 4], eax
push 0xc7
push 0x4a78e0
mov edx, dword [ebp + 0x10]
inc edx
push edx
call fcn.00410f38
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x437f10
mov eax, 0x41
jmp 0x437fea
cmp dword [ebp + 0x10], 0
mov edx, dword [ebp - 8]
jne 0x437f25
mov dword [esi + 4], 2
jmp 0x437fba
test byte [ebx], 0x80
je 0x437f93
mov dword [esi + 4], 0x102
cmp byte [ebx], 0xff
jne 0x437f40
cmp dword [ebp + 0x10], 1
je 0x437f40
inc ebx
dec dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
lea ecx, [eax - 1]
add ebx, ecx
add edx, ecx
jmp 0x437f52
mov byte [edx], 0
dec edx
dec eax
dec ebx
cmp byte [ebx], 0
jne 0x437f5b
test eax, eax
jne 0x437f4c
test eax, eax
jne 0x437f74
mov edx, dword [ebp - 8]
mov byte [edx], 1
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
mov byte [eax + edx], 0
inc dword [ebp + 0x10]
jmp 0x437fba
mov cl, byte [ebx]
dec ebx
xor cl, 0xff
dec eax
inc ecx
mov byte [edx], cl
dec edx
test eax, eax
jle 0x437fba
mov cl, byte [ebx]
dec ebx
xor cl, 0xff
dec eax
mov byte [edx], cl
dec edx
test eax, eax
jg 0x437f83
jmp 0x437fba
mov dword [esi + 4], 2
cmp byte [ebx], 0
jne 0x437fa9
cmp dword [ebp + 0x10], 1
je 0x437fa9
inc ebx
dec dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
push eax
push ebx
mov edx, dword [ebp - 8]
push edx
call fcn.00405fb0
add esp, 0xc
mov eax, dword [esi + 8]
test eax, eax
je 0x437fc8
push eax
call fcn.004110f8
pop ecx
mov edx, dword [ebp - 8]
mov dword [esi + 8], edx
mov ecx, dword [ebp + 0x10]
mov dword [esi], ecx
cmp dword [ebp + 8], 0
je 0x437fde
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [edx], ecx
mov eax, esi
jmp 0x43801e
push 0x103
push 0x4a78f6
push eax
push 0xc2
push 0xd
call fcn.004352a0
add esp, 0x14
test esi, esi
je 0x43801c
cmp dword [ebp + 8], 0
je 0x438015
mov edx, dword [ebp + 8]
cmp esi, dword [edx]
je 0x43801c
push esi
call fcn.0043c220
pop ecx
xor eax, eax
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x43f318
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov esi, dword [ebx]
mov eax, dword [eax]
mov edx, dword [edx + 4]
mov dword [ebp - 4], esi
mov esi, dword [ebx + 4]
mov dword [ebp - 8], esi
mov esi, dword [ebx + 8]
mov dword [ebp - 0xc], esi
mov ebx, dword [ebx + 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, 0x20
jmp 0x43f387
add ecx, 0x9e3779b9
mov esi, edx
shl esi, 4
add esi, dword [ebp - 4]
lea edi, [ecx + edx]
xor esi, edi
mov edi, edx
shr edi, 5
add edi, dword [ebp - 8]
xor esi, edi
add eax, esi
mov esi, eax
shl esi, 4
add esi, dword [ebp - 0xc]
lea edi, [ecx + eax]
xor esi, edi
mov edi, eax
shr edi, 5
add edi, dword [ebp - 0x10]
xor esi, edi
add edx, esi
mov esi, ebx
add ebx, 0xffffffff
test esi, esi
jg 0x43f34f
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43fae0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
xor eax, eax
push ebx
push esi
push edi
xor esi, esi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
lea edx, [ebp - 0xc]
push eax
push 0
push 0
push 0
push edx
lea ecx, [ebp - 0x114]
push ecx
push esi
push edi
call sub.ADVAPI32.DLL_RegEnumKeyExA
mov ebx, eax
test ebx, ebx
jne 0x43fb7f
mov dword [ebp - 0xc], 0xc8
push str.HIDVid_3689Pid_8762
call fcn.004061a0
pop ecx
push eax
lea eax, [ebp - 0x110]
push eax
push 0x4a9a26
call fcn.00406420
add esp, 0xc
test eax, eax
jne 0x43fb7f
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp + 0xc]
jne 0x43fb7c
mov ecx, dword [ebp + 0x10]
mov esi, 0x4a9a52
mov edi, ecx
lea edx, [ebp - 0x110]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push edx
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004060c4
add esp, 8
mov eax, 1
jmp 0x43fb8a
inc dword [ebp - 0x10]
inc esi
test ebx, ebx
je 0x43faff
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4031e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cc98
mov eax, dword fs:[0]
push eax
sub esp, 0x49c
mov eax, dword [0x48de14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x49c], ecx
mov ecx, dword [ebp - 0x49c]
call fcn.00438680
mov ecx, dword [ebp - 0x49c]
call fcn.00403010
mov al, byte [0x473ae3]
mov byte [ebp - 0x48c], al
push 0x63
push 0
lea ecx, [ebp - 0x48b]
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x420], 0x64
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x48c]
push eax
mov ecx, dword [ebp - 0x49c]
movzx edx, byte [ecx + 0x394]
push edx
call sub.HSChipServerChat.dll_DEV_ReadPhone
add esp, 0xc
mov dword [ebp - 0x490], eax
cmp dword [ebp - 0x490], 0
jne 0x40337d
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x498], esp
lea eax, [ebp - 0x48c]
push eax
call fcn.00401440
mov dword [ebp - 0x4a0], eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00401090
add esp, 0x20
mov dword [ebp - 0x4a4], eax
mov edx, dword [ebp - 0x4a4]
mov dword [ebp - 0x4a8], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4a8]
call fcn.004016d0
push eax
mov eax, dword [ebp - 0x49c]
mov ecx, dword [eax + 0x37c]
mov edx, dword [ebp - 0x49c]
mov eax, dword [edx + 0x37c]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401550
lea ecx, [ebp - 0x48c]
push ecx
call sub.MSVCR100.dll_strlen
add esp, 4
test eax, eax
jbe 0x40334c
mov edx, dword [ebp - 0x49c]
mov byte [edx + 0x3ec], 1
push 0x473c3c
mov eax, dword [ebp - 0x49c]
mov ecx, dword [eax + 0x378]
mov edx, dword [ebp - 0x49c]
mov eax, dword [edx + 0x378]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x2c]
call eax
jmp 0x40337d
mov ecx, dword [ebp - 0x49c]
mov byte [ecx + 0x3ec], 0
push 0x473c4c
mov edx, dword [ebp - 0x49c]
mov eax, dword [edx + 0x378]
mov ecx, dword [ebp - 0x49c]
mov ecx, dword [ecx + 0x378]
mov edx, dword [eax]
mov eax, dword [edx + 0x2c]
call eax
mov cl, byte [0x473aea]
mov byte [ebp - 0x41c], cl
push 0x3e7
push 0
lea edx, [ebp - 0x41b]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x420], 0x3e8
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x41c]
push ecx
mov edx, dword [ebp - 0x49c]
movzx eax, byte [edx + 0x394]
push eax
call sub.HSChipServerChat.dll_DEV_GetSerialNumber
add esp, 0xc
mov dword [ebp - 0x490], eax
cmp dword [ebp - 0x490], 0
je 0x4033ee
push 0x473c5c
mov ecx, dword [ebp - 0x49c]
call fcn.00403d50
jmp 0x403432
lea ecx, [ebp - 0x41c]
push ecx
mov ecx, dword [ebp - 0x49c]
add ecx, 0x398
call fcn.004015b0
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x30]
push edx
push 0
mov eax, dword [ebp - 0x49c]
push eax
push 0x404620
push 0
push 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x494], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046bbe4
mov esp, ebp
pop ebp
ret
Function at 0x403f40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cde0
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x48de14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], ecx
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x37c]
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0x37c]
mov edx, dword [edx]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.004394d5
movzx ecx, al
test ecx, ecx
je 0x403fce
push 0x473d58
mov ecx, dword [ebp - 0x8c]
call fcn.00403d50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.00439431
jmp 0x4040cb
lea ecx, [ebp - 0x7c]
call fcn.00439451
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x84], esp
push eax
call fcn.00401440
mov dword [ebp - 0x90], eax
lea edx, [ebp - 0x2c]
push edx
call fcn.00401090
add esp, 0x20
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x98]
push ecx
mov ecx, dword [ebp - 0x8c]
add ecx, 0x3b4
call fcn.004047f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401550
mov edx, dword [ebp - 0x8c]
add edx, 0x3b4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x88], esp
push edx
call fcn.00401340
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x8c]
call fcn.00403dc0
mov byte [ebp - 0x9d], al
movzx eax, byte [ebp - 0x9d]
test eax, eax
jne 0x404093
push 0x473d68
mov ecx, dword [ebp - 0x8c]
call fcn.00403d50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.00439431
jmp 0x4040cb
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x30]
push ecx
push 0
mov edx, dword [ebp - 0x8c]
push edx
push 0x4040f0
push 0
push 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.00439431
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046bbe4
mov esp, ebp
pop ebp
ret