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

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
mov cl, byte [eax]
mov bl, byte [eax + 1]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
xor esi, esi
push edi
mov byte [esp + 0x13], cl
lea edi, [eax + 2]
test ebp, ebp
jle 0x4427cd
mov al, cl
inc al
movzx edx, al
inc esi
mov bh, byte [edx + edi]
add bl, bh
movzx ecx, bl
mov byte [esp + 0x24], bl
mov bl, byte [ecx + edi]
mov byte [edx + edi], bl
mov edx, dword [esp + 0x20]
add bl, bh
mov byte [ecx + edi], bh
movzx ecx, bl
mov bl, byte [esp + 0x24]
mov cl, byte [ecx + edi]
xor byte [esi + edx - 1], cl
cmp esi, ebp
jl 0x442781
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x18]
mov cl, byte [esp + 0x13]
pop edi
pop esi
mov byte [eax], cl
mov cl, bl
pop ebp
mov byte [eax + 1], cl
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov byte [eax + 1], bl
mov byte [eax], cl
pop ebx
pop ecx
ret

Function at 0x442850
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xd8
lea eax, [esp + 0x98]
push esi
push 0x40
push 0
push eax
call fcn.00449690
push 0x40
lea eax, [esp + 0x6c]
push 0
push eax
call fcn.00449690
push dword [esp + 0x104]
mov esi, dword [esp + 0x104]
lea eax, [esp + 0xb8]
push esi
push eax
call fcn.00449040
push dword [esp + 0x110]
lea eax, [esp + 0x84]
push esi
push eax
call fcn.00449040
add esp, 0x30
xor eax, eax
lea esp, [esp]
xor byte [esp + eax + 0x9c], 0x36
xor byte [esp + eax + 0x5c], 0x5c
inc eax
cmp eax, 0x40
jl 0x4428b0
lea eax, [esp + 4]
push eax
call fcn.00443790
push 0x40
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.004437c0
push dword [esp + 0xf4]
lea eax, [esp + 0x18]
push dword [esp + 0xf4]
push eax
call fcn.004437c0
mov esi, dword [esp + 0x10c]
lea eax, [esp + 0x20]
push eax
push esi
call fcn.004436e0
lea eax, [esp + 0x28]
push eax
call fcn.00443790
push 0x40
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004437c0
push 0x10
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.004437c0
add esp, 0x40
lea eax, [esp + 4]
push eax
push esi
call fcn.004436e0
add esp, 8
pop esi
add esp, 0xd8
ret
Function at 0x442950
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xe0
lea eax, [esp + 0xa0]
push esi
push 0x40
push 0
push eax
call fcn.00449690
push 0x40
lea eax, [esp + 0x74]
push 0
push eax
call fcn.00449690
push dword [esp + 0x10c]
mov esi, dword [esp + 0x10c]
lea eax, [esp + 0xc0]
push esi
push eax
call fcn.00449040
push dword [esp + 0x118]
lea eax, [esp + 0x8c]
push esi
push eax
call fcn.00449040
add esp, 0x30
xor eax, eax
lea esp, [esp]
xor byte [esp + eax + 0xa4], 0x36
xor byte [esp + eax + 0x64], 0x5c
inc eax
cmp eax, 0x40
jl 0x4429b0
lea eax, [esp + 4]
push eax
call fcn.00442d60
push 0x40
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00442da0
push dword [esp + 0xfc]
lea eax, [esp + 0x18]
push dword [esp + 0xfc]
push eax
call fcn.00442da0
mov esi, dword [esp + 0x114]
lea eax, [esp + 0x20]
push eax
push esi
call fcn.00442d00
lea eax, [esp + 0x28]
push eax
call fcn.00442d60
push 0x40
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00442da0
push 0x14
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.00442da0
add esp, 0x40
lea eax, [esp + 4]
push eax
push esi
call fcn.00442d00
add esp, 8
pop esi
add esp, 0xe0
ret
Function at 0x442b20
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
sub esp, 0x14c
push ebx
push ebp
mov ebp, dword [esp + 0x158]
push esi
push edi
xor esi, esi
lea edx, [ebp + 0x1f]
movzx ecx, byte [edx - 1]
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
mov dword [esp + esi*4 + 0x1c], ecx
inc esi
lea edx, [edx + 4]
cmp esi, 0x10
jl 0x442b36
lea eax, [esp + 0x24]
mov edx, 0x40
lea ebx, [ebx]
mov ecx, dword [eax + 0x2c]
xor ecx, dword [eax + 0x18]
lea eax, [eax + 4]
xor ecx, dword [eax - 0xc]
xor ecx, dword [eax - 4]
rol ecx, 1
mov dword [eax + 0x34], ecx
dec edx
jne 0x442b70
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp]
mov edi, dword [ebp + 4]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov ebp, ecx
mov ecx, edi
not ecx
and ecx, ebx
mov eax, esi
and eax, edi
or ecx, eax
mov eax, dword [esp + 0x14]
mov edx, ebp
rol edx, 5
add edx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
add edx, dword [esp + ecx*4 + 0x1c]
mov ebx, esi
add eax, 0x5a827999
mov esi, edi
inc ecx
add edx, eax
mov edi, ebp
ror esi, 2
mov ebp, edx
mov dword [esp + 0x10], ecx
cmp ecx, 0x14
jl 0x442ba0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], 0x14
mov ecx, edx
lea ecx, [ecx]
rol edx, 5
mov eax, ebx
xor eax, esi
xor eax, edi
add edx, eax
mov eax, dword [esp + 0x10]
add edx, dword [esp + eax*4 + 0x1c]
mov eax, dword [esp + 0x14]
add eax, 0x6ed9eba1
add edx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
mov ebx, esi
mov esi, edi
ror esi, 2
inc eax
mov edi, ecx
mov ecx, edx
mov dword [esp + 0x10], eax
cmp eax, 0x28
jl 0x442bf0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], 0x28
mov ebp, edx
lea esp, [esp]
rol edx, 5
mov ecx, esi
or ecx, edi
mov eax, esi
and eax, edi
and ecx, ebx
or ecx, eax
mov eax, dword [esp + 0x10]
add edx, 0x8f1bbcdc
add edx, dword [esp + 0x14]
add ecx, dword [esp + eax*4 + 0x1c]
mov dword [esp + 0x14], ebx
mov ebx, esi
mov esi, edi
inc eax
ror esi, 2
add edx, ecx
mov edi, ebp
mov ebp, edx
mov dword [esp + 0x10], eax
cmp eax, 0x3c
jl 0x442c40
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], 0x3c
mov ecx, edx
lea ebx, [ebx]
rol edx, 5
mov ebp, dword [esp + 0x10]
add edx, dword [esp + 0x14]
mov eax, ebx
xor eax, esi
xor eax, edi
add eax, 0xca62c1d6
add eax, dword [esp + ebp*4 + 0x1c]
mov dword [esp + 0x14], ebx
add edx, eax
mov ebx, esi
mov eax, ebp
mov ebp, dword [esp + 0x160]
mov esi, edi
inc eax
ror esi, 2
mov edi, ecx
mov ecx, edx
mov dword [esp + 0x10], eax
cmp eax, 0x50
jl 0x442c90
add dword [ebp + 4], edi
mov eax, dword [esp + 0x14]
add dword [ebp + 8], esi
add dword [ebp + 0xc], ebx
add dword [ebp], edx
add dword [ebp + 0x10], eax
pop edi
xor eax, eax
pop esi
mov word [ebp + 0x1c], ax
pop ebp
pop ebx
add esp, 0x14c
ret
Function at 0x442d60
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov word [eax + 0x1c], cx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x443790
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x443950
Capabilities:
Encrypt data using rsa via embedded library

