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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 8]
movzx ecx, word [edi]
mov eax, ecx
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
mov eax, dword [ebx + eax*4]
mov edx, dword [ebx + ecx*4]
movzx ecx, word [edi + 2]
mov dword [ebp - 8], eax
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [ebx + eax*4]
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + ecx*4]
add eax, edx
xor esi, esi
mov dword [ebp - 0x10], eax
mov dword [ebp + 0x18], esi
cmp esi, dword [ebp + 0x10]
jae 0x4903d4
mov edx, esi
mov dword [ebp - 4], 0
mov esi, dword [ebp - 4]
or edx, 8
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr ecx, 1
and edx, 1
neg edx
sar edx, 4
and edx, 0x7f
lea eax, [ecx + eax*8]
movzx eax, word [edi + eax*2 + 4]
shr eax, 4
xor eax, edx
mov edx, ecx
add esi, dword [ebx + eax*4]
cmp edx, 1
jne 0x4902c8
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x14]
add eax, esi
mov esi, dword [ebp + 0x18]
mov dword [ecx + esi*4], eax
inc esi
mov dword [ebp + 0x18], esi
cmp esi, 8
jb 0x4902b0
cmp esi, 0x10
jae 0x49036d
lea eax, [esi - 8]
mov dword [ebp - 4], eax
cmp esi, dword [ebp + 0x10]
jae 0x4903d4
mov edx, eax
xor esi, esi
or edx, 8
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr ecx, 1
and edx, 1
neg edx
sar edx, 4
and edx, 0x7f
lea eax, [ecx + eax*8]
movzx eax, word [edi + eax*2 + 0x104]
shr eax, 4
xor eax, edx
mov edx, ecx
add esi, dword [ebx + eax*4]
cmp edx, 1
jne 0x490323
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x14]
add eax, esi
mov esi, dword [ebp + 0x18]
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp + 0x18], esi
mov dword [ebp - 4], eax
cmp esi, 0x10
jb 0x490313
cmp esi, dword [ebp + 0x10]
jae 0x4903d4
lea eax, [esi - 0x10]
mov dword [ebp - 4], eax
nop dword [eax + eax]
mov esi, dword [ebp + 8]
xor edi, edi
or eax, 0x100
nop word [eax + eax]
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [esi + edx*2 + 0x204]
shr ecx, 4
xor ecx, eax
mov eax, edx
add edi, dword [ebx + ecx*4]
cmp eax, 1
jne 0x490390
mov esi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp + 0x18], esi
mov dword [ebp - 4], eax
cmp esi, dword [ebp + 0x10]
jb 0x490380
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4904c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
or ecx, 0x100
mov edx, dword [ebp + 8]
mov eax, ecx
shr eax, 8
movzx esi, word [edx + eax*2]
mov edx, ecx
shr edx, 7
add ecx, ecx
and edx, 1
shr esi, 4
neg edx
sar edx, 4
and edx, 0x7f
xor esi, edx
add edi, dword [ebx + esi*4]
cmp ecx, 0x10000
jb 0x4904d4
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x490510
Capabilities:
Encode data using xor

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

