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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ecx + 4]
mov ebx, edx
mov edx, dword [ecx]
add esi, 2
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
lea esi, [ecx + esi*4]
mov dword [ebp - 4], esi
test edi, edi
je 0x48654e
cmp edx, 0x10
je 0x4864f4
mov al, byte [esi + edx]
xor byte [ebx], al
inc edx
inc ebx
sub edi, 1
je 0x4864f1
cmp edx, 0x10
jne 0x4864e0
mov dword [ebp + 8], edi
lea ecx, [esi + 0x10]
mov dword [ebp - 8], ecx
cmp edi, 0x10
jb 0x486520
mov esi, edi
mov edx, ebx
shr esi, 4
push esi
call dword [0x694080]
mov ecx, dword [ebp - 8]
shl esi, 4
add ebx, esi
sub edi, esi
mov esi, dword [ebp - 4]
push 0x10
mov dword [ebp + 8], edi
pop edx
test edi, edi
je 0x486549
xor eax, eax
mov edi, esi
push 1
mov edx, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [0x694080]
mov ecx, dword [ebp + 8]
xor edx, edx
sub esi, ebx
mov al, byte [esi + ebx]
xor byte [ebx], al
inc edx
inc ebx
sub ecx, 1
jne 0x48653d
mov eax, dword [ebp - 0xc]
mov dword [eax], edx
pop edi
pop esi
pop ebx
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
mov ecx, 0x12345678
mov esi, 0x23456789
mov edx, 0x34567890
cmp dword [ebp + 0x10], edi
jbe 0x4868a2
push ebx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [edi + ebx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6940a0]
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 + 0x6940a0]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x486868
pop ebx
mov eax, dword [ebp + 8]
pop edi
mov dword [eax + 0x18], esi
mov dword [eax + 0x14], ecx
mov dword [eax + 0x1c], edx
xor eax, eax
pop esi
pop ebp
ret 0xc

Function at 0x4868b6
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 0x48693c
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 [eax + edi]
movzx eax, cl
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x6940a0]
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 + 0x6940a0]
mov eax, dword [ebp - 4]
mov byte [eax + edi], cl
inc eax
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
cmp eax, edi
jb 0x4868d7
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 0x48694e
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 0x4869d8
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0xc]
mov dl, byte [ecx + eax]
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 [eax + esi], cl
movzx eax, dl
xor eax, ebx
mov ecx, dword [ebp - 4]
movzx eax, al
shr ebx, 8
xor ebx, dword [eax*4 + 0x6940a0]
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 + 0x6940a0]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [ebp + 0x10]
jb 0x48696f
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 0x486ae6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x67c374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
movzx eax, dl
mov edi, ecx
push 0x40
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.005c8440
lea eax, [ebp - 0x44]
add esp, 0xc
xor esi, esi
sub edi, eax
lea ecx, [ebp - 0x44]
add ecx, esi
mov al, byte [edi + ecx]
xor byte [ecx], al
inc esi
cmp esi, 0x14
jb 0x486b1a
lea ecx, [ebp - 0xa4]
call fcn.0049a1bf
push 0x40
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xa4]
call fcn.0049a1ea
mov edx, ebx
lea ecx, [ebp - 0xa4]
call fcn.00499896
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004514cc
leave
ret 4
Function at 0x4887a8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 4], eax
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x4887cb
xor eax, eax
jmp 0x4888f6
add dword [ebp + 8], 5
add edx, 0xfffffffc
add edx, eax
mov dword [ebp - 0xc], edx
push edi
lea edi, [ebx + eax]
cmp edi, edx
jae 0x4887ef
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x4887ec
inc edi
cmp edi, edx
jb 0x4887df
mov eax, dword [ebp - 4]
mov ecx, edi
sub ecx, ebx
mov ebx, edi
sub ecx, eax
sub ebx, eax
cmp edi, edx
jae 0x4888e4
cmp ecx, 2
jbe 0x488878
xor esi, esi
movzx ecx, byte [edi + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x4888d2
movzx eax, byte [edi + 3]
mov edx, dword [ebp + 8]
shl ecx, 8
add edx, ebx
or ecx, eax
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
add ecx, edx
sub eax, edx
cmp dword [ebp + 0x10], 0
cmove ecx, eax
mov dword [ebp - 8], ecx
mov edx, ecx
test esi, esi
je 0x4888ac
and esi, 6
mov eax, ecx
shl esi, 2
mov ecx, esi
shr eax, cl
inc eax
test al, 0xfe
jne 0x4888aa
mov eax, dword [ebp + 8]
mov edx, 0x100
shl edx, cl
add eax, ebx
dec edx
xor edx, dword [ebp - 8]
cmp dword [ebp + 0x10], 0
je 0x4888a8
add edx, eax
jmp 0x4888aa
shr esi, cl
test esi, esi
je 0x488808
cmp esi, 4
ja 0x48889d
cmp esi, 3
je 0x48889d
mov eax, esi
shr eax, 1
movzx eax, byte [eax + edi + 1]
inc eax
test al, 0xfe
jne 0x488808
mov eax, dword [ebp - 4]
or esi, 8
shr esi, 1
inc ebx
jmp 0x4887d8
sub edx, eax
xor esi, esi
mov eax, edx
mov byte [edi + 1], dl
shr eax, 8
mov byte [edi + 2], al
mov eax, edx
shr edx, 0x18
shr eax, 0x10
and dl, 1
neg dl
mov byte [edi + 3], al
push 5
mov byte [edi + 4], dl
mov edx, dword [ebp - 0xc]
pop eax
jmp 0x4888da
or esi, 8
xor eax, eax
shr esi, 1
inc eax
add ebx, eax
mov eax, dword [ebp - 4]
jmp 0x4887d8
xor eax, eax
shr esi, cl
cmp ecx, 2
pop edi
cmova esi, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, ebx
pop esi
pop ebx
leave
ret 0xc
Function at 0x4892e9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
xor edx, edx
xor eax, eax
push ebx
push esi
mov esi, ecx
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 [ebp - 4], esi
cmova eax, ecx
mov dword [esi + 0x78], edx
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x7c], edx
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 0x48939d
lea edi, [esi + 0xc8]
mov ebx, ecx
cmp dword [edi + 8], edx
je 0x489378
mov ecx, edi
call fcn.004892c5
xor edx, edx
add edi, 0x28
sub ebx, 1
jne 0x48936a
mov edx, dword [esi + 0x5c]
test edx, edx
je 0x489396
mov eax, dword [esi + 0x14]
mov ecx, eax
call dword [eax + 4]
xor edx, edx
mov dword [esi + 0x5c], edx
jmp 0x489398
xor edx, edx
mov eax, dword [esi]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], edx
mov dword [esi + 0xa0], edx
mov dword [esi + 0xa4], edx
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], edx
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], edx
lea eax, [ecx + 5]
imul ebx, eax, 0x28
lea eax, [ecx + 1]
mov dword [esi + 0x58], eax
add ebx, esi
mov ecx, ebx
call fcn.00489291
mov edi, eax
test edi, edi
jne 0x48942f
lea ecx, [ebx + 0x20]
call fcn.0049052a
mov edi, eax
test edi, edi
jne 0x48942f
lea ecx, [ebx + 0x1c]
call fcn.0049052a
mov edi, eax
test edi, edi
jne 0x48942f
push ebx
call fcn.0048a25e
mov edi, eax
test edi, edi
je 0x48942f
and dword [esi + 0x44], 0
lea ebx, [esi + 0xc8]
push 0x20
pop esi
mov ecx, ebx
call fcn.00489253
add ebx, 0x28
sub esi, 1
jne 0x48941d
mov esi, dword [ebp - 4]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
test eax, eax
je 0x489443
mov dword [esi + 0x40], eax
xor edx, edx
cmp dword [esi + 0x38], edx
jne 0x489457
cmp dword [esi + 0x40], edx
jne 0x489457
cmp dword [esi + 0x3c], edx
jne 0x489457
mov dword [esi + 0x44], edx
xor ecx, ecx
cmp dword [esi + 0x44], edx
pop edi
pop esi
cmovne eax, ecx
pop ebx
leave
ret
Function at 0x48c48b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, ecx
xor eax, eax
push ebx
push esi
mov dword [ebp - 4], edx
lea ecx, [edx + 0x11fc]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 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 - 4]
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 - 0xc]
mov eax, dword [ebp - 4]
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 - 4]
add ebx, dword [eax + ecx*4 + 0x748]
lea eax, [edi + edx*2]
mov edx, dword [ebp - 4]
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 - 8]
inc eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], eax
cmp eax, 8
jb 0x48c4a7
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48e00d
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 0x48e094
lea eax, [edi + 4]
mov dword [ebp - 4], edx
mov esi, ecx
mov edi, eax
mov edx, dword [ebp - 0x10]
mov ecx, esi
push ebx
push edi
call fcn.0048fbed
mov edx, dword [ebp - 0x14]
lea eax, [edi + 0x20]
push ebx
push eax
lea ecx, [esi + 0x10]
call fcn.0048fbed
add edi, 0x440
add esi, 0x20
sub dword [ebp - 4], 1
jne 0x48e060
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edx, dword [edi]
cmp edx, 0x10
jbe 0x48e172
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 0x48e0e0
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 0x48e0c8
mov edi, dword [ebp - 0xc]
mov eax, dword [edi]
lea ebx, [eax*4 - 0x40]
mov eax, dword [ebp - 0x18]
cmp eax, 1
jbe 0x48e172
lea esi, [edi + 0x484]
lea edi, [eax - 1]
push ebx
push ecx
push esi
call fcn.005c7940
mov ecx, dword [ebp - 4]
add esp, 0xc
add esi, 0x440
sub edi, 1
jne 0x48e159
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x48e2fe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov edi, ecx
or edx, 0x100
mov esi, edx
shr edx, 1
and esi, 1
neg esi
shr esi, 4
movzx ecx, word [edi + edx*2]
and esi, 0x7f
shr ecx, 4
xor ecx, esi
add eax, dword [ebx + ecx*4]
cmp edx, 2
jae 0x48e311
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x48e338
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x100
mov dword [ebp - 4], ecx
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 - 4]
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 + 0xc]
add edi, dword [eax + ecx*4]
mov ecx, edx
xor ecx, ebx
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x48e34e
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x48fbed
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov dword [ebp - 8], edx
xor ebx, ebx
push esi
mov edx, ecx
push edi
mov dword [ebp - 4], edx
mov edi, ebx
mov esi, ebx
shr esi, 2
shr edi, 1
mov eax, edi
and eax, 1
movzx ecx, word [edx + esi*2 + 4]
neg eax
shr eax, 4
neg esi
and eax, 0x7f
shr ecx, 4
xor ecx, eax
and esi, 0x7f0
movzx eax, word [edx + 2]
xor esi, eax
mov eax, dword [ebp + 0xc]
shr esi, 4
mov edx, dword [eax + ecx*4]
add edx, dword [eax + esi*4]
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
add edx, dword [ebp - 8]
movzx ecx, word [eax + edi*2 + 8]
mov edi, dword [ebp + 8]
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 edx, dword [ebp - 4]
mov dword [edi + ebx*4 + 4], eax
add ebx, 2
cmp ebx, 8
jb 0x48fbff
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4905f2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push edi
push dword [ebp + 8]
mov esi, ecx
push edx
push edi
push edi
call fcn.005d8639
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x49061c
call fcn.0049053e
mov edi, eax
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x490702
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x67c374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x8c]
push edi
call fcn.0047eb34
mov ebx, 0x3e8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 4
lea edx, [ebp - 0x90]
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x8c]
call fcn.0047eb74
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 4
lea edx, [ebp - 0x90]
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x8c]
call fcn.0047eb74
push 0x60ca60
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4907af
push str.SystemFunction036
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4907a8
push 0x20
lea ecx, [ebp - 0x24]
push ecx
call eax
test al, al
je 0x4907a8
push 0x64
pop ebx
push 0x20
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x8c]
call fcn.0047eb74
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 0x4907d3
push 8
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x8c]
call fcn.0047eb74
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 4
lea edx, [ebp - 0x90]
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x8c]
call fcn.0047eb74
push 0x64
pop edi
mov edx, esi
lea ecx, [ebp - 0x8c]
call fcn.0047eaba
lea ecx, [ebp - 0x8c]
call fcn.0047eb34
push 0x20
mov edx, esi
lea ecx, [ebp - 0x8c]
call fcn.0047eb74
sub edi, 1
jne 0x4907f5
sub ebx, 1
jne 0x4907af
mov edx, esi
lea ecx, [ebp - 0x8c]
call fcn.0047eaba
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi + 0x20], bl
xor ecx, ebp
pop esi
pop ebx
call fcn.004514cc
leave
ret

Function at 0x494c6b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
cmp esi, 0x200
jb 0x494ccf
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x494ccf
mov edx, dword [ecx + 0x3c]
cmp edx, 0x1000
jae 0x494ccf
lea eax, [edx + 0x200]
cmp eax, esi
ja 0x494ccf
test dl, 7
jne 0x494ccf
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x494ccf
movzx eax, word [ecx + 4]
sub eax, 0x14c
je 0x494ceb
sub eax, 0x74
je 0x494ce4
dec eax
sub eax, 1
je 0x494ce4
dec eax
sub eax, 1
je 0x494cdd
sub eax, 0x3c
je 0x494cd6
sub eax, 0x8464
je 0x494ceb
xor eax, eax
pop esi
pop ebp
ret 4
mov edx, 0x3030401
jmp 0x494cf0
mov edx, 0x3030701
jmp 0x494cf0
mov edx, 0x3030501
jmp 0x494cf0
mov edx, 0x3030103
mov eax, 0x400
cmp word [ecx + 0x14], ax
ja 0x494ccf
movzx eax, word [ecx + 0x18]
mov ecx, 0x10b
cmp ax, cx
je 0x494d13
mov ecx, 0x20b
cmp ax, cx
jne 0x494ccf
mov eax, dword [ebp + 8]
mov dword [eax], edx
xor eax, eax
inc eax
jmp 0x494cd1
Function at 0x4997a6
Capabilities:
Hash data using sha1

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, dword [edi + 0x18]
and esi, 0xf
mov dword [edi + esi*4 + 0x20], SysReAllocStringLen
jmp 0x4997d2
and esi, 0xf
jne 0x4997cd
push edi
lea edx, [edi + 0x20]
mov ecx, edi
call fcn.00499923
and dword [edi + esi*4 + 0x20], 0
inc esi
cmp esi, 0xe
jne 0x4997bd
mov ecx, dword [edi + 0x18]
lea edx, [edi + 0x20]
mov eax, dword [edi + 0x1c]
shld eax, ecx, 5
push ebx
shl ecx, 5
mov dword [edi + 0x5c], ecx
mov ecx, edi
mov dword [edi + 0x58], eax
call fcn.00499923
mov ecx, edi
pop edi
pop esi
pop ebx
jmp fcn.0049a1bf
Function at 0x49a1bf
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 0x18], 0
and dword [ecx + 0x1c], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
ret

Function at 0x49a3a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x67c374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x44]
push esi
push edi
mov esi, ecx
push 5
mov dword [ebp - 0x88], esi
call fcn.00499800
lea eax, [esi + 0x60]
push 5
lea edx, [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov ecx, eax
call fcn.00499800
push 5
pop ecx
mov esi, ebx
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x49a442
lea esi, [ebp - 0x44]
sub esi, ebx
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
lea edx, [ebp - 0x44]
call fcn.00499923
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x84]
call fcn.00499923
push 5
mov ecx, ebx
pop edx
mov eax, dword [esi + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x49a430
sub edi, 1
jne 0x49a401
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004514cc
leave
ret 8

Function at 0x49a453
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x67c374]
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 0x49a4cb
lea ecx, [ebp - 0xb8]
call fcn.0049a1bf
push edi
mov edx, esi
lea ecx, [ebp - 0xb8]
call fcn.0049a1ea
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xb8]
call fcn.00499896
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 0x49a4b7
jmp 0x49a502
xor esi, esi
mov ebx, esi
test edi, edi
je 0x49a4fc
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 0x49a4d9
xor esi, esi
mov ebx, dword [ebp - 0xbc]
mov eax, esi
movups xmm0, xmmword [ebp + eax*4 - 0x58]
pxor xmm0, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj_]
movups xmmword [ebp + eax*4 - 0x58], xmm0
add eax, 4
cmp eax, 0x10
jb 0x49a504
mov ecx, ebx
call fcn.0049a1bf
push 0x10
lea edx, [ebp - 0x58]
mov ecx, ebx
call fcn.0049984e
movups xmm0, xmmword [ebp + esi*4 - 0x58]
pxor xmm0, xmmword [0x60d0f0]
movups xmmword [ebp + esi*4 - 0x58], xmm0
add esi, 4
cmp esi, 0x10
jb 0x49a531
lea ecx, [ebx + 0x60]
call fcn.0049a1bf
push 0x10
lea edx, [ebp - 0x58]
lea ecx, [ebx + 0x60]
call fcn.0049984e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004514cc
leave
ret 8
Function at 0x49a571
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x67c374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov eax, ebx
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x48], ecx
push edi
mov edi, dword [ebp + 0xc]
cmp eax, 0x40
jae 0x49a62c
mov byte [ebp + eax - 0x44], bl
inc eax
cmp eax, 0x40
jb 0x49a59c
cmp edi, 0x40
jbe 0x49a5c9
mov ecx, esi
call fcn.0049a1bf
mov edx, dword [ebp - 0x48]
mov ecx, esi
push edi
call fcn.0049a1ea
lea edx, [ebp - 0x44]
mov ecx, esi
call fcn.00499896
jmp 0x49a5db
test edi, edi
je 0x49a5db
push edi
push ecx
lea eax, [ebp - 0x44]
push eax
call fcn.005c7940
add esp, 0xc
mov eax, ebx
xor byte [ebp + eax - 0x44], 0x36
inc eax
cmp eax, 0x40
jb 0x49a5dd
mov ecx, esi
call fcn.0049a1bf
push 0x40
lea edx, [ebp - 0x44]
mov ecx, esi
call fcn.0049a1ea
xor byte [ebp + ebx - 0x44], 0x6a
inc ebx
cmp ebx, 0x40
jb 0x49a5fb
lea ecx, [esi + 0x60]
call fcn.0049a1bf
push 0x40
lea edx, [ebp - 0x44]
lea ecx, [esi + 0x60]
call fcn.0049a1ea
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004514cc
leave
ret 8
call fcn.0045202e
int3