Disassembly:
movzx eax, word [esp + 0xc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebp, dword [esi + 0x20]
mov edi, dword [esp + 0x20]
mov ebx, ebp
sub ebx, eax
sub ebx, 3
cmp dword [esp + 0x24], 0
mov byte [edi], 0
lea eax, [edi + 2]
je 0x44398d
push ebx
push 0xff
push eax
mov byte [edi + 1], 1
call fcn.00449690
add esp, 0xc
jmp 0x44399b
push eax
push ebx
mov byte [edi + 1], 2
call fcn.00443e20
add esp, 8
movzx eax, word [esp + 0x1c]
push eax
push dword [esp + 0x1c]
lea eax, [edi + 3]
add eax, ebx
push eax
mov byte [ebx + edi + 2], 0
call fcn.00449040
push ebp
push edi
push dword [esi + 0x24]
call fcn.004469d0
add esp, 0x18
cmp dword [esp + 0x24], 0
mov ecx, eax
je 0x4439e8
push dword [esi + 0x1c]
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [esi + 0x18]
push dword [esi + 0x14]
push ecx
push dword [esi + 0x24]
call fcn.004462c0
add esp, 0x1c
jmp 0x4439fe
mov eax, dword [esi + 0x24]
mov byte [eax + 0x40], 0
push dword [esi + 4]
push ecx
push dword [esi + 0x24]
call fcn.00446c30
add esp, 0xc
push ebp
push edi
push eax
push dword [esi + 0x24]
call fcn.00446830
push dword [esi + 0x24]
call fcn.004461e0
add esp, 0x14
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4470b0
Capabilities:
Use bigint function

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push 0
movsx ecx, word [esi + 4]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + ecx*4 - 4]
inc eax
push eax
push 1
push 0
call fcn.00449fc0
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov dword [ebx + ebp*4 + 0xc], esi
cmp dword [esi + 8], 1
jne 0x44716e
push eax
push esi
push ebx
mov dword [esi + 8], 0x7fff55aa
call fcn.00446b40
add esp, 0xc
mov dword [ebx + ebp*4 + 0x24], eax
cmp dword [eax + 8], 1
jne 0x447173
mov dword [eax + 8], 0x7fff55aa
mov esi, dword [ebx + 8]
push edi
movsx eax, word [esi + 4]
push eax
push ebx
call fcn.00445f20
movsx ecx, word [esi + 4]
shl ecx, 2
push ecx
push dword [esi + 0xc]
mov edi, eax
push dword [edi + 0xc]
call fcn.00449040
mov eax, dword [esp + 0x2c]
add esp, 0x14
lea eax, [eax*2 - 1]
push 0
push dword [ebx + ebp*4 + 0xc]
push eax
push edi
call fcn.00447330
add esp, 8
push eax
push ebx
call fcn.00446380
add esp, 0x10
mov dword [ebx + ebp*4 + 0x18], eax
cmp dword [eax + 8], 1
pop edi
jne 0x447178
pop esi
pop ebp
mov dword [eax + 8], 0x7fff55aa
pop ebx
ret
call fcn.0044c095
call fcn.0044c095
call fcn.0044c095
int3
Function at 0x447440
Capabilities:
Use bigint function

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
dec eax
push edi
mov edi, 1
test eax, eax
jle 0x447457
add edi, edi
dec eax
jne 0x447452
mov esi, dword [esp + 0x14]
lea eax, [edi*4]
push eax
call fcn.0044bebb
mov ebx, dword [esi + 4]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x20]
add esp, 4
movsx ebp, word [eax + 4]
test ebx, ebx
je 0x4474dd
mov eax, dword [ebx]
dec dword [esi + 0x3c]
mov dword [esi + 4], eax
cmp dword [ebx + 8], 0
jne 0x4475d8
movsx eax, word [ebx + 6]
cmp ebp, eax
jle 0x4474b6
add eax, eax
cmp eax, ebp
jg 0x44749f
mov eax, ebp
mov word [ebx + 6], ax
cwde
shl eax, 2
push eax
push dword [ebx + 0xc]
call fcn.0044bfcb
add esp, 8
mov dword [ebx + 0xc], eax
movsx ecx, word [ebx + 4]
cmp ebp, ecx
jle 0x4474d7
mov eax, ebp
sub eax, ecx
shl eax, 2
push eax
mov eax, dword [ebx + 0xc]
push 0
lea eax, [eax + ecx*4]
push eax
call fcn.00449690
add esp, 0xc
mov word [ebx + 4], bp
jmp 0x4474fd
push 0x10
call fcn.0044bebb
lea ecx, [ebp*4]
push ecx
mov ebx, eax
call fcn.0044bebb
add esp, 8
mov dword [ebx + 0xc], eax
mov word [ebx + 6], bp
mov ecx, dword [esp + 0x1c]
mov word [ebx + 4], bp
mov dword [ebx + 8], 1
mov dword [ebx], 0
inc dword [esi + 0x38]
movsx eax, word [ecx + 4]
shl eax, 2
push eax
push dword [ecx + 0xc]
push dword [ebx + 0xc]
call fcn.00449040
mov eax, dword [esi + 0x30]
add esp, 0xc
mov dword [eax], ebx
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
cmp dword [eax + 8], 1
jne 0x4475dd
mov dword [eax + 8], 0x7fff55aa
mov eax, dword [esi + 0x30]
push dword [eax]
push esi
call fcn.00447770
push eax
push esi
call fcn.004460f0
mov ebp, 1
add esp, 0x10
mov ebx, eax
cmp edi, ebp
jle 0x4475ae
mov eax, dword [ebx + 8]
cmp eax, 0x7fff55aa
je 0x447574
inc eax
mov dword [ebx + 8], eax
mov eax, dword [esi + 0x30]
push 0
push 0
push ebx
push dword [eax + ebp*4 - 4]
push esi
call fcn.004475f0
push eax
push esi
call fcn.004460f0
mov ecx, dword [esi + 0x30]
add esp, 0x1c
mov dword [ecx + ebp*4], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + ebp*4]
cmp dword [eax + 8], 1
jne 0x4475d8
inc ebp
mov dword [eax + 8], 0x7fff55aa
cmp ebp, edi
jl 0x447566
mov eax, dword [ebx + 8]
cmp eax, 0x7fff55aa
je 0x4475d0
dec eax
mov dword [ebx + 8], eax
test eax, eax
jg 0x4475d0
mov eax, dword [esi + 4]
mov dword [ebx], eax
inc dword [esi + 0x3c]
dec dword [esi + 0x38]
mov dword [esi + 4], ebx
js 0x4475e2
mov dword [esi + 0x34], edi
pop edi
pop esi
pop ebp
pop ebx
ret
call fcn.0044c095
call fcn.0044c095
call fcn.0044c095
int3
Function at 0x447960
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov al, 0x10
mov edx, dword [ebp + 0x50]
sub al, byte [ebp + 0x50]
push esi
push edi
cmp edx, 0x10
jge 0x447998
movzx eax, al
imul eax, eax, 0x1010101
mov ecx, 0x10
sub ecx, edx
mov esi, ecx
shr ecx, 2
lea edi, [ebp + 0x40]
add edi, edx
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
xor bl, bl
lea edx, [ebp + 0x40]
mov esi, 0x10
mov cl, byte [edx]
mov al, byte [edx - 0x30]
xor al, cl
mov byte [edx - 0x20], cl
mov byte [edx - 0x10], al
lea edx, [edx + 1]
dec esi
jne 0x4479a2
mov dword [esp + 0x18], esi
lea esp, [esp]
lea eax, [ebp + 0x11]
mov esi, 8
jmp 0x4479d0
movzx ecx, bl
lea eax, [eax + 6]
movzx edx, byte [ecx + str._.C]
movzx ecx, byte [eax - 7]
xor edx, ecx
movzx ecx, dl
mov byte [eax - 7], dl
movzx edx, byte [ecx + str._.C]
movzx ecx, byte [eax - 6]
xor edx, ecx
movzx ecx, dl
mov byte [eax - 6], dl
movzx edx, byte [ecx + str._.C]
movzx ecx, byte [eax - 5]
xor edx, ecx
movzx ecx, dl
mov byte [eax - 5], dl
movzx edx, byte [ecx + str._.C]
movzx ecx, byte [eax - 4]
xor edx, ecx
movzx ecx, dl
mov byte [eax - 4], dl
movzx edx, byte [ecx + str._.C]
movzx ecx, byte [eax - 3]
xor edx, ecx
movzx ecx, dl
mov byte [eax - 3], dl
movzx ebx, byte [ecx + str._.C]
movzx ecx, byte [eax - 2]
xor ebx, ecx
mov byte [eax - 2], bl
dec esi
jne 0x4479d0
mov ecx, dword [esp + 0x18]
add bl, cl
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, 0x12
jl 0x4479c0
mov bl, byte [ebp + 0xf]
xor edx, edx
movzx ecx, byte [ebp + edx + 0x40]
movzx eax, bl
xor ecx, eax
movzx eax, byte [edx + ebp]
movzx ebx, byte [ecx + str._.C]
xor ebx, eax
mov byte [edx + ebp], bl
inc edx
cmp edx, 0x10
jl 0x447a61
mov eax, dword [ebp]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 4]
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 0x48], eax
mov eax, dword [ebp + 0xc]
push ebp
mov dword [ebp + 0x4c], eax
call fcn.00447c50
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x18]
pop edi
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x1c]
pop esi
pop ebp
mov dword [ecx + 0xc], eax
pop ebx
ret
Function at 0x447af0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x14]
test ebp, ebp
jle 0x447c40
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
mov ecx, dword [esi + 0x50]
lea eax, [ecx + ebp]
cmp eax, 0x10
jle 0x447b19
mov edi, 0x10
sub edi, ecx
jmp 0x447b1b
mov edi, ebp
mov ebx, dword [esp + 0x1c]
push edi
lea eax, [ecx + 0x40]
add eax, esi
push ebx
push eax
call fcn.00449040
add dword [esi + 0x50], edi
add ebx, edi
add esp, 0xc
sub ebp, edi
cmp dword [esi + 0x50], 0x10
mov dword [esp + 0x1c], ebx
jne 0x447c35
mov dword [esi + 0x50], 0
xor bl, bl
lea edx, [esi + 0x40]
mov edi, 0x10
mov cl, byte [edx]
mov al, byte [edx - 0x30]
xor al, cl
mov byte [edx - 0x20], cl
mov byte [edx - 0x10], al
lea edx, [edx + 1]
dec edi
jne 0x447b55
lea eax, [esi + 0x11]
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], eax
mov esi, eax
mov eax, esi
mov edi, 8
lea esp, [esp]
movzx ecx, bl
lea eax, [eax + 6]
movzx edx, byte [ecx + str._.C]
movzx ecx, byte [eax - 7]
xor edx, ecx
movzx ecx, dl
mov byte [eax - 7], dl
movzx edx, byte [ecx + str._.C]
movzx ecx, byte [eax - 6]
xor edx, ecx
movzx ecx, dl
mov byte [eax - 6], dl
movzx edx, byte [ecx + str._.C]
movzx ecx, byte [eax - 5]
xor edx, ecx
movzx ecx, dl
mov byte [eax - 5], dl
movzx edx, byte [ecx + str._.C]
movzx ecx, byte [eax - 4]
xor edx, ecx
movzx ecx, dl
mov byte [eax - 4], dl
movzx edx, byte [ecx + str._.C]
movzx ecx, byte [eax - 3]
xor edx, ecx
movzx ecx, dl
mov byte [eax - 3], dl
movzx ebx, byte [ecx + str._.C]
movzx ecx, byte [eax - 2]
xor ebx, ecx
mov byte [eax - 2], bl
dec edi
jne 0x447b80
mov ecx, dword [esp + 0x20]
add bl, cl
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, 0x12
jl 0x447b75
mov esi, dword [esp + 0x18]
xor edx, edx
mov bl, byte [esi + 0xf]
movzx ecx, byte [esi + edx + 0x40]
movzx eax, bl
xor ecx, eax
movzx eax, byte [edx + esi]
movzx ebx, byte [ecx + str._.C]
xor ebx, eax
mov byte [edx + esi], bl
inc edx
cmp edx, 0x10
jl 0x447c15
test ebp, ebp
jg 0x447b05
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret
Function at 0x447c50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor bl, bl
lea edx, [edi + 0x40]
mov esi, 0x10
mov cl, byte [edx]
mov al, byte [edx - 0x30]
xor al, cl
mov byte [edx - 0x20], cl
mov byte [edx - 0x10], al
lea edx, [edx + 1]
dec esi
jne 0x447c62
mov dword [esp + 0x14], esi
lea esp, [esp]
lea eax, [edi + 0x11]
mov esi, 8
jmp 0x447c90
movzx ecx, bl
lea eax, [eax + 6]
movzx edx, byte [ecx + str._.C]
movzx ecx, byte [eax - 7]
xor edx, ecx
movzx ecx, dl
mov byte [eax - 7], dl
movzx edx, byte [ecx + str._.C]
movzx ecx, byte [eax - 6]
xor edx, ecx
movzx ecx, dl
mov byte [eax - 6], dl
movzx edx, byte [ecx + str._.C]
movzx ecx, byte [eax - 5]
xor edx, ecx
movzx ecx, dl
mov byte [eax - 5], dl
movzx edx, byte [ecx + str._.C]
movzx ecx, byte [eax - 4]
xor edx, ecx
movzx ecx, dl
mov byte [eax - 4], dl
movzx edx, byte [ecx + str._.C]
movzx ecx, byte [eax - 3]
xor edx, ecx
movzx ecx, dl
mov byte [eax - 3], dl
movzx ebx, byte [ecx + str._.C]
movzx ecx, byte [eax - 2]
xor ebx, ecx
mov byte [eax - 2], bl
dec esi
jne 0x447c90
mov ecx, dword [esp + 0x14]
add bl, cl
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 0x12
jl 0x447c80
mov bl, byte [edi + 0xf]
xor edx, edx
movzx ecx, byte [edx + edi + 0x40]
movzx eax, bl
xor ecx, eax
movzx eax, byte [edx + edi]
movzx ebx, byte [ecx + str._.C]
xor ebx, eax
mov byte [edx + edi], bl
inc edx
cmp edx, 0x10
jl 0x447d21
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x457648
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4aecc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0044dd82
mov dword [ebp - 0x14], eax
cmp dword [0x4b5408], edi
jne 0x457739
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4576c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x457819
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x457819
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x457819
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4b5408], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4b540c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4b5410], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b5418], eax
test eax, eax
je 0x457736
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b5414], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x45775e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x457751
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x457773
push 4
pop eax
jmp 0x45781b
cmp dword [ebp - 0x14], edi
je 0x457773
push dword [0x4b5408]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x457758
mov eax, dword [0x4b5414]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4577d1
cmp dword [0x4b5418], esi
je 0x4577d1
push eax
call ebx
push dword [0x4b5418]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4577d1
test eax, eax
je 0x4577d1
call ecx
test eax, eax
je 0x4577c6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4577c6
test byte [ebp - 8], 1
jne 0x4577d1
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x457801
mov eax, dword [0x4b540c]
cmp eax, esi
je 0x4577fe
push eax
call ebx
test eax, eax
je 0x4577fe
call eax
mov edi, eax
test edi, edi
je 0x4577fe
mov eax, dword [0x4b5410]
cmp eax, esi
je 0x4577fe
push eax
call ebx
test eax, eax
je 0x4577fe
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4b5408]
call ebx
test eax, eax
je 0x457819
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x45781b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449d88
leave
ret
Function at 0x40ed30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov dword [0x5d8470], eax
xor eax, eax
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x5d846c]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul edx, edx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5d8470], edx
cmp eax, 0x26f
jl 0x40ed40
mov dword [0x568f70], 0x270
mov esp, ebp
pop ebp
ret

