joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f342
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [esi + 0x2c]
push edi
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea ecx, [ebx + ecx - 0x106]
mov dword [ebp - 8], edi
cmp eax, ecx
jb 0x40f3d1
mov eax, dword [esi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.004124d8
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x44]
sub dword [esi + 0x70], ebx
sub dword [esi + 0x6c], ebx
add esp, 0xc
sub dword [esi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
sub eax, 2
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x40f38f
mov eax, dword [esi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
sub eax, 2
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x40f3b2
add edi, ebx
mov dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x40f496
mov ecx, dword [esi + 0x74]
add ecx, dword [esi + 0x6c]
mov eax, dword [edi + 4]
add ecx, dword [esi + 0x38]
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], eax
cmp eax, edx
jbe 0x40f3f9
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x40f403
xor eax, eax
jmp 0x40f45a
sub eax, dword [ebp - 4]
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x40f423
push dword [ebp - 4]
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
call fcn.004114a8
jmp 0x40f43d
cmp eax, 2
jne 0x40f444
mov edx, dword [edi]
mov eax, dword [edi + 0x30]
test edx, edx
jne 0x40f435
xor eax, eax
jmp 0x40f441
push dword [ebp - 4]
call fcn.0040fd45
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x30], eax
push dword [ebp - 4]
push dword [edi]
push ecx
call fcn.004124d8
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x74], eax
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x40f482
mov edx, dword [esi + 0x6c]
add edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x40f496
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x40f34d
pop edi
pop ebx
leave
ret
Function at 0x403814
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x66e008], 0x8088405
inc edx
mov dword [ebx + 0x66e008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x42d14c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42d152
ret

Function at 0x43aac0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43ac71
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004059f0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x43ac88
call fcn.0040564c
mov eax, ebx
call fcn.0042b014
mov edi, eax
dec edi
test edi, edi
jl 0x43ab78
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0042afe8
mov edx, dword [0x459964]
call fcn.00404650
test al, al
je 0x43ab74
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0042afe8
lea edx, [ebp - 0x14]
call fcn.00468eb4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004059f0
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004056c0
inc esi
dec edi
jne 0x43ab26
mov al, byte [0x43ac8c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x43ac98
mov eax, dword [ebp - 0xc]
call fcn.00411918
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004053bc
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00468eb4
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x43ac88
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00468eb4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x43ac88
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x43ac88
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x43aca4
call fcn.0040bd18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ac78
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00405348
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405348
lea eax, [ebp - 0x14]
call fcn.00405324
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405348
ret
Function at 0x49c42c
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x66f4dc
mov ecx, dword [esp]
lea edx, [esp + 0xc]
xor ebx, ebx
mov bl, byte [edi]
mov bl, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x49c44b
mov esi, 1
mov edx, 0x66f5e4
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
shl ecx, 2
xor ebx, ebx
mov bl, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
xor ebx, ebx
mov bl, byte [esp + eax + 0x11]
add edi, ebx
xor ebx, ebx
mov bl, byte [esp + eax + 0xd]
shl ebx, 3
movzx ebp, byte [esp + eax + 0xe]
shl ebp, 2
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x49c4c5
dec ebx
je 0x49c4e9
dec ebx
je 0x49c50d
dec ebx
je 0x49c530
jmp 0x49c549
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 8
and ebx, 0xff
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x49c549
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 4
and ebx, 0xff
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x49c549
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 2
and ebx, 0xff
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x49c549
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x49c4b2
inc esi
add edx, 0x40
cmp esi, 9
jne 0x49c467
mov esi, 0x20
mov eax, 0x66f50c
mov edx, dword [esp + 4]
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x49c56e
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x49c5a8
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
xor eax, eax
mov al, dl
mov bl, byte [eax + 0x66f593]
test bl, bl
jbe 0x49c5d9
lea eax, [esi + 0x3e0]
call fcn.0049c588
lea eax, [esi + 0x3fc]
call fcn.0049c588
dec bl
jne 0x49c5bf
mov cl, 0x30
mov edi, 0x66f564
mov eax, dword [esp]
mov dl, byte [edi]
cmp dl, 0x1c
ja 0x49c5fb
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x49c60a
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x49c5e3
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x49c618
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.0049c3c0
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x49c634
mov bl, 0x1c
mov esi, 0x66f52c
lea edi, [ebp - 0x41]
mov dl, byte [esi]
mov eax, dword [ebp - 8]
call fcn.0049c3c0
mov byte [edi], al
mov dl, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.0049c3c0
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x49c650
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.0049c5a8
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x49c678
mov bl, 1
mov eax, 0x66f45c
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x49c6b1
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x49c6be
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x49c69d
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x49c6e8
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.0049c42c
jmp 0x49c710
xor eax, eax
mov al, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.0049c42c
mov bl, 0x20
lea eax, [ebp - 0xa1]
mov dl, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x49c718
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x49c6d0
mov bl, 0x40
mov esi, 0x66f49c
lea eax, [ebp - 0x3e1]
mov dl, byte [esi]
cmp dl, 0x20
ja 0x49c77e
and edx, 0xff
mov dl, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x49c78d
and edx, 0xff
mov dl, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x49c766
mov bl, 1
lea esi, [ebp - 0x3e1]
mov cl, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.0049c3e8
inc ebx
inc esi
cmp bl, 0x41
jne 0x49c79b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x49d568
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebp, ecx
mov dword [esp], edx
mov esi, eax
mov dl, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
mov al, byte [esi + 1]
xor ecx, ecx
mov cl, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
mov dl, byte [esi + 2]
xor ecx, ecx
mov cl, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
mov al, byte [esi + 3]
xor ecx, ecx
mov cl, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
xor edx, edx
mov dl, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [esp + 8], al
mov al, byte [esi + 4]
shl eax, 3
and al, 0xff
xor edx, edx
mov dl, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [esp + 9], al
mov al, byte [esi + 5]
shl eax, 2
and al, 0xff
xor edx, edx
mov dl, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
mov al, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov edi, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
xor ebx, ebx
mov bl, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x49d614
mov dl, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec edi
jne 0x49d60f
mov eax, ebp
mov edx, 8
call fcn.0040598c
push 1
mov eax, ebp
call fcn.00405858
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.0049c618
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ad574
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
shl eax, 2
mov ecx, 3
cdq
idiv ecx
mov ebx, eax
mov edx, ebx
add edx, 4
mov eax, esi
call fcn.0040598c
mov eax, esi
call fcn.00405858
push eax
mov edx, ebx
add edx, 2
xor ecx, ecx
pop eax
call fcn.004037f4
cmp byte [ebp - 1], 0
jne 0x4ad5e7
mov eax, esi
call fcn.00405858
mov dl, byte [ebp - 0xc]
dec edx
and dl, 0x3f
add dl, 0x21
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 2
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
mov edi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov al, byte [ebp - 1]
sub al, 1
jb 0x4ad600
sub al, 2
jb 0x4ad607
jmp 0x4ad60c
mov ebx, 2
jmp 0x4ad60c
mov ebx, 1
mov eax, esi
call fcn.00405858
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x4ad6ee
test edi, edi
jle 0x4ad668
mov eax, esi
call fcn.00405858
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and eax, edx
mov ecx, edi
shr eax, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
sub edi, 6
inc ebx
mov eax, esi
call fcn.00405858
mov byte [eax + ebx - 1], 0
jmp 0x4ad6e2
test edi, edi
jge 0x4ad6ae
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.00405858
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shr eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and al, byte [edx + ecx]
mov ecx, edi
shl al, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
mov eax, 8
sub eax, edi
mov edi, eax
inc dword [ebp - 0x10]
jmp 0x4ad6e2
mov eax, esi
call fcn.00405858
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.00405858
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x4ad624
mov al, byte [ebp - 1]
sub al, 1
jb 0x4ad6fe
sub al, 2
jb 0x4ad737
jmp 0x4ad77e
cmp edi, 2
jne 0x4ad704
dec ebx
mov eax, ebx
sub eax, 2
jl 0x4ad77e
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.00405858
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x66f8e8]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4ad714
jmp 0x4ad77e
cmp edi, 2
jne 0x4ad73d
dec ebx
test ebx, ebx
jle 0x4ad779
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.00405858
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x66f8ec]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4ad749
jmp 0x4ad779
inc ebx
mov eax, esi
call fcn.00405858
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x4ad76c
mov eax, esi
mov edx, ebx
call fcn.0040598c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4af298
Capabilities:
Hash data with md5