Function at 0x491190
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
xor edx, edx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebx + 0xbc], 0
lea esi, [ebx + 0x130]
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0x104], 0
mov word [ebx + 0xee], 0
mov dword [ebx + 0xf4], 0
mov dword [ebx + 0x538], 0xffffffff
mov dword [ebx + 0x53c], 0xffffffff
mov dword [ebx + 0x100], 0x20
mov byte [ebx + 0xed], 1
mov dword [ebx + 0x118], 4
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x491204
lea eax, [ebp - 0x40]
push eax
call fcn.00490570
lea eax, [ebp - 0x40]
push eax
push ebx
call fcn.004915f0
lea edx, [ebx + 0x30540]
add esp, 0xc
mov word [edx], 0x100
mov eax, 2
add edx, 2
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
nop dword [eax]
mov ecx, eax
mov ebx, 1
shr ecx, 1
dec ecx
shl ebx, cl
test ebx, ebx
je 0x491301
movzx eax, al
mov ecx, ebx
mov esi, ecx
imul eax, eax, 0x1010101
shr ecx, 2
mov edi, edx
mov edx, dword [ebp - 4]
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 8]
inc eax
add edx, ebx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
cmp eax, 0x16
jb 0x4912d0
mov ebx, dword [ebp + 8]
mov edi, 8
xor edx, edx
mov eax, edi
lea esi, [edx + 4]
nop
imul eax, eax
add edx, edx
cmp eax, 0x10000
jb 0x49133a
nop dword [eax]
shr eax, 1
inc edx
cmp eax, 0x10000
jae 0x491330
sub esi, 1
jne 0x491320
mov eax, edi
mov ecx, 0xa1
shr eax, 4
sub ecx, edx
add edi, 0x10
mov dword [ebx + eax*4 + 0x30d40], ecx
cmp edi, 0x800
jb 0x491317
pop edi
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x3bb08], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49a9c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x58be1c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
xorps xmm0, xmm0
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
movups xmmword [ebp - 0x14], xmm0
lea edx, [edi + 0x4e0]
push edx
lea edx, [ebp - 0x14]
push edx
call dword [eax + 0x10]
xorps xmm0, xmm0
xor ebx, ebx
movups xmmword [edi + 0x520], xmm0
xor esi, esi
movups xmmword [edi + 0x4f0], xmm0
mov dword [edi + 0x534], 0
mov dword [edi + 0x530], 0
mov dword [edi + 0x538], 0
mov dword [edi + 0x540], 0
mov dword [edi + 0x544], 0
mov dword [edi + 0x548], 0
mov dword [edi + 0x54c], 0
movups xmmword [ebp - 0x14], xmm0
nop dword [eax]
mov eax, dword [edi + 0x550]
add eax, 4
mov byte [ebp - 0x14], bl
add eax, esi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [edi + 0x4e0]
push eax
call fcn.00498d20
add esi, 0x10
add esp, 0xc
inc ebx
cmp esi, 0x1000
jl 0x49aa50
mov eax, 0x1000
mov ebx, 0x100
nop dword [eax + eax]
mov edx, dword [edi + 0x550]
movzx esi, byte [edx + eax - 0xfed]
movzx ecx, byte [edx + eax - 0xfee]
mov byte [edx + eax + 0x13], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xfef]
mov byte [edx + eax + 0x12], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xff0]
mov byte [edx + eax + 0x11], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xff1]
mov byte [edx + eax + 0x10], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xff2]
mov byte [edx + eax + 0xf], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xff3]
mov byte [edx + eax + 0xe], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xff4]
mov byte [edx + eax + 0xd], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xff5]
mov byte [edx + eax + 0xc], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xff6]
mov byte [edx + eax + 0xb], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xff7]
mov byte [edx + eax + 0xa], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xff8]
mov byte [edx + eax + 9], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xff9]
mov byte [edx + eax + 8], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xffa]
mov byte [edx + eax + 7], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xffb]
mov byte [edx + eax + 6], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [edx + eax - 0xffc]
mov byte [edx + eax + 5], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [esi*2 + 0x513788]
mov byte [eax + edx + 4], cl
mov edx, dword [edi + 0x550]
movzx ecx, byte [esi*2 + 0x513789]
xor byte [edx + eax + 5], cl
add eax, 0x10
sub ebx, 1
jne 0x49aa90
cmp eax, 0x10000
jl 0x49aa83
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a4dea
mov esp, ebp
pop ebp
ret 0x10
Function at 0x49cbc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov edx, dword [esi + 0x44]
test edx, edx
jle 0x49cc0b
mov ecx, dword [esi + 0x260]
mov eax, dword [esi + 0x264]
not ecx
rol eax, 1
xor eax, ecx
mov dword [esi + 0x260], ecx
cmp dword [esi + 0x26c], 1
mov dword [esi + 0x264], eax
jle 0x49cc00
mov dword [esi + 0x4c], 0
push esi
mov ecx, edi
call fcn.004a07e0
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x14]
add eax, edx
cmp dword [esi + 0x26c], 1
mov dword [esi + 0x2c], eax
jne 0x49cc68
push 0x42
push 8
push esi
mov dword [esi + 0x25c], 0
mov dword [esi + 0x258], 0
call fcn.0049cdf0
push 0x5a
push 8
push esi
call fcn.0049cdf0
push 0x68
push 8
push esi
call fcn.0049cdf0
mov al, byte [esi + 0x270]
add al, 0x30
movzx eax, al
push eax
push 8
push esi
call fcn.0049cdf0
mov edx, dword [esi + 0x44]
add esp, 0x30
test edx, edx
jle 0x49cd1a
push 0x31
push 8
push esi
call fcn.0049cdf0
push 0x41
push 8
push esi
call fcn.0049cdf0
push 0x59
push 8
push esi
call fcn.0049cdf0
push 0x26
push 8
push esi
call fcn.0049cdf0
push 0x53
push 8
push esi
call fcn.0049cdf0
push 0x59
push 8
push esi
call fcn.0049cdf0
mov ebx, dword [esi + 0x260]
add esp, 0x48
mov eax, ebx
shr eax, 0x18
push eax
push 8
push esi
call fcn.0049cdf0
mov eax, ebx
shr eax, 0x10
movzx eax, al
push eax
push 8
push esi
call fcn.0049cdf0
mov eax, ebx
shr eax, 8
movzx eax, al
push eax
push 8
push esi
call fcn.0049cdf0
movzx eax, bl
push eax
push 8
push esi
call fcn.0049cdf0
push 0
push 1
push esi
call fcn.0049cdf0
push dword [esi + 0x1c]
push 0x18
push esi
call fcn.0049cdf0
add esp, 0x48
push esi
call fcn.0049ce70
add esp, 4
mov ecx, edi
push esi
call fcn.0049d0c0
cmp byte [ebp + 0xc], 0
je 0x49cddd
push 0x17
push 8
push esi
call fcn.0049cdf0
push 0x72
push 8
push esi
call fcn.0049cdf0
push 0x45
push 8
push esi
call fcn.0049cdf0
push 0x38
push 8
push esi
call fcn.0049cdf0
push 0x50
push 8
push esi
call fcn.0049cdf0
push 0x90
push 8
push esi
call fcn.0049cdf0
mov ebx, dword [esi + 0x264]
add esp, 0x48
mov eax, ebx
shr eax, 0x18
push eax
push 8
push esi
call fcn.0049cdf0
mov eax, ebx
shr eax, 0x10
movzx eax, al
push eax
push 8
push esi
call fcn.0049cdf0
mov eax, ebx
shr eax, 8
movzx eax, al
push eax
push 8
push esi
call fcn.0049cdf0
movzx eax, bl
push eax
push 8
push esi
call fcn.0049cdf0
add esp, 0x30
cmp dword [esi + 0x25c], 0
jle 0x49cddd
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x2c]
mov al, byte [esi + 0x25b]
mov byte [edx + ecx], al
inc dword [esi + 0x4c]
shl dword [esi + 0x258], 8
add dword [esi + 0x25c], 0xfffffff8
cmp dword [esi + 0x25c], 0
jg 0x49cdb4
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x49f920
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf69b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x58be1c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 0x10]
mov dword [edi], vtable.BufferedSource.0
mov dword [edi + 8], 0xfa0
mov dword [edi + 0xc], 0
call fcn.0040b490
push 0x1388
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov byte [edi + 0x40], 0
call fcn.0040d230
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x49fee0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], esi
mov ecx, dword [esi + 0x18]
mov ebx, ecx
cmp ecx, dword [ebp + 0xc]
cmova ebx, dword [ebp + 0xc]
mov dword [ebp + 0xc], ebx
test ebx, ebx
jne 0x49ff0a
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
sub ecx, ebx
cmp byte [esi + 0xc], 0
mov dword [esi + 0x18], ecx
je 0x4a003f
push edi
mov edi, dword [esi + 0x14]
mov esi, dword [esi + 0x10]
movzx ecx, si
shr esi, 0x10
test edi, edi
jne 0x49ff32
lea esi, [edi + 1]
jmp 0x4a0033
test ebx, ebx
jbe 0x4a002e
nop word [eax + eax]
mov edx, 0x15b0
cmp ebx, edx
cmovb edx, ebx
sub ebx, edx
mov dword [ebp - 8], ebx
cmp edx, 0x10
jb 0x49fff1
mov ebx, edx
shr ebx, 4
nop dword [eax]
movzx eax, byte [edi]
sub edx, 0x10
add ecx, eax
movzx eax, byte [edi + 1]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 2]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 3]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 4]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 5]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 6]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 7]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 8]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 9]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xa]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xb]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xc]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xd]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xe]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xf]
add esi, ecx
add edi, 0x10
add ecx, eax
add esi, ecx
sub ebx, 1
jne 0x49ff60
mov ebx, dword [ebp - 8]
test edx, edx
je 0x4a0002
movzx eax, byte [edi]
inc edi
add ecx, eax
add esi, ecx
sub edx, 1
jne 0x49fff5
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul esi
shr edx, 0xf
imul eax, edx, 0xffff000f
add esi, eax
test ebx, ebx
jne 0x49ff40
shl esi, 0x10
or esi, ecx
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
pop edi
mov dword [eax + 0x10], esi
mov esi, eax
push ebx
push dword [esi + 0x14]
push dword [ebp + 8]
call fcn.004a8910
add dword [esi + 0x14], ebx
add esp, 0xc
add dword [esi + 0x1c], ebx
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4a01c0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x40
push 0
lea eax, [esi + 8]
mov dword [esi + 0xb0], 0
push eax
call fcn.004a8410
add esp, 0xc
lea ecx, [esi + 0x48]
pop esi
pop ebp
jmp fcn.0046c9f0

Function at 0x4a01f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push edi
mov ecx, dword [esi + 0xb0]
cmp ecx, 0xffffffff
je 0x4a0272
push ebx
lea ebx, [esi + 8]
cmp ecx, 0x40
jbe 0x4a0224
lea ecx, [esi + 0x48]
push ebx
call fcn.0046c6b0
mov dword [esi + 0xb0], 0x14
mov ecx, 0x14
mov eax, 0x40
sub eax, ecx
push eax
lea eax, [esi + 8]
add eax, ecx
push 0
push eax
call fcn.004a8410
add esp, 0xc
mov eax, ebx
mov ecx, 0x10
xor dword [eax], 0x36363636
lea eax, [eax + 4]
sub ecx, 1
jne 0x4a0243
lea edi, [esi + 0x48]
mov ecx, edi
call fcn.0046c9f0
push 0x40
push ebx
mov ecx, edi
call fcn.0046ca30
mov dword [esi + 0xb0], 0xffffffff
pop ebx
jmp 0x4a0275
lea edi, [esi + 0x48]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4a0287
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.0046ca30
pop edi
pop esi
pop ebp
ret

Function at 0x4a0290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x58be1c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x1c], eax
cmp dword [esi + 0xb0], 0xffffffff
je 0x4a02c1
push esi
push 0
push 0
call fcn.004a01f0
add esp, 0xc
lea eax, [ebp - 0x18]
lea edi, [esi + 0x48]
push eax
mov ecx, edi
call fcn.0046c6b0
add esi, 8
mov ecx, 0x10
mov eax, esi
nop dword [eax]
xor dword [eax], 0x6a6a6a6a
lea eax, [eax + 4]
sub ecx, 1
jne 0x4a02e0
mov ecx, edi
call fcn.0046c9f0
push 0x40
push esi
mov ecx, edi
call fcn.0046ca30
push 0x14
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0046ca30
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0046c6b0
cmp dword [ebp + 0xc], 0
pop edi
pop esi
jbe 0x4a0331
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
call fcn.004a8910
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4dea
mov esp, ebp
pop ebp
ret
Function at 0x4bd387
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004bd1fd

Function at 0x4bedfc
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004be94f
Function at 0x1000edb4
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xe0
push 0x10081b98
call fcn.10040d18
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, dword [esi]
mov dword [esi], ecx
push 0xfffffffffffffffe
pop edx
mov dword [ebp - 4], edx
xor edi, edi
inc edi
mov dword [ebp - 4], edi
mov ecx, dword [eax]
mov dword [eax], ecx
mov dword [ebp - 4], edx
cmp ecx, 0x3000000
je 0x1000edf4
push 5
jmp 0x1000efe3
or dword [esi], 0xffffffff
push 0x7140
call fcn.10040933
pop ecx
cmp eax, ebx
jne 0x1000ee0d
mov eax, edi
jmp 0x1000efe4
xor ecx, ecx
movsx edx, cx
cmp dword [edx*4 + 0x1008bc48], ebx
je 0x1000ee25
inc ecx
cmp cx, 0x80
jl 0x1000ee0f
jmp 0x1000ee34
movsx ecx, cx
lea edx, [ecx + 1]
mov dword [esi], edx
mov dword [ecx*4 + 0x1008bc48], eax
cmp dword [esi], 0xffffffff
jne 0x1000ee43
mov eax, 0x800002
jmp 0x1000efe4
movsx eax, word [esi]
mov esi, dword [eax*4 + 0x1008bc44]
mov word [esi + 0x641c], bx
mov word [esi + 0x66e0], bx
mov word [esi + 0x64d6], bx
mov word [esi + 0x6472], bx
mov word [esi + 0x64da], bx
mov word [esi + 0x64d8], bx
mov word [esi + 0x66da], bx
mov word [esi + 0x66d8], bx
mov word [esi + 0x66fc], bx
mov word [esi + 0x66ea], bx
mov word [esi + 0x66e2], bx
mov word [esi + 0x66dc], bx
push esi
call fcn.10006778
mov byte [esi + 0x673e], bl
mov dword [esp], 0x10088e60
call fcn.100067d6
mov dword [esp], 0x10088f48
call fcn.100067d6
mov dword [esp], str.sens_de_r
call fcn.100067d6
mov dword [esp], str.type_de_r
call fcn.100067d6
mov dword [esp], str.Autre
call fcn.100067d6
mov dword [esp], str.Au_sens_figur
call fcn.100067d6
mov dword [esp], 0x10089120
call fcn.100067d6
mov dword [esp], 0x1008913c
call fcn.100067d6
mov dword [esp], 0x100891e0
call fcn.100067d6
mov dword [esp], str.Comme_pr
call fcn.100067d6
mov dword [esp], str.Du_verbe
call fcn.100067d6
pop ecx
dec word [0x10088e10]
xor eax, eax
movsx ecx, ax
shl ecx, 6
mov word [ecx + esi + 0x693e], bx
inc eax
cmp ax, 9
jl 0x1000ef3b
mov word [esi + 0x673a], bx
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xec], 0xc8
lea eax, [ebp - 0xe8]
push eax
push 0x20019
push ebx
push 0x100706c0
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000efc9
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xf0]
push eax
push ebx
push str.FrenchSpellingReform
push dword [ebp - 0xe8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ax, word [ebp - 0xe4]
mov word [esi + 0x673a], ax
push dword [ebp - 0xe8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1000efe4
pop eax
call fcn.10040d60
ret 8

Function at 0x100303aa
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x100303e3
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1002735f
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1002480e
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x10032346
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x10032389
call fcn.10025ea4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
test eax, eax
je 0x10032389
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x100323a4
push edi
call dword [sym.imp.kernel32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.1006b3ad
test ebx, ebx
mov esi, eax
je 0x100323a2
test edi, edi
je 0x100323a2
push edi
call dword [sym.imp.kernel32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x1003bf37
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x1003bf57
cmp dword [edi + 0x54], 0
jne 0x1003bf57
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.10025ea4
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.1003befe
push ebx
mov esi, eax
call dword [sym.imp.kernel32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x10040165
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1008a740]
jne 0x1004016f
repz ret
jmp fcn.100475c4
Function at 0x401000
Capabilities:
Check for time delay via gettickcount
Create thread
Initialize winsock library

Disassembly:
sub esp, 0x194
mov dword [0x40ae84], 0x4021d0
push ebx
push esi
push edi
push eax
push ebx
mov eax, dword fs:[0]
add eax, 4
mov ebx, dword [0x40ae84]
mov dword [eax], ebx
pop ebx
pop eax
call fcn.00401160
cmp eax, 1
je 0x40108e
call fcn.004022f0
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x40108e
call fcn.00402230
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0x4011a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
mov esi, eax
call ebx
test esi, esi
jne 0x40109c
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x194
ret 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x408034]
xor esi, esi
test eax, eax
jbe 0x4010dc
mov edx, dword [esi*4 + 0x408038]
push edx
call fcn.00401fb0
add esp, 4
test eax, eax
jne 0x4010d2
mov eax, dword [esi*4 + 0x408038]
push eax
call fcn.00401fb0
add esp, 4
mov eax, dword [0x408034]
inc esi
cmp esi, eax
jb 0x4010ae
mov eax, dword [0x408030]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*8]
shl ecx, 7
mov dword [0x408030], ecx
call edi
mov esi, eax
call edi
mov edx, dword [0x408030]
add edx, esi
cmp eax, edx
jbe 0x401151
mov eax, dword [0x408034]
xor esi, esi
test eax, eax
jbe 0x40114d
mov eax, dword [esi*4 + 0x408038]
push eax
call fcn.00401fb0
add esp, 4
test eax, eax
jne 0x401143
mov ecx, dword [esi*4 + 0x408038]
push ecx
call fcn.00401fb0
add esp, 4
mov eax, dword [0x408034]
inc esi
cmp esi, eax
jb 0x40111f
call edi
mov esi, eax
push 0x3e8
call ebx
jmp 0x401106

Function at 0x401160
Capabilities:
Check mutex on windows

Disassembly:
push str.internetexplorer64
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x40af8c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401193
mov eax, dword [0x40af8c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
ret
xor eax, eax
ret