joyce8/EMBER2024-capa huggingface dataset:
Function at 0x552e40
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.005b2630
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ebp
mov ebp, ecx
shr ebp, 3
mov dword [esp + 4], ebp
cmp eax, ecx
jb 0x552f37
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
nop
xor edi, edi
test ebp, ebp
je 0x552f19
lea ebx, [ebx]
movzx eax, byte [esi + 7]
cdq
shld edx, eax, 8
shl eax, 8
mov ecx, eax
movzx eax, byte [esi + 6]
mov ebp, edx
cdq
or ecx, eax
movzx eax, byte [esi + 5]
or ebp, edx
shld ebp, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [esi + 4]
or ebp, edx
shld ebp, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [esi + 3]
or ebp, edx
shld ebp, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [esi + 2]
or ebp, edx
shld ebp, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [esi + 1]
or ebp, edx
shld ebp, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
or ebp, edx
shld ebp, ecx, 8
cdq
shl ecx, 8
or ebp, edx
or ecx, eax
push ebp
push ecx
add esi, 8
call fcn.00552c20
xor dword [ebx + edi*8], eax
xor dword [ebx + edi*8 + 4], edx
mov ebp, dword [esp + 0x18]
inc edi
add esp, 8
cmp edi, ebp
jb 0x552e80
call fcn.00552ad0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub eax, ecx
mov dword [esp + 0x20], eax
cmp eax, ecx
jae 0x552e70
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret

Function at 0x5530d0
Capabilities:
Hash data using sha256

Disassembly:
push edi
push 0x74
push 0
push esi
mov edi, ecx
call sub.MSVCR100.dll_memset
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov eax, dword [edi]
xor dword [esi], eax
mov eax, dword [edi + 4]
xor dword [esi + 4], eax
mov eax, dword [edi + 8]
xor dword [esi + 8], eax
mov eax, dword [edi + 0xc]
xor dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
xor dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
xor dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
xor dword [esi + 0x18], eax
mov edi, dword [edi + 0x1c]
xor dword [esi + 0x1c], edi
add esp, 0xc
pop edi
ret
Function at 0x555150
Capabilities:
Hash data using sha256

Disassembly:
push 0xe8
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [esi], 0xf3bcc908
mov dword [esi + 4], 0x6a09e667
mov dword [esi + 8], 0x84caa73b
mov dword [esi + 0xc], 0xbb67ae85
mov dword [esi + 0x10], 0xfe94f82b
mov dword [esi + 0x14], 0x3c6ef372
mov dword [esi + 0x18], 0x5f1d36f1
mov dword [esi + 0x1c], 0xa54ff53a
mov dword [esi + 0x20], 0xade682d1
mov dword [esi + 0x24], 0x510e527f
mov dword [esi + 0x28], 0x2b3e6c1f
mov dword [esi + 0x2c], 0x9b05688c
mov dword [esi + 0x30], 0xfb41bd6b
mov dword [esi + 0x34], 0x1f83d9ab
mov dword [esi + 0x38], 0x137e2179
mov dword [esi + 0x3c], 0x5be0cd19
ret