Disassembly:
push ebx
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
mov edx, 0x40
lea ecx, [eax + 0x18]
mov byte [ecx], 0
inc ecx
dec edx
jne 0x4af2ab
mov edx, 0x10
lea ecx, [eax + 0x58]
xor ebx, ebx
mov dword [ecx], ebx
add ecx, 4
dec edx
jne 0x4af2ba
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff50
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004057f0
mov eax, dword [ebp - 8]
call fcn.004057f0
xor eax, eax
push ebp
push 0x4aff24
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00405600
cmp eax, 0x40
jle 0x4afe2c
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 8]
call fcn.004afd90
mov edx, dword [ebp - 0xb0]
lea eax, [ebp - 8]
call fcn.004053bc
lea ecx, [ebp - 0xc]
mov edx, 0x40
mov al, 0x36
call fcn.004059f0
lea ecx, [ebp - 0x10]
mov edx, 0x40
mov al, 0x5c
call fcn.004059f0
mov eax, dword [ebp - 8]
call fcn.00405600
mov esi, eax
test esi, esi
jle 0x4afe95
mov ebx, 1
lea eax, [ebp - 0xc]
call fcn.00405858
mov edx, dword [ebp - 0xc]
mov dl, byte [edx + ebx - 1]
mov ecx, dword [ebp - 8]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
lea eax, [ebp - 0x10]
call fcn.00405858
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + ebx - 1]
mov ecx, dword [ebp - 8]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4afe5d
lea eax, [ebp - 0xac]
call fcn.004af298
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 0xc]
call fcn.004afae8
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 4]
call fcn.004afae8
lea edx, [ebp - 0x14]
lea eax, [ebp - 0xac]
call fcn.004afc14
lea eax, [ebp - 0xac]
call fcn.004af298
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 0x10]
call fcn.004afae8
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 0x14]
call fcn.004afae8
mov edx, edi
lea eax, [ebp - 0xac]
call fcn.004afc14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aff2b
lea eax, [ebp - 0xb0]
call fcn.00405324
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00405348
ret
Function at 0x4d8da4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004057f0
xor eax, eax
push ebp
push 0x4d8e2e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4d8e0e
mov eax, dword [ebp - 4]
call fcn.00405600
mov ebx, eax
cmp ebx, 2
jl 0x4d8dfc
lea eax, [ebp - 4]
call fcn.00405858
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 2]
xor dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
cmp ebx, 1
jne 0x4d8dda
lea eax, [ebp - 4]
call fcn.00405858
mov edx, dword [ebp - 4]
mov dl, byte [edx]
xor dl, 0xa5
mov byte [eax], dl
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00405378
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8e35
lea eax, [ebp - 4]
call fcn.00405324
ret
Function at 0x4f40e8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
test dl, dl
je 0x4f4102
add esp, 0xfffffff0
call fcn.00404830
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f421d
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00404488
mov eax, dword [ebp - 4]
add eax, 4
call fcn.00405324
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00405324
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00405324
mov eax, dword [ebp - 4]
add eax, 0x10
call fcn.00405324
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], edx
mov dl, 1
mov eax, dword [0x41f634]
call fcn.00404488
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x3c], 0
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.004072d4
xor edx, edx
push ebp
push 0x4f41d6
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0xc]
mov eax, dword [0x4f1738]
call fcn.004f1794
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.004072ec
mov eax, dword [ebp - 4]
mov byte [eax + 0x3c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f4207
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4224
lea eax, [ebp - 0xc]
call fcn.004072d4
ret
Function at 0x4fc9c4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x4fca9c
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00502b5c
lea ecx, [ebp - 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
movzx edx, byte [edx + 0xc]
call fcn.00502a90
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c]
cmp al, 3
jne 0x4fca58
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004fcd3c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
cmp eax, 0xf
jne 0x4fca58
lea edx, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004fceb0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0xc]
cmp eax, 4
ja 0x4fca5c
xor ebx, ebx
jmp 0x4fca5e
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fcaa3
lea eax, [ebp - 0x18]
call fcn.004072d4
lea eax, [ebp - 0x14]
call fcn.004072d4
lea eax, [ebp - 0x10]
call fcn.004072d4
lea eax, [ebp - 0xc]
call fcn.004072d4
lea eax, [ebp - 8]
call fcn.004072d4
lea eax, [ebp - 4]
call fcn.004072d4
ret

Function at 0x4fd20c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
test dl, dl
je 0x4fd223
add esp, 0xfffffff0
call fcn.00404830
mov ebx, ecx
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x4fd29f
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00404488
mov byte [esi + 0xc], bl
mov al, byte [ebp + 8]
mov byte [esi + 0xd], al
call fcn.00502b5c
lea ecx, [ebp - 0xc]
xor edx, edx
mov dl, byte [esi + 0xc]
call fcn.00502a90
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov byte [esi + 0xe], al
xor eax, eax
mov dword [esi + 0x210], eax
mov eax, esi
call fcn.004fd31c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd2a6
lea eax, [ebp - 0xc]
call fcn.004072d4
lea eax, [ebp - 8]
call fcn.004072d4
ret