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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov edx, dword [esi + 4]
mov ecx, dword [esi]
add edx, 2
lea edx, [esi + edx*4]
mov dword [ebp - 4], edx
test edi, edi
je 0x4d394c
push ebx
mov ebx, dword [ebp + 0xc]
cmp ecx, 0x10
je 0x4d38f3
mov al, byte [edx + ecx]
xor byte [ebx], al
inc ecx
inc ebx
sub edi, 1
je 0x4d38f0
cmp ecx, 0x10
jne 0x4d38df
mov dword [ebp + 0x10], edi
cmp edi, 0x10
jb 0x4d391c
mov esi, edi
lea ecx, [edx + 0x10]
shr esi, 4
mov edx, ebx
push esi
call dword [0x782420]
mov edx, dword [ebp - 4]
shl esi, 4
add ebx, esi
sub edi, esi
mov esi, dword [ebp + 8]
push 0x10
mov dword [ebp + 0x10], edi
pop ecx
test edi, edi
je 0x4d3949
mov edi, edx
lea ecx, [edx + 0x10]
xor eax, eax
push 1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [0x782420]
mov edi, dword [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp + 0x10]
sub edi, ebx
mov al, byte [edi + ebx]
xor byte [ebx], al
inc ecx
inc ebx
sub edx, 1
jne 0x4d393d
mov dword [esi], ecx
pop ebx
pop edi
pop esi
leave
ret

Function at 0x4d3c74
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, 0x12345678
push esi
push edi
xor edi, edi
mov esi, 0x23456789
mov edx, 0x34567890
cmp dword [ebp + 0x10], edi
jbe 0x4d3ccc
movzx eax, byte [ebx + edi]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x782440]
movzx eax, cl
add eax, esi
imul esi, eax, 0x8088405
inc esi
mov eax, esi
shr eax, 0x18
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x782440]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x4d3c93
mov eax, dword [ebp + 8]
pop edi
mov dword [eax + 0x18], esi
pop esi
mov dword [eax + 0x14], ecx
mov dword [eax + 0x1c], edx
xor eax, eax
pop ebx
pop ebp
ret 0xc

Function at 0x4d3ce1
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 8]
and dword [ebp - 4], 0
push ebx
push esi
mov ebx, dword [edx + 0xc]
mov eax, dword [edx + 0x10]
mov esi, dword [edx + 0x14]
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x4d3d67
mov edx, eax
mov edi, dword [ebp + 0xc]
mov eax, esi
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
mov eax, dword [ebp - 4]
shr ecx, 8
xor cl, byte [edi + eax]
movzx eax, cl
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x782440]
movzx eax, bl
add eax, edx
imul edx, eax, 0x8088405
inc edx
mov eax, edx
shr eax, 0x18
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x782440]
mov eax, dword [ebp - 4]
mov byte [edi + eax], cl
inc eax
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
cmp eax, edi
jb 0x4d3d02
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, edi
pop edi
mov dword [edx + 0x14], esi
pop esi
mov dword [edx + 0xc], ebx
pop ebx
leave
ret 0xc
Function at 0x4d3d79
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
push edi
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0xc]
mov edi, dword [esi + 0x14]
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], ecx
jbe 0x4d3e03
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0xc]
mov dl, byte [eax + ecx]
mov eax, edi
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
mov eax, dword [ebp - 4]
shr ecx, 8
xor cl, dl
mov byte [esi + eax], cl
movzx eax, dl
xor eax, ebx
mov ecx, dword [ebp - 4]
movzx eax, al
shr ebx, 8
xor ebx, dword [eax*4 + 0x782440]
movzx eax, bl
add eax, dword [ebp - 8]
imul esi, eax, 0x8088405
inc esi
mov eax, esi
mov dword [ebp - 8], esi
shr eax, 0x18
xor eax, edi
shr edi, 8
movzx eax, al
xor edi, dword [eax*4 + 0x782440]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [ebp + 0x10]
jb 0x4d3d9a
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [esi + 0x14], edi
pop edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x10]
pop esi
pop ebx
leave
ret 0xc

Function at 0x4d3f1c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x75d580]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0x40
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0053fb70
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x44]
add esp, 0xc
xor edx, edx
sub esi, eax
lea ecx, [ebp - 0x44]
add ecx, edx
mov al, byte [esi + ecx]
xor byte [ecx], al
inc edx
cmp edx, 0x14
jb 0x4d3f51
lea eax, [ebp - 0xa4]
push eax
call fcn.004e9f3c
push 0x40
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004e9f6e
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.004e961f
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
call fcn.0048a267
leave
ret
Function at 0x4d6348
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov edx, dword [edx]
and edx, 7
cmp eax, 5
jae 0x4d6366
xor eax, eax
jmp 0x4d648c
add dword [ebp + 0x10], 5
lea ecx, [eax - 4]
push ebx
mov ebx, dword [ebp + 8]
add ecx, ebx
push esi
mov dword [ebp + 0xc], ecx
lea esi, [edi + ebx]
jmp 0x4d6385
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x4d6389
inc esi
cmp esi, ecx
jb 0x4d637c
mov ecx, esi
sub ecx, edi
mov edi, esi
sub ecx, ebx
sub edi, ebx
cmp esi, dword [ebp + 0xc]
jae 0x4d6479
cmp ecx, 2
jbe 0x4d6413
xor edx, edx
movzx ecx, byte [esi + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x4d646d
movzx eax, byte [esi + 3]
mov ebx, dword [ebp + 0x10]
shl ecx, 8
add ebx, edi
or ecx, eax
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
add ecx, ebx
sub eax, ebx
cmp dword [ebp + 0x18], 0
cmove ecx, eax
mov dword [ebp - 4], ecx
mov ebx, ecx
test edx, edx
je 0x4d6447
and edx, 6
mov eax, ecx
shl edx, 2
mov ecx, edx
shr eax, cl
inc eax
test al, 0xfe
jne 0x4d6445
mov eax, dword [ebp + 0x10]
mov ebx, 0x100
shl ebx, cl
add eax, edi
dec ebx
xor ebx, dword [ebp - 4]
cmp dword [ebp + 0x18], 0
je 0x4d6443
add ebx, eax
jmp 0x4d6445
shr edx, cl
test edx, edx
je 0x4d63a3
cmp edx, 4
ja 0x4d6435
cmp edx, 3
je 0x4d6435
mov eax, edx
shr eax, 1
movzx eax, byte [eax + esi + 1]
inc eax
test al, 0xfe
jne 0x4d63a3
or edx, 8
shr edx, 1
inc edi
mov ecx, dword [ebp + 0xc]
jmp 0x4d6377
sub ebx, eax
xor edx, edx
mov eax, ebx
mov byte [esi + 1], bl
shr eax, 8
mov byte [esi + 2], al
mov eax, ebx
shr ebx, 0x18
shr eax, 0x10
and bl, 1
neg bl
mov byte [esi + 3], al
push 5
mov byte [esi + 4], bl
mov ebx, dword [ebp + 8]
pop eax
jmp 0x4d6475
or edx, 8
xor eax, eax
shr edx, 1
inc eax
add edi, eax
jmp 0x4d643b
xor eax, eax
shr edx, cl
cmp ecx, 2
pop esi
cmova edx, eax
mov eax, dword [ebp + 0x14]
pop ebx
mov dword [eax], edx
mov eax, edi
pop edi
leave
ret
Function at 0x4d6f29
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 8]
inc eax
push edi
push 0x20
pop ecx
or dword [esi + 0x90], 0xffffffff
or dword [esi + 0x94], 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
mov eax, dword [esi + 4]
cmp eax, ecx
mov dword [esi + 0x78], edx
cmova eax, ecx
mov dword [esi + 0x7c], edx
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], edx
mov dword [esi + 0x70], edx
mov dword [esi + 0x88], edx
mov dword [esi + 0x68], edx
mov dword [esi + 0x6c], edx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], edx
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], edx
mov dword [esi + 0x80], edx
mov dword [esi + 0x84], edx
mov dword [esi + 0x58], edx
cmp eax, dword [esi + 0x20]
je 0x4d6fd6
lea edi, [esi + 0xc8]
mov ebx, ecx
cmp dword [edi + 8], edx
je 0x4d6fb5
push edi
call fcn.004d6efe
pop ecx
xor edx, edx
add edi, 0x28
sub ebx, 1
jne 0x4d6fa7
cmp dword [esi + 0x5c], ebx
je 0x4d6fd1
mov eax, dword [esi + 0x14]
push dword [esi + 0x5c]
push eax
call dword [eax + 4]
and dword [esi + 0x5c], ebx
pop ecx
pop ecx
mov eax, dword [esi]
mov dword [esi + 0x20], eax
push dword [esi + 0x10]
lea eax, [esi + 0x98]
push eax
call fcn.004d7438
mov ecx, dword [esi + 0x58]
and dword [esi + 0x24], 0
and dword [esi + 0x28], 0
lea eax, [ecx + 5]
imul ebx, eax, 0x28
lea eax, [ecx + 1]
mov dword [esi + 0x58], eax
add ebx, esi
push ebx
call fcn.004d6ec0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4d7058
lea eax, [ebx + 0x20]
push eax
call fcn.004dfef6
mov edi, eax
pop ecx
test edi, edi
jne 0x4d7058
lea eax, [ebx + 0x1c]
push eax
call fcn.004dfef6
mov edi, eax
pop ecx
test edi, edi
jne 0x4d7058
push ebx
call fcn.004d7f91
mov edi, eax
test edi, edi
je 0x4d7058
and dword [esi + 0x44], 0
lea ebx, [esi + 0xc8]
push 0x20
pop esi
push ebx
call fcn.004d6e36
add ebx, 0x28
pop ecx
sub esi, 1
jne 0x4d7046
mov esi, dword [ebp + 8]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
test eax, eax
je 0x4d706c
mov dword [esi + 0x40], eax
xor edx, edx
cmp dword [esi + 0x38], edx
jne 0x4d7080
cmp dword [esi + 0x40], edx
jne 0x4d7080
cmp dword [esi + 0x3c], edx
jne 0x4d7080
mov dword [esi + 0x44], edx
xor ecx, ecx
cmp dword [esi + 0x44], edx
pop edi
pop esi
cmovne eax, ecx
pop ebx
pop ebp
ret
Function at 0x4da1fb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], edi
movzx esi, word [ecx]
mov eax, esi
shr esi, 4
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebx + eax*4]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + esi*4]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 0x10]
shr eax, 4
mov eax, dword [ebx + eax*4]
add eax, esi
mov dword [ebp - 0x14], eax
test edx, edx
je 0x4da285
lea eax, [edi + 4]
mov dword [ebp - 4], edx
mov esi, ecx
mov edi, eax
push ebx
push edi
push dword [ebp - 0x10]
push esi
call fcn.004ddb3b
push ebx
lea eax, [edi + 0x20]
push eax
push dword [ebp - 0x14]
lea eax, [esi + 0x10]
push eax
call fcn.004ddb3b
add esp, 0x20
add edi, 0x440
add esi, 0x20
sub dword [ebp - 4], 1
jne 0x4da24e
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edx, dword [edi]
cmp edx, 0x10
jbe 0x4da363
lea eax, [edi + 0x44]
add edx, 0xfffffff1
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
movzx eax, word [ecx + 0x10]
xor eax, 0x7f0
shr edx, 1
shr eax, 4
add esi, dword [ebx + eax*4]
lea eax, [edx + 0x180]
mov dword [ebp + 0xc], esi
lea eax, [ecx + eax*2]
dec edx
sub eax, 2
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
lea esi, [edx + 0x80]
mov dword [ebp + 8], eax
mov edx, eax
mov ecx, esi
shr esi, 1
and ecx, 1
neg ecx
shr ecx, 4
movzx eax, word [edi + esi*2 + 0x200]
and ecx, 0x7f
shr eax, 4
xor eax, ecx
add edx, dword [ebx + eax*4]
cmp esi, 2
jae 0x4da2d1
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov dword [ebp + 8], edx
movzx ecx, word [eax]
mov eax, ecx
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
mov eax, dword [ebx + eax*4]
add eax, edx
mov edx, dword [ebp - 0x14]
mov dword [esi + edx*8], eax
mov eax, dword [ebx + ecx*4]
mov ecx, esi
add eax, dword [ebp + 8]
mov dword [ecx + edx*8 + 4], eax
mov eax, dword [ebp - 8]
test edx, edx
jne 0x4da2b9
mov edi, dword [ebp - 0xc]
mov eax, dword [edi]
lea ebx, [eax*4 - 0x40]
mov eax, dword [ebp - 0x18]
cmp eax, 1
jbe 0x4da363
lea esi, [edi + 0x484]
lea edi, [eax - 1]
push ebx
push ecx
push esi
call fcn.0053f540
mov ecx, dword [ebp - 4]
add esp, 0xc
add esi, 0x440
sub edi, 1
jne 0x4da34a
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4da4f9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 8]
xor eax, eax
push ebx
push esi
mov dword [ebp - 4], eax
lea ecx, [edx + 0x11fc]
mov dword [ebp - 8], ecx
push edi
mov esi, eax
mov edi, eax
movzx eax, word [edx + 0x1e1e]
and esi, 1
mov ecx, esi
shr edi, 1
neg ecx
and ecx, 0x7f0
xor ecx, eax
mov eax, dword [ebp + 8]
shr ecx, 4
mov ebx, dword [edx + ecx*4 + 0x748]
mov edx, edi
movzx ecx, word [eax + esi*2 + 0x1e20]
and edx, 1
mov eax, edx
shr ecx, 4
neg eax
shr edi, 1
shr eax, 4
and edi, 1
and eax, 0x7f
lea edx, [edx + esi*2]
xor ecx, eax
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 8]
lea edx, [edx + 4]
add ebx, dword [eax + ecx*4 + 0x748]
movzx ecx, word [eax + edx*2 + 0x1e1c]
mov eax, edi
neg eax
shr ecx, 4
shr eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 8]
add ebx, dword [eax + ecx*4 + 0x748]
lea eax, [edi + edx*2]
mov edx, dword [ebp + 8]
movzx ecx, word [edx + eax*2 + 0x1e1c]
mov eax, ecx
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
mov eax, dword [edx + eax*4 + 0x748]
add eax, ebx
mov dword [esi - 0x20], eax
mov eax, dword [edx + ecx*4 + 0x748]
add eax, ebx
mov dword [esi], eax
add esi, 4
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], eax
cmp eax, 8
jb 0x4da512
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4dc233
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
or esi, 0x100
mov edx, esi
shr esi, 1
and edx, 1
neg edx
shr edx, 4
movzx ecx, word [ebx + esi*2]
and edx, 0x7f
shr ecx, 4
xor ecx, edx
add eax, dword [edi + ecx*4]
cmp esi, 2
jae 0x4dc24a
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4dc26f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov esi, 0x100
xor edi, edi
or edx, esi
add ebx, ebx
mov ecx, esi
and ecx, ebx
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
shr eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0x14]
add edi, dword [eax + ecx*4]
mov ecx, edx
xor ecx, ebx
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x4dc284
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4ddb3b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor ebx, ebx
mov edx, dword [ebp + 8]
mov edi, ebx
shr edi, 1
mov esi, ebx
shr esi, 2
mov eax, edi
and eax, 1
neg eax
shr eax, 4
movzx ecx, word [edx + esi*2 + 4]
and eax, 0x7f
shr ecx, 4
neg esi
xor ecx, eax
and esi, 0x7f0
movzx eax, word [edx + 2]
xor esi, eax
mov eax, dword [ebp + 0x14]
shr esi, 4
mov edx, dword [eax + ecx*4]
add edx, dword [eax + esi*4]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
add edx, dword [ebp + 0xc]
movzx ecx, word [eax + edi*2 + 8]
mov edi, dword [ebp + 0x10]
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [esi + eax*4]
add eax, edx
mov dword [edi + ebx*4], eax
mov eax, dword [esi + ecx*4]
add eax, edx
mov dword [edi + ebx*4 + 4], eax
add ebx, 2
cmp ebx, 8
jb 0x4ddb43
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4dfbc3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor bl, bl
push edi
mov edi, dword [ebp + 0xc]
xor cl, cl
xor eax, eax
or dword [esi], 0xffffffff
mov byte [esi + 4], 0
test edi, edi
je 0x4dfc2d
mov edx, dword [ebp + 8]
xor cl, byte [edx + eax]
inc eax
cmp eax, edi
jb 0x4dfbe2
test cl, cl
jne 0x4dfc2d
test edi, edi
je 0x4dfc2d
mov ecx, dword [ebp + 8]
xor ebx, ebx
inc ebx
mov edx, edi
mov byte [esi + 4], bl
call fcn.004c5beb
mov edx, eax
xor ecx, ecx
xor eax, eax
mov edi, 0x6b3184
cmp dword [edi + eax], edx
mov edi, dword [ebp + 0xc]
jne 0x4dfc1d
cmp dword [eax + 0x6b3180], edi
je 0x4dfc36
add eax, 0xc
inc ecx
cmp eax, 0x48
jb 0x4dfc08
or dword [esi], 0xffffffff
mov byte [esi + 4], 0
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret 8
mov dword [esi], ecx
test ecx, ecx
js 0x4dfc29
jmp 0x4dfc2d
Function at 0x4dffce
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push esi
call fcn.0054951a
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
jne 0x4dfffa
call fcn.004dff12
mov esi, eax
mov eax, esi
pop esi
leave
ret

Function at 0x4e00e6
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x75d580]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x8c]
mov esi, ecx
push edi
push eax
call fcn.004c888c
pop ecx
mov ebx, 0x3e8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x90]
push 4
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004c88d3
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x90]
push 4
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004c88d3
add esp, 0xc
push 0x735d1c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4e01a4
push str.SystemFunction036
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4e019d
push 0x20
lea ecx, [ebp - 0x24]
push ecx
call eax
test al, al
je 0x4e019d
push 0x64
pop ebx
push 0x20
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004c88d3
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x4e01cd
push 8
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004c88d3
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x90]
push 4
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004c88d3
add esp, 0xc
push 0x64
pop edi
lea eax, [ebp - 0x8c]
push esi
push eax
call fcn.004c8815
lea eax, [ebp - 0x8c]
push eax
call fcn.004c888c
push 0x20
lea eax, [ebp - 0x8c]
push esi
push eax
call fcn.004c88d3
add esp, 0x18
sub edi, 1
jne 0x4e01f4
sub ebx, 1
jne 0x4e01a4
lea eax, [ebp - 0x8c]
push esi
push eax
call fcn.004c8815
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi + 0x20], bl
xor ecx, ebp
pop esi
pop ebx
call fcn.0048a267
leave
ret

Function at 0x4e024e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x75d580]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x138]
mov dword [ebp - 0x138], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4e02a3
cmp dword [ebp - 0x134], 5
sbb eax, eax
add eax, 1
je 0x4e02a3
lea eax, [ebp - 0x24]
push eax
call fcn.004e03ae
pop ecx
test eax, eax
je 0x4e02a3
mov eax, dword [ebp - 0xc]
shr eax, 0x19
and eax, 1
jmp 0x4e02a5
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048a267
leave
ret
Function at 0x4e495d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x200
jb 0x4e49c3
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [edx], ax
jne 0x4e49c3
mov ecx, dword [edx + 0x3c]
cmp ecx, 0x1000
jae 0x4e49c3
lea eax, [ecx + 0x200]
cmp eax, dword [ebp + 0xc]
ja 0x4e49c3
test cl, 7
jne 0x4e49c3
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x4e49c3
movzx eax, word [ecx + 4]
sub eax, 0x14c
je 0x4e49dc
sub eax, 0x74
je 0x4e49d5
dec eax
sub eax, 1
je 0x4e49d5
dec eax
sub eax, 1
je 0x4e49ce
sub eax, 0x3c
je 0x4e49c7
sub eax, 0x8464
je 0x4e49dc
xor eax, eax
pop ebp
ret
mov edx, 0x3030401
jmp 0x4e49e1
mov edx, 0x3030701
jmp 0x4e49e1
mov edx, 0x3030501
jmp 0x4e49e1
mov edx, 0x3030103
mov eax, 0x400
cmp word [ecx + 0x14], ax
ja 0x4e49c3
movzx eax, word [ecx + 0x18]
mov ecx, 0x10b
cmp ax, cx
je 0x4e4a04
mov ecx, 0x20b
cmp ax, cx
jne 0x4e49c3
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
xor eax, eax
inc eax
pop ebp
ret
Function at 0x4e9f3c
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x18], 0
and dword [eax + 0x1c], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret

Function at 0x4ea13e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x75d580]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 5
mov esi, ecx
push eax
push esi
mov dword [ebp - 0x88], esi
call fcn.004e957c
push 5
lea ecx, [ebp - 0x84]
lea eax, [esi + 0x60]
push ecx
push eax
mov dword [ebp - 0x8c], eax
call fcn.004e957c
add esp, 0x18
lea edi, [ebp - 0x44]
mov esi, ebx
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4ea1e2
lea esi, [ebp - 0x44]
sub esi, ebx
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x88]
call fcn.004e96b4
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x8c]
call fcn.004e96b4
add esp, 0x18
mov ecx, ebx
push 5
pop edx
mov eax, dword [esi + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x4ea1d0
sub edi, 1
jne 0x4ea19c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048a267
leave
ret 8
Function at 0x4ea1f3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x75d580]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x10
xor eax, eax
mov dword [ebp - 0xbc], ebx
pop ecx
lea edi, [ebp - 0x58]
mov dword [ebp - 0xc0], esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
cmp edi, 0x40
jbe 0x4ea271
lea eax, [ebp - 0xb8]
push eax
call fcn.004e9f3c
push edi
lea eax, [ebp - 0xb8]
push esi
push eax
call fcn.004e9f6e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004e961f
add esp, 0x18
xor esi, esi
mov ecx, esi
mov eax, dword [ebp + ecx - 0x18]
bswap eax
mov dword [ebp + ecx - 0x58], eax
add ecx, 4
cmp ecx, 0x14
jb 0x4ea25d
jmp 0x4ea2a8
xor esi, esi
mov ebx, esi
test edi, edi
je 0x4ea2a2
mov esi, dword [ebp - 0xc0]
mov eax, ebx
mov edx, ebx
and eax, 3
shr edx, 2
push 3
pop ecx
sub ecx, eax
movzx eax, byte [esi + ebx]
shl ecx, 3
shl eax, cl
or dword [ebp + edx*4 - 0x58], eax
inc ebx
cmp ebx, edi
jb 0x4ea27f
xor esi, esi
mov ebx, dword [ebp - 0xbc]
mov eax, esi
movups xmm0, xmmword [ebp + eax*4 - 0x58]
xorps xmm0, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj]
movups xmmword [ebp + eax*4 - 0x58], xmm0
add eax, 4
cmp eax, 0x10
jb 0x4ea2aa
push ebx
call fcn.004e9f3c
push 0x10
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.004e95d0
add esp, 0x10
movups xmm0, xmmword [ebp + esi*4 - 0x58]
xorps xmm0, xmmword [0x6b3840]
movups xmmword [ebp + esi*4 - 0x58], xmm0
add esi, 4
cmp esi, 0x10
jb 0x4ea2d8
lea esi, [ebx + 0x60]
push esi
call fcn.004e9f3c
push 0x10
lea eax, [ebp - 0x58]
push eax
push esi
call fcn.004e95d0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0048a267
leave
ret 8

Function at 0x4ea31a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x75d580]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov eax, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x48], ecx
mov byte [ebp + eax - 0x44], bl
inc eax
cmp eax, 0x40
jb 0x4ea33c
cmp edi, 0x40
jbe 0x4ea36a
push esi
call fcn.004e9f3c
push edi
push dword [ebp - 0x48]
push esi
call fcn.004e9f6e
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004e961f
add esp, 0x18
jmp 0x4ea37c
test edi, edi
je 0x4ea37c
push edi
push ecx
lea eax, [ebp - 0x44]
push eax
call fcn.0053f540
add esp, 0xc
mov eax, ebx
xor byte [ebp + eax - 0x44], 0x36
inc eax
cmp eax, 0x40
jb 0x4ea37e
push esi
call fcn.004e9f3c
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004e9f6e
add esp, 0x10
xor byte [ebp + ebx - 0x44], 0x6a
inc ebx
cmp ebx, 0x40
jb 0x4ea39e
add esi, 0x60
push esi
call fcn.004e9f3c
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004e9f6e
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0048a267
leave
ret 8