Function at 0x5551d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.00555150
mov edx, edi
lea ecx, [edi + 0x18]
lea eax, [esi + 8]
sub edx, esi
mov ebx, 2
jmp 0x5551f0
mov esi, dword [ecx - 0x18]
mov edi, dword [ecx - 0x14]
xor dword [eax - 8], esi
xor dword [eax - 4], edi
mov esi, dword [edx + eax]
mov edi, dword [edx + eax + 4]
xor dword [eax], esi
xor dword [eax + 4], edi
mov esi, dword [ecx - 8]
mov edi, dword [ecx - 4]
xor dword [eax + 8], esi
xor dword [eax + 0xc], edi
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
xor dword [eax + 0x10], esi
xor dword [eax + 0x14], edi
add eax, 0x20
add ecx, 0x20
dec ebx
jne 0x5551f0
pop edi
pop esi
pop ebx
ret
Function at 0x5649d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.005b2630
mov eax, dword [0x644a10]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
test eax, eax
je 0x564b5a
push ebx
dec eax
push edi
lea edi, [ebp + 0xc]
shr eax, 3
add ebp, 0x14
inc eax
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 1]
movzx ebx, byte [esi]
movzx ecx, byte [esi + 2]
movzx edx, byte [esi + 3]
shl eax, 8
or ebx, eax
movzx eax, byte [esi + 4]
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [esi + 5]
shl edx, 0x18
or ebx, edx
movzx edx, byte [esi + 6]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 7]
shl edx, 0x10
or eax, edx
mov dl, byte [edi]
shl ecx, 0x18
or eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov al, byte [ebp]
and dl, 0xdf
and al, 0xbf
or dl, 0x40
or al, 0x20
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
add esi, 8
mov byte [edi], dl
mov byte [ebp], al
call fcn.0050a4e0
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.0050a5e0
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.00507020
push ebp
call fcn.0050a4e0
lea ecx, [esp + 0x48]
push ecx
push ebp
call fcn.0050a5e0
push 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00507020
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
xor eax, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
xor dword [esp + 0x40], edx
xor ecx, ebx
xor ebx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, edi
mov byte [eax], bl
mov edx, ebx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ebx
shr edx, 0x10
mov byte [eax + 2], dl
mov edx, dword [esp + 0x44]
shr ebx, 0x18
mov byte [eax + 3], bl
mov ebx, edx
add esp, 0x30
mov byte [eax + 4], dl
shr ebx, 8
mov byte [eax + 5], bl
mov ebx, edx
shr edx, 0x18
shr ebx, 0x10
mov byte [eax + 6], bl
mov byte [eax + 7], dl
mov eax, ebp
mov byte [eax], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 2], dl
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x10]
mov edx, ecx
shr edx, 8
mov byte [eax + 4], cl
mov byte [eax + 5], dl
mov edx, ecx
shr edx, 0x10
shr ecx, 0x18
dec dword [esp + 0x18]
mov byte [eax + 6], dl
mov byte [eax + 7], cl
jne 0x564a13
pop edi
pop ebx
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
xor ecx, esp
call fcn.005b2129
add esp, 0xa0
ret

Function at 0x564c90
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret
Function at 0x569a40
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x569b03
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x569a61
cmp al, 0x6b
jne 0x569b03
lea edx, [ecx + 1]
cmp al, 0x6b
jne 0x569ac7
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x569a81
mov al, byte [edx]
inc edx
cmp al, 0xba
je 0x569a81
cmp al, 0xbb
jne 0x569aa7
inc ecx
cmp ecx, esi
jl 0x569a71
sub esi, ecx
test ecx, ecx
jne 0x569aca
push 0x50
push str.crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.00486d00
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x48
push str.crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.00486d00
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x569af0
push 0x59
push str.crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.00486d00
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x3d
push str.crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.00486d00
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x589020
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
push ebp
lea ecx, [ebx + 0xc]
push esi
lea eax, [edx + 4]
sub ebx, edx
mov ebp, 4
mov esi, dword [eax - 4]
mov edx, dword [ecx - 0xc]
xor edx, esi
and edx, edi
xor esi, edx
mov dword [eax - 4], esi
xor dword [ecx - 0xc], edx
mov esi, dword [eax]
mov edx, dword [ebx + eax]
xor edx, esi
and edx, edi
xor esi, edx
mov dword [eax], esi
xor dword [ebx + eax], edx
mov esi, dword [eax + 4]
mov edx, dword [ecx - 4]
xor edx, esi
and edx, edi
xor esi, edx
mov dword [eax + 4], esi
xor dword [ecx - 4], edx
mov esi, dword [eax + 8]
mov edx, dword [ecx]
xor edx, esi
and edx, edi
xor esi, edx
mov dword [eax + 8], esi
xor dword [ecx], edx
add eax, 0x10
add ecx, 0x10
dec ebp
jne 0x589032
pop esi
pop ebp
pop ebx
ret
Function at 0x5985d0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x2b4
call fcn.005b2630
mov eax, dword [0x644a10]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
mov ebx, dword [esp + 0x2c0]
push ebp
mov ebp, dword [esp + 0x2cc]
push esi
mov esi, dword [esp + 0x2d4]
push edi
mov edi, dword [esp + 0x2c8]
lea eax, [esp + 0x88]
push eax
call fcn.004f6980
push 0x20
lea ecx, [esp + 0x90]
push esi
push ecx
call fcn.004f7820
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x214]
push eax
call fcn.004f70d0
movzx ecx, byte [esp + 0x237]
and byte [esp + 0x218], 0xf8
and cl, 0x3f
lea edx, [esp + 0xa0]
or cl, 0x40
push edx
mov byte [esp + 0x23b], cl
call fcn.004f6980
push 0x20
lea eax, [esp + 0x240]
push eax
lea ecx, [esp + 0xac]
push ecx
call fcn.004f7820
mov edx, dword [esp + 0x2f8]
push edx
lea eax, [esp + 0xb4]
push ebx
push eax
call fcn.004f7820
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x278]
push edx
call fcn.004f70d0
lea esi, [esp + 0x27c]
call fcn.005921f0
lea eax, [esp + 0x19c]
push eax
mov ecx, esi
call fcn.00590a30
lea ecx, [esp + 0x50]
add esp, 0x40
push ecx
lea ecx, [esp + 0x1b4]
call fcn.0058dd30
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x16c]
call fcn.0058ba70
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x19c]
call fcn.0058ba70
push edi
lea ecx, [esp + 0x78]
call fcn.0058b6a0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x54]
call fcn.0058b6a0
movzx ecx, byte [esp + 0x2c]
shl cl, 7
xor byte [edi + 0x1f], cl
lea edx, [esp + 0xa4]
push edx
call fcn.004f6980
push 0x20
lea eax, [esp + 0xac]
push edi
push eax
call fcn.004f7820
push 0x20
lea ecx, [esp + 0xb8]
push ebp
push ecx
call fcn.004f7820
mov edx, dword [esp + 0x308]
push edx
lea eax, [esp + 0xc4]
push ebx
push eax
call fcn.004f7820
add esp, 0x44
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x284]
push edx
call fcn.004f70d0
lea esi, [esp + 0x288]
call fcn.005921f0
mov eax, esi
push eax
add edi, 0x20
push edi
lea edx, [esp + 0x250]
lea ecx, [esp + 0x210]
call fcn.005942b0
lea ecx, [esp + 0x98]
push 0xd8
push ecx
call fcn.004d2c70
lea edx, [esp + 0x258]
push 0x40
push edx
call fcn.004d2c70
lea eax, [esp + 0x220]
push 0x40
push eax
call fcn.004d2c70
mov ecx, dword [esp + 0x2e8]
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.005b2129
add esp, 0x2b4
ret
Function at 0x598b70
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x15c
call fcn.005b2630
mov eax, dword [0x644a10]
xor eax, esp
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x164]
push esi
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0x11c]
push ecx
push 0x20
push eax
call fcn.004f79e0
mov dl, byte [esp + 0x147]
and byte [esp + 0x128], 0xf8
and dl, 0x3f
lea eax, [esp + 0x88]
or dl, 0x40
push eax
lea ecx, [esp + 0x12c]
mov byte [esp + 0x14b], dl
call fcn.00590a30
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xe0]
call fcn.0058dd30
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x98]
call fcn.0058ba70
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0xc8]
call fcn.0058ba70
push esi
lea ecx, [esp + 0x7c]
call fcn.0058b6a0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x58]
call fcn.0058b6a0
mov cl, byte [esp + 0x30]
lea edx, [esp + 0x148]
shl cl, 7
xor byte [esi + 0x1f], cl
push 0x40
push edx
call fcn.004d2c70
mov ecx, dword [esp + 0x190]
add esp, 0x34
pop esi
xor ecx, esp
call fcn.005b2129
add esp, 0x15c
ret
Function at 0x598c90
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x140
call fcn.005b2630
mov eax, dword [0x644a10]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x144]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x154]
push edi
mov ecx, 8
lea edi, [esp + 0x12c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x148]
and byte [esp + 0x12c], 0xf8
shr ecx, 0x18
and cl, 0x3f
or cl, 0x40
lea edx, [esp + 0x3c]
mov byte [esp + 0x14b], cl
push edx
lea ecx, [esp + 0x130]
mov dword [esp + 0x14], eax
call fcn.00590a30
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
add ecx, eax
sub eax, dword [esp + 0x68]
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x94]
add edx, ecx
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x98]
add esi, edx
mov dword [esp + 0xe8], esi
mov esi, dword [esp + 0x9c]
add edi, esi
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0xec], edi
mov edi, dword [esp + 0xa0]
add ebx, edi
mov dword [esp + 0xf0], ebx
mov ebx, dword [esp + 0xa4]
add ebx, dword [esp + 0x7c]
sub ecx, dword [esp + 0x6c]
sub edx, dword [esp + 0x70]
sub esi, dword [esp + 0x74]
sub edi, dword [esp + 0x78]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0x7c]
mov dword [esp + 0xf4], ebx
mov ebx, dword [esp + 0xa8]
add ebx, dword [esp + 0x80]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0xa8]
sub eax, dword [esp + 0x80]
mov dword [esp + 0xf8], ebx
mov ebx, dword [esp + 0xac]
add ebx, dword [esp + 0x84]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0xac]
sub eax, dword [esp + 0x84]
mov dword [esp + 0xfc], ebx
mov ebx, dword [esp + 0xb0]
add ebx, dword [esp + 0x88]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0x88]
mov dword [esp + 0x100], ebx
mov ebx, dword [esp + 0xb4]
add ebp, ebx
sub ebx, dword [esp + 0x8c]
mov dword [esp + 0x128], eax
mov dword [esp + 0x104], ebp
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], edi
mov dword [esp + 0x12c], ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10c]
call fcn.0058dd30
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0xe8]
push edx
mov ecx, edx
call fcn.0058ba70
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0xf0]
call fcn.0058b6a0
lea ecx, [esp + 0x140]
push 0x20
push ecx
call fcn.004d2c70
mov ecx, dword [esp + 0x168]
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b2129
add esp, 0x140
ret
Function at 0x5a4ee0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x5a4ef9
mov esi, edi
mov edi, eax
jmp 0x5a4efb
mov esi, eax
mov edx, dword [esi + 4]
mov ebx, dword [esp + 0x10]
push edx
push ebx
call fcn.004f33f0
add esp, 8
test eax, eax
jne 0x5a4f14
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x5a4f35
jmp 0x5a4f20
mov ecx, dword [edi]
mov edx, dword [esi]
mov ecx, dword [ecx + eax*4]
xor ecx, dword [edx + eax*4]
mov edx, dword [ebx]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [edi + 4]
jl 0x5a4f20
cmp eax, dword [esi + 4]
jge 0x5a4f50
lea ebx, [ebx]
mov ecx, dword [esi]
mov ecx, dword [ecx + eax*4]
mov edx, dword [ebx]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [esi + 4]
jl 0x5a4f40
mov edx, dword [esi + 4]
push ebx
mov dword [ebx + 4], edx
call fcn.004f2de0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x5a51a0
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, 4
call fcn.005b2630
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
xor ebp, ebp
push ebx
mov dword [esp + 0x10], ebp
call fcn.00529d40
push ebx
call fcn.00529dd0
mov esi, eax
add esp, 8
test esi, esi
je 0x5a53a2
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 4]
add eax, eax
push eax
push esi
call fcn.004f33f0
add esp, 8
test eax, eax
je 0x5a53a1
mov ecx, dword [edi + 4]
dec ecx
js 0x5a5377
mov edx, dword [edi]
mov eax, dword [edx + ecx*4]
mov edx, eax
shr edx, 1
and edx, 0x8000
mov ebp, eax
and ebp, 0x20000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x40000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x80000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x100000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x200000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x400000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x800000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x1000000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x2000000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x4000000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x8000000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x10000000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x20000000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x40000000
or edx, ebp
shr edx, 1
and eax, reloc.szca_UKeyEngines.dll_Ordinal_1
or edx, eax
mov eax, dword [esi]
shr edx, 1
mov dword [eax + ecx*8 + 4], edx
mov edx, dword [edi]
mov eax, dword [edx + ecx*4]
mov edx, eax
and edx, 0x8000
add edx, edx
mov ebp, eax
and ebp, 0x4000
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x2000
or edx, ebp
mov ebp, eax
add edx, edx
and ebp, 0x1000
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x800
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x400
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x200
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x100
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x80
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x40
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x20
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x10
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 8
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 4
or edx, ebp
mov ebp, eax
add edx, edx
and ebp, 2
or edx, ebp
and eax, 1
add edx, edx
or edx, eax
dec ecx
mov eax, dword [esi]
mov dword [eax + ecx*8 + 8], edx
jns 0x5a51f6
mov ebp, dword [esp + 0x10]
mov ecx, dword [edi + 4]
add ecx, ecx
push esi
mov dword [esi + 4], ecx
call fcn.004f2de0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
push edx
push esi
push eax
call fcn.005a4f70
add esp, 0x10
test eax, eax
je 0x5a53a1
mov ebp, 1
pop edi
push ebx
call fcn.00529d90
add esp, 4
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret
Function at 0x5b2129
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x644a10]
jne 0x5b2133
repz ret
jmp fcn.005b2d79
Function at 0x404096
Capabilities:
Print debug messages
Set environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
push edi
push str._tWinMain___n
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
mov ebx, 0x4cbc70
mov ecx, ebx
mov dword [esp + 0x10], ebx
call fcn.00403fda
mov eax, dword [0x4c5990]
inc eax
mov dword [0x4c5990], eax
cmp eax, 1
jne 0x4040d9
call fcn.0040492b
mov ecx, eax
call fcn.0043beb2
lea ecx, [esp + 0x10]
call fcn.004048ff
mov ecx, ebx
mov byte [esp + 0xf], 1
mov dword [esp + 0x14], ebx
call fcn.00403fda
xor esi, esi
lea eax, [esp + 0x54]
push esi
push eax
call fcn.0040492b
mov ecx, eax
call fcn.0043be19
push eax
lea ecx, [esp + 0x48]
call fcn.0043641b
lea ecx, [esp + 0x54]
call fcn.0043645f
lea ecx, [esp + 0x14]
call fcn.004048ff
push esi
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x34]
call fcn.0043641b
lea ecx, [esp + 0x40]
call fcn.0043645f
lea ecx, [esp + 0x2c]
call fcn.0043ff50
cmp eax, 0x7d1
jl 0x404157
lea ecx, [esp + 0x2c]
call fcn.0043ff50
mov edi, eax
jmp 0x4041c9
push 0x42cb11
call fcn.00437cda
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push ecx
lea ecx, [esp + 0x28]
mov dword [0x4c42e4], eax
call fcn.0042c1fb
lea eax, [esp + 0x1c]
mov byte [0x4c1008], 1
push eax
mov dword [esp + 0x20], 8
mov dword [esp + 0x24], 0x8000
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [0x4c59c4]
call fcn.00406b24
mov esi, dword [esp + 0x24]
mov edi, eax
test esi, esi
je 0x4041c9
cmp byte [esp + 0x28], 0
je 0x4041c2
push esi
push str.__COMPAT_LAYER
call dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
push esi
call fcn.0046b2b7
pop ecx
lea ecx, [esp + 0x2c]
call fcn.0043645f
mov ecx, ebx
mov dword [esp + 0x18], ebx
call fcn.00403fda
mov eax, dword [0x4c5990]
dec eax
mov dword [0x4c5990], eax
test eax, eax
jg 0x4041f8
call fcn.0040492b
mov ecx, eax
call fcn.0043bed3
lea ecx, [esp + 0x18]
call fcn.004048ff
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4057f7
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, edx
mov eax, ecx
xor ecx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], eax
mov esi, ecx
push edi
mov edi, ecx
test ebx, ebx
je 0x4058ed
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add esi, eax
mov eax, dword [ebp - 4]
inc edi
cmp edi, ebx
jb 0x405818
test esi, esi
je 0x4058ed
inc esi
lea eax, [esi + esi]
push eax
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.DLL_LocalAlloc]
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
jne 0x40585c
call fcn.00406ad2
mov edi, eax
mov dword [ebp - 8], eax
test edi, edi
je 0x4058ed
xor eax, eax
xor ecx, ecx
mov word [edi], ax
mov ebx, ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + ebx*4]
mov eax, ecx
mov dword [ebp - 0xc], edx
test esi, esi
je 0x40587c
cmp esi, 0x7fffffff
jbe 0x405881
mov eax, 0x80070057
test eax, eax
js 0x4058db
xor eax, eax
mov edx, esi
mov ecx, edi
test esi, esi
je 0x4058a9
xor edi, edi
cmp word [ecx], di
je 0x40589c
add ecx, 2
dec edx
jne 0x405891
mov edi, dword [ebp - 8]
test edx, edx
je 0x4058a9
mov ecx, esi
sub ecx, edx
jmp 0x4058b0
mov eax, 0x80070057
xor ecx, ecx
mov edx, dword [ebp - 0xc]
test eax, eax
js 0x4058db
push 0x7ffffffe
push edx
mov edx, esi
push ecx
sub edx, ecx
lea ecx, [edi + ecx*2]
call fcn.004057b2
test eax, eax
js 0x4058db
inc ebx
push 0
pop ecx
cmp ebx, dword [ebp - 0x10]
jb 0x405865
mov eax, edi
jmp 0x4058ef
push str.StringCchCat_error_in_joinStr
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
push edi
call dword [sym.imp.KERNEL32.DLL_LocalFree]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405cea
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
cmp word [ecx], di
je 0x405d01
add esi, 2
cmp word [esi], di
jne 0x405cf9
push 0x5c
pop eax
cmp word [esi], ax
je 0x405d1a
cmp esi, ecx
jbe 0x405d15
sub esi, 2
cmp word [esi], ax
jne 0x405d09
cmp word [esi], ax
jne 0x405d1d
add esi, 2
cmp word [esi], di
jne 0x405d31
push 0x4a3ee0
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
xor eax, eax
jmp 0x405daa
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
mov dword [ebp - 4], eax
add eax, eax
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_LocalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x405d58
call fcn.00406ad2
mov ebx, eax
test ebx, ebx
je 0x405da3
mov eax, dword [ebp - 4]
test eax, eax
je 0x405d66
cmp eax, 0x7fffffff
jbe 0x405d6b
mov edi, 0x80070057
test edi, edi
js 0x405d83
push 0x7ffffffe
push esi
push ecx
mov edx, eax
mov ecx, ebx
call fcn.004057b2
mov edi, eax
jmp 0x405d8c
test eax, eax
je 0x405d8c
xor eax, eax
mov word [ebx], ax
test edi, edi
jns 0x405da7
mov edx, edi
mov ecx, str.StringCchCopy
call fcn.00405a71
push ebx
call dword [sym.imp.KERNEL32.DLL_LocalFree]
xor eax, eax
jmp 0x405da9
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret