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

Disassembly:
push edi
mov edi, ecx
mov dword [edi], vtable.ZipCRC.0
mov al, byte [0x454418]
test al, al
jne 0x419815
push ebx
push ebp
push esi
xor ebx, ebx
mov esi, 0x454018
push 8
push ebx
mov ecx, edi
call fcn.00419820
shl eax, 0x18
mov dword [esi], eax
mov edx, 8
mov ebp, eax
mov ecx, ebp
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
dec edx
mov ebp, eax
jne 0x4197d2
push 0x20
push eax
mov ecx, edi
mov dword [esi], ebp
call fcn.00419820
mov dword [esi], eax
add esi, 4
inc ebx
cmp esi, 0x454414
jle 0x4197bc
pop esi
pop ebp
mov eax, edi
pop ebx
mov byte [0x454418], 1
pop edi
ret
mov eax, edi
pop edi
ret

Function at 0x419870
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
test edx, edx
mov esi, ecx
je 0x4198ad
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4198ad
push ebx
push edi
lea edi, [eax]
mov eax, dword [esi + 4]
xor ebx, ebx
mov bl, byte [edx]
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x454018]
xor ecx, eax
inc edx
dec edi
mov dword [esi + 4], ecx
jne 0x419887
pop edi
pop ebx
pop esi
ret 8

Function at 0x4198d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x400
push esi
mov esi, dword [esp + 0x40c]
test esi, esi
jne 0x4198ee
xor eax, eax
pop esi
add esp, 0x400
ret 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x418]
or edx, 0xffffffff
test ebp, ebp
jne 0x419933
mov eax, dword [esp + 0x410]
mov ecx, edx
xor ebx, ebx
mov bl, byte [eax]
and ecx, 0xff
xor ecx, ebx
shr edx, 8
mov ecx, dword [ecx*4 + 0x454018]
xor edx, ecx
inc eax
dec esi
jne 0x419905
mov eax, edx
pop ebp
pop ebx
pop esi
not eax
add esp, 0x400
ret 0xc
push edi
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x414]
xor eax, eax
mov al, byte [ecx]
mov edi, dword [esp + eax*4 + 0x10]
inc edi
mov dword [esp + eax*4 + 0x10], edi
mov edi, edx
and edi, 0xff
xor edi, eax
shr edx, 8
mov eax, dword [edi*4 + 0x454018]
xor edx, eax
inc ecx
dec esi
jne 0x419948
xor edi, edi
xor eax, eax
lea ecx, [esp + 0x10]
mov esi, 7
mov ebx, dword [ecx]
add ecx, 4
add eax, ebx
dec esi
jne 0x41997c
lea ecx, [esp + 0x2c]
mov esi, 0x79
mov ebx, 0x80
add edi, dword [ecx]
add ecx, 4
dec esi
jne 0x419994
cmp ebx, 0x100
jge 0x4199b9
mov esi, 0x100
lea ecx, [esp + ebx*4 + 0x10]
sub esi, ebx
mov ebx, dword [ecx]
add ecx, 4
add eax, ebx
dec esi
jne 0x4199af
shr edi, 2
cmp edi, eax
pop edi
sbb ecx, ecx
mov eax, edx
neg ecx
mov word [ebp], cx
pop ebp
pop ebx
pop esi
not eax
add esp, 0x400
ret 0xc
Function at 0x4243e0
Capabilities:
Delete file

Disassembly:
mov eax, 0x43c0f0
call fcn.0041a49c
sub esp, 0x74
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00402a10
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00423f97
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xd]
push edi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xd], bl
call fcn.00419a90
push eax
call fcn.004165a0
add esp, 0xc
cmp byte [ebp - 0xd], bl
mov dword [ebp + 8], eax
jne 0x424454
mov eax, dword [edi]
push str.Failed_to_create_temporary_output_file
mov ecx, edi
call dword [eax + 0x10]
mov esi, dword [edi]
lea ecx, [ebp - 0x2c]
call fcn.00419a90
push eax
push str.filename
mov ecx, edi
call dword [esi + 0x28]
jmp 0x424559
push ebx
push ebx
push ebx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00416700
push ebx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.00426148
push esi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.0042f8d0
mov eax, dword [esi + 0xb0]
cmp eax, ebx
je 0x42448d
push eax
lea ecx, [ebp - 0x80]
call fcn.0042613e
cmp byte [esi + 0x30], bl
mov byte [ebp - 0xd], bl
je 0x4244ac
lea eax, [ebp - 0x4c]
lea ecx, [esi + 0x5c]
push eax
call fcn.00419a90
push eax
lea ecx, [ebp - 0x80]
call fcn.00426cef
jmp 0x4244ce
lea edi, [esi + 0x80]
lea eax, [ebp - 0x4c]
push eax
mov ecx, edi
call fcn.00419a90
push eax
mov ecx, edi
call fcn.004199e0
push eax
lea ecx, [ebp - 0x80]
call fcn.00426fea
push ebx
mov byte [ebp - 0xd], al
push dword [ebp + 8]
call fcn.00412e70
cmp byte [esi + 0x5b], bl
pop ecx
pop ecx
je 0x4244fd
lea edi, [esi + 0x5c]
mov ecx, edi
call fcn.004023f0
test eax, eax
je 0x4244fd
mov ecx, edi
call fcn.00419a90
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x2c]
mov byte [esi + 0x5b], 1
call fcn.00419a90
push eax
lea ecx, [esi + 0x5c]
call fcn.00402f90
cmp byte [esi + 0x94], bl
lea edi, [esi + 0x94]
lea ecx, [esi + 0x80]
jne 0x424530
call fcn.004071e0
mov byte [edi], 1
jmp 0x424535
call fcn.00407120
mov al, byte [ebp - 0xd]
lea ecx, [ebp - 0x80]
mov byte [esi + 0x30], 1
mov byte [ebp + 0xb], al
mov byte [ebp - 4], 1
call fcn.0042617c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00416730
mov bl, byte [ebp + 0xb]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402a80
mov ecx, dword [ebp - 0xc]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x424a7b
Capabilities:
Delete file

Disassembly:
mov eax, 0x43c170
call fcn.0041a49c
sub esp, 0x30
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x30], bl
je 0x424b76
lea ecx, [ebp - 0x3c]
call fcn.00402a10
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], ebx
push eax
push str.ckAes.dat
call fcn.00406490
pop ecx
lea edi, [esi + 0x5c]
pop ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
push ebx
call fcn.00419a90
push eax
mov ecx, edi
call fcn.00419a90
push eax
lea ecx, [esi + 0xc]
call fcn.00419a90
push eax
push dword [esi + 8]
push dword [esi + 4]
call fcn.00430ca0
add esp, 0x1c
cmp al, bl
jne 0x424b17
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
push esi
call fcn.00419a90
push eax
call fcn.00406200
mov eax, dword [esi]
pop ecx
pop ecx
push str.Failed_to_AES_encrypt_source_file_data
mov ecx, esi
call dword [eax + 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402a80
jmp 0x424bd3
cmp byte [esi + 0x5b], bl
je 0x424b2a
mov ecx, edi
call fcn.00419a90
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x3c]
mov byte [esi + 0x5b], 1
call fcn.00419a90
push eax
mov ecx, edi
call fcn.00402f90
cmp byte [esi + 0x94], bl
lea edi, [esi + 0x94]
lea ecx, [esi + 0x80]
jne 0x424b5c
call fcn.004071e0
mov byte [edi], 1
jmp 0x424b61
call fcn.00407120
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
mov byte [esi + 0x30], 1
call fcn.00402a80
jmp 0x424c21
lea ecx, [ebp - 0x20]
call fcn.00407230
lea edi, [esi + 0x80]
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00419a90
push eax
mov ecx, edi
call fcn.004199e0
push eax
lea ecx, [esi + 0xc]
call fcn.00419a90
push eax
push dword [esi + 8]
push dword [esi + 4]
call fcn.00430d00
add esp, 0x18
cmp al, bl
jne 0x424bd7
mov ecx, dword [ebp + 8]
push str.Failed_to_AES_encrypt_source_data
mov eax, dword [ecx]
call dword [eax + 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00407840
xor al, al
jmp 0x424c23
cmp byte [esi + 0x94], bl
mov ecx, edi
jne 0x424be8
call fcn.004071e0
jmp 0x424bed
call fcn.00407120
lea ecx, [ebp - 0x20]
call fcn.00419a90
push eax
lea ecx, [ebp - 0x20]
call fcn.004199e0
push eax
mov ecx, edi
call fcn.00407980
lea ecx, [ebp - 0x20]
call fcn.004071e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
mov byte [esi + 0x94], 1
call fcn.00407840
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x425f4d
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push esi
mov esi, ecx
push dword [esp + 8]
push dword [esi + 4]
call fcn.00425f8e
mov dword [esi + 4], eax
and eax, 0xff
add eax, dword [esi + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 8], eax
shr eax, 0x18
mov byte [esp + 0x10], al
push dword [esp + 0x10]
push dword [esi + 0xc]
call fcn.00425f8e
add esp, 0x10
mov dword [esi + 0xc], eax
pop esi
ret 4
Function at 0x42dcf1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x64]
mov ebx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x6c]
sub ebx, eax
sub ebx, ecx
mov dword [ebp - 4], ebx
jne 0x42dd1b
test eax, eax
jne 0x42dd25
test ecx, ecx
jne 0x42dd25
mov ebx, edi
jmp 0x42dd91
cmp ebx, 0xffffffff
jne 0x42dd25
push 0xfffffffffffffffe
pop ebx
jmp 0x42dd91
mov ecx, dword [esi + 0x1c]
lea ecx, [edi + ecx - 0x106]
cmp eax, ecx
jb 0x42dd91
mov eax, dword [esi + 0x28]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.0041ecb0
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x38]
sub dword [esi + 0x68], edi
sub dword [esi + 0x64], edi
add esp, 0xc
sub dword [esi + 0x54], edi
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx edx, word [eax]
mov ebx, edx
sub ebx, edi
cmp edx, edi
sbb edx, edx
not edx
and edx, ebx
dec ecx
mov word [eax], dx
jne 0x42dd56
mov eax, dword [esi + 0x30]
mov edx, edi
lea eax, [eax + edi*2]
dec eax
dec eax
movzx ecx, word [eax]
mov ebx, ecx
sub ebx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, ebx
dec edx
mov word [eax], cx
jne 0x42dd75
mov ebx, dword [ebp - 4]
add ebx, edi
mov ecx, dword [esi + 4]
call fcn.0042c4ad
test eax, eax
je 0x42ddf3
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 4]
add eax, dword [esi + 0x64]
push ebx
add eax, dword [esi + 0x28]
push eax
call fcn.0042c6f8
add dword [esi + 0x6c], eax
mov ebx, dword [esi + 0x6c]
cmp ebx, 3
jb 0x42dddb
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x28]
lea edx, [eax + ecx]
mov ecx, dword [esi + 0x50]
movzx eax, byte [edx]
mov dword [esi + 0x40], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x4c]
mov dword [esi + 0x40], eax
cmp ebx, 0x106
jae 0x42ddf3
mov ecx, dword [esi + 4]
call fcn.0042c4ad
test eax, eax
jne 0x42dcfd
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433de0
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
sub esp, 0x4c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov ecx, 0x10
mov eax, dword [ebp + 0x34]
lea edi, [esp + 0x1c]
cdq
and edx, 7
lea esi, [ebp + 0x18]
add eax, edx
mov ebx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, esi
sar ebx, 3
call fcn.00419a90
cmp eax, 0x40
mov ecx, esi
jbe 0x433e34
call fcn.004199e0
test eax, eax
je 0x433e65
mov ecx, esi
call fcn.004199e0
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
jmp 0x433e65
call fcn.004199e0
test eax, eax
je 0x433e65
mov ecx, esi
call fcn.00419a90
mov ecx, esi
mov edi, eax
call fcn.004199e0
mov esi, eax
mov eax, edi
lea edi, [esp + 0x1c]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov ecx, dword [ebp + 0x2c]
mov edx, dword [eax + 0x451e88]
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x48
jl 0x433e67
xor eax, eax
mov ecx, 0x100
mov edx, dword [ebp + 0x30]
mov esi, dword [eax + 0x451ed0]
mov dword [edx + eax], esi
add eax, 4
dec ecx
jne 0x433e82
cmp eax, 0x1000
jl 0x433e7d
xor esi, esi
xor edi, edi
mov eax, dword [ebp + 0x2c]
lea ecx, [edi + eax]
lea eax, [esi + 1]
cdq
idiv ebx
mov dword [esp + 0x18], ecx
xor ecx, ecx
lea eax, [esi + 2]
add edi, 4
mov cl, byte [esp + edx + 0x1c]
cdq
idiv ebx
mov ch, byte [esp + esi + 0x1c]
xor eax, eax
shl ecx, 8
mov al, byte [esp + edx + 0x1c]
or ecx, eax
lea eax, [esi + 3]
cdq
idiv ebx
xor eax, eax
shl ecx, 8
mov al, byte [esp + edx + 0x1c]
or ecx, eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
xor edx, ecx
mov dword [eax], edx
lea eax, [esi + 4]
cdq
idiv ebx
cmp edi, 0x48
mov esi, edx
jl 0x433e9f
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, ebp
call fcn.004335e0
mov eax, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x10]
mov dword [esi + eax], ecx
mov edx, dword [ebp + 0x2c]
mov eax, dword [esp + 0x14]
mov dword [esi + edx + 4], eax
add esi, 8
cmp esi, 0x48
jl 0x433eff
mov esi, 4
mov edi, 0x80
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, ebp
call fcn.004335e0
mov eax, dword [ebp + 0x30]
mov ecx, dword [esp + 0x10]
mov dword [eax + esi - 4], ecx
mov edx, dword [ebp + 0x30]
mov eax, dword [esp + 0x14]
mov dword [edx + esi], eax
add esi, 8
dec edi
jne 0x433f37
cmp esi, 0x1004
jl 0x433f32
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
Function at 0x434e10
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x434e95
cmp eax, 0x40
jbe 0x434e3c
lea eax, [esi + 0x40]
push eax
push esi
call fcn.0043a200
add esp, 8
mov dword [esi + 0x9c], 0x14
mov edx, dword [esi + 0x9c]
mov ecx, 0x40
push edi
sub ecx, edx
lea edi, [edx + esi]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, esi
mov ecx, 0x10
mov edx, dword [eax]
add eax, 4
xor edx, 0x36363636
dec ecx
mov dword [eax - 4], edx
jne 0x434e64
lea edi, [esi + 0x40]
push edi
call fcn.0043a130
push edi
push 0x40
push esi
call fcn.0043a170
add esp, 0x10
mov dword [esi + 0x9c], 0xffffffff
pop edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x434eaf
add esi, 0x40
push esi
push eax
mov eax, dword [esp + 0x10]
push eax
call fcn.0043a170
add esp, 0xc
pop esi
ret

Function at 0x434ec0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x28]
cmp dword [edi + 0x9c], 0xffffffff
je 0x434edf
push edi
push 0
push 0
call fcn.00434e10
add esp, 0xc
lea esi, [edi + 0x40]
lea eax, [esp + 8]
push esi
push eax
call fcn.0043a200
add esp, 8
mov eax, edi
mov ecx, 0x10
mov edx, dword [eax]
add eax, 4
xor edx, 0x6a6a6a6a
dec ecx
mov dword [eax - 4], edx
jne 0x434ef7
push esi
call fcn.0043a130
push esi
push 0x40
push edi
call fcn.0043a170
push esi
lea ecx, [esp + 0x1c]
push 0x14
push ecx
call fcn.0043a170
lea edx, [esp + 0x24]
push esi
push edx
call fcn.0043a200
mov ecx, dword [esp + 0x48]
add esp, 0x24
test ecx, ecx
jbe 0x434f50
mov edi, dword [esp + 0x20]
mov eax, ecx
lea esi, [esp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
add esp, 0x14
ret
Function at 0x435dd0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x214
push esi
lea eax, [esp + 0x38]
push edi
push eax
call fcn.00434d60
mov edx, dword [esp + 0x228]
mov eax, dword [esp + 0x224]
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
call fcn.00434d70
mov edx, dword [esp + 0x23c]
mov eax, dword [esp + 0x238]
mov ecx, 0x28
lea esi, [esp + 0x4c]
lea edi, [esp + 0x18c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18c]
push ecx
push edx
push eax
call fcn.00434e10
mov ecx, dword [esp + 0x254]
add esp, 0x1c
dec ecx
mov eax, 0xcccccccd
mul ecx
shr edx, 4
inc edx
mov dword [esp + 0x10], edx
je 0x435f5c
push ebx
push ebp
mov dword [esp + 0x10], 0
mov ebx, 1
lea ebp, [esp + 0x1c]
xor edx, edx
mov ecx, 0x28
mov dword [esp + 0x1c], edx
lea esi, [esp + 0x184]
lea edi, [esp + 0xe4]
mov dword [esp + 0x20], edx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], edx
mov ecx, ebx
mov dword [esp + 0x28], edx
mov eax, ebx
shr ecx, 0x10
mov dword [esp + 0x2c], edx
mov byte [esp + 0x31], cl
mov ecx, dword [esp + 0x238]
mov edx, ebx
shr eax, 0x18
shr edx, 8
mov byte [esp + 0x30], al
mov byte [esp + 0x32], dl
test ecx, ecx
mov byte [esp + 0x33], bl
mov eax, 4
jbe 0x435f19
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xe4]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
call fcn.00434e10
lea eax, [esp + 0xf0]
lea ecx, [esp + 0x3c]
push eax
push 0x14
push ecx
call fcn.00434ec0
add esp, 0x18
xor eax, eax
mov dl, byte [esp + eax + 0x30]
mov cl, byte [esp + eax + 0x1c]
xor cl, dl
mov byte [esp + eax + 0x1c], cl
inc eax
cmp eax, 0x14
jb 0x435ee8
mov ecx, 0x28
lea esi, [esp + 0x44]
lea edi, [esp + 0xe4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x14], ecx
jne 0x435ebc
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, dword [esp + 0x240]
jae 0x435f3c
mov esi, dword [esp + 0x23c]
mov dl, byte [eax + ebp]
inc ecx
mov byte [eax + esi], dl
inc eax
cmp ecx, 0x14
jb 0x435f1f
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
inc ebx
add esi, 0x14
sub ebp, 0x14
mov dword [esp + 0x10], esi
lea eax, [ebx - 1]
cmp eax, ecx
jb 0x435e5e
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x214
ret
Function at 0x437ee0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
mov eax, dword [esp + 0x18]
test ebx, ebx
jne 0x437ef5
mov eax, dword [esp + 0x1c]
xor edi, eax
mov ebp, 4
mov ecx, edi
shr ecx, 0x18
mov byte [esp + 0x10], cl
mov al, cl
mov edx, dword [esp + 0x10]
and al, 0x80
and edx, 0xff
neg al
sbb eax, eax
mov esi, edx
and eax, 0x14d
and esi, 0x7f
and eax, 0xff
and cl, 1
shl esi, 1
xor esi, eax
mov eax, edx
neg cl
sbb ecx, ecx
and ecx, 0xa6
shr eax, 1
xor ecx, eax
xor ecx, esi
mov eax, ecx
shl eax, 8
xor eax, esi
shl eax, 8
xor eax, ecx
xor eax, edi
shl eax, 8
xor eax, edx
dec ebp
mov edi, eax
jne 0x437efc
inc ebx
cmp ebx, 2
jl 0x437ee9
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x437f70
Capabilities:
Encode data using xor
Encrypt data using twofish

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x455480
mov dl, byte [edi + 0x452f00]
mov al, dl
mov cl, dl
and al, 2
mov bl, dl
neg al
sbb al, al
and cl, 1
and eax, 0xb4
mov byte [esp + 0xd], cl
neg cl
sbb cl, cl
and ecx, 0x5a
shr bl, 2
xor bl, cl
mov byte [esp + 0xe], cl
xor bl, al
mov cl, dl
xor bl, dl
shr cl, 1
mov byte [esp + 0x10], bl
mov bl, byte [esp + 0xd]
xor cl, dl
shr cl, 1
neg bl
sbb bl, bl
and ebx, 0xb4
xor cl, bl
mov bl, byte [esp + 0xe]
xor cl, bl
mov bl, byte [edi + 0x453000]
xor cl, al
mov al, bl
and al, 2
xor cl, dl
neg al
sbb al, al
and eax, 0xb4
mov byte [esp + 0xd], al
mov al, bl
and al, 1
mov byte [esp + 0xe], al
neg al
sbb al, al
and eax, 0x5a
shr bl, 2
mov byte [esp + 0xf], al
xor bl, al
mov al, byte [esp + 0xd]
xor bl, al
mov al, byte [edi + 0x453000]
xor bl, al
mov byte [esp + 0x13], al
mov byte [esp + 0x11], bl
mov bl, byte [esp + 0x13]
shr al, 1
xor al, bl
mov bl, byte [esp + 0xe]
shr al, 1
neg bl
sbb bl, bl
and ebx, 0xb4
xor al, bl
mov bl, byte [esp + 0xf]
xor al, bl
mov bl, byte [esp + 0xd]
xor al, bl
mov bl, byte [edi + 0x453000]
xor al, bl
mov byte [esp + 0x14], bl
mov bl, byte [esp + 0x11]
mov byte [esp + 0x16], al
mov byte [esp + 0x15], bl
mov byte [esp + 0x17], al
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x14], cl
mov dword [esi - 0x400], ebx
mov bl, byte [esp + 0x10]
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], dl
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x15], al
mov dword [esi], ebx
mov bl, byte [esp + 0x11]
mov byte [esp + 0x14], bl
mov bl, byte [edi + 0x453000]
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x14]
mov byte [esp + 0x15], dl
mov dword [esi + 0x400], eax
mov al, byte [esp + 0x10]
mov byte [esp + 0x14], al
mov byte [esp + 0x16], cl
mov byte [esp + 0x17], al
add esi, 4
mov ecx, dword [esp + 0x14]
inc edi
mov dword [esi + 0x7fc], ecx
cmp esi, 0x455880
jl 0x437f7d
pop edi
pop esi
mov dword [0x453100], 0
pop ebx
add esp, 0xc
ret
Function at 0x43a130
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret
Function at 0x405c5c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call fcn.00401371
push eax
lea ecx, [ebp - 4]
call fcn.00401791
mov esi, dword [ebp - 4]
xor ecx, ecx
inc ecx
mov edx, 0x104
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x405c92
push edx
lea ecx, [ebp - 4]
call fcn.0040180d
mov esi, dword [ebp - 4]
push esi
xor eax, eax
push eax
push eax
push 0x23
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x405cc8
mov ecx, dword [ebp + 8]
push 0x437508
call fcn.00403f54
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00403faf
lea ecx, [esi - 0x10]
call fcn.004015ce
mov eax, dword [ebp + 8]
jmp 0x405cff
push str.GoogleUpdateLog
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x405ca4
push edi
lea edi, [esi - 0x10]
mov ecx, edi
call fcn.004017ba
mov esi, dword [ebp + 8]
lea ecx, [ebp - 4]
add eax, 0x10
push 0xffffffffffffffff
mov dword [esi], eax
call fcn.00403faf
mov ecx, edi
call fcn.004015ce
mov eax, esi
pop edi
pop esi
leave
ret 4

Function at 0x4063e8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, ecx
push edi
test esi, esi
je 0x4064a9
cmp dword [ebp + 8], 0
jne 0x40640d
cmp dword [ebp + 0x10], 2
jg 0x4064a9
call fcn.00401371
push eax
lea ecx, [ebp - 4]
call fcn.00401791
call fcn.00401371
push eax
lea ecx, [ebp + 0x14]
call fcn.00401791
xor edi, edi
lea eax, [ebx + 0x58]
inc edi
push 0
mov ecx, eax
call fcn.004074ab
test al, al
jne 0x40644f
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
lea eax, [ebx + 0x58]
cmp edi, 0x14
jle 0x40642f
jmp 0x406473
push dword [ebp + 0x18]
lea eax, [ebp + 0x14]
mov ecx, ebx
push esi
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040630b
lea ecx, [ebx + 0x58]
mov eax, dword [ecx]
call dword [eax + 8]
cmp edi, 0x14
jle 0x406493
push str.LOG_SYSTEM:_Couldnt_acquire_lock__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
push 0x43a198
call esi
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.004015ce
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004015ce
pop edi
pop esi
pop ebx
leave
ret 0x14