Function at 0x40ed80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, 0xffffffff
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x5d8474]
mov ebx, dword [eax*4 + 0x5d8470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x5d8aa4]
mov dword [eax*4 + 0x5d8470], edx
cmp eax, 0xe2
jl 0x40ed90
mov eax, 0xe2
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x5d8474]
mov ebx, dword [eax*4 + 0x5d8470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x5d80e4]
mov dword [eax*4 + 0x5d8470], edx
cmp eax, 0x26e
jl 0x40ede0
mov edx, dword [0x5d8470]
mov ecx, dword [0x5d8e2c]
mov eax, edx
and eax, 1
neg eax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x5d8aa0]
mov dword [0x5d8e2c], eax
mov dword [0x568f70], 0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40ee70
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [0x568f70]
add dword [0x568f70], 1
mov eax, dword [0x5d7020]
cmp eax, dword [0x5686c0]
jne 0x40ee96
cmp ebx, 0x271
jb 0x40eeb8
mov eax, dword [0x5d7020]
call fcn.0040ed30
not dword [0x5d7020]
mov eax, dword [0x5d7020]
mov dword [0x5686c0], eax
mov ebx, 0x270
lea esi, [esi]
cmp ebx, 0x270
jne 0x40eed4
call fcn.0040ed80
xor ebx, ebx
mov dword [0x568f70], 1
lea esi, [esi]
mov edx, dword [ebx*4 + 0x5d8470]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret