joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424a2e
Capabilities:
Delete file

Disassembly:
mov eax, 0x43c830
call fcn.0041ab0c
sub esp, 0x74
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00403b60
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.004245e5
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xd]
push edi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xd], bl
call fcn.004070f0
push eax
call fcn.00417020
add esp, 0xc
cmp byte [ebp - 0xd], bl
mov dword [ebp + 8], eax
jne 0x424aa2
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.004070f0
push eax
push str.filename
mov ecx, edi
call dword [esi + 0x28]
jmp 0x424ba7
push ebx
push ebx
push ebx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00417180
push ebx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.00426796
push esi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.0042ff10
mov eax, dword [esi + 0xb0]
cmp eax, ebx
je 0x424adb
push eax
lea ecx, [ebp - 0x80]
call fcn.0042678c
cmp byte [esi + 0x30], bl
mov byte [ebp - 0xd], bl
je 0x424afa
lea eax, [ebp - 0x4c]
lea ecx, [esi + 0x5c]
push eax
call fcn.004070f0
push eax
lea ecx, [ebp - 0x80]
call fcn.0042733d
jmp 0x424b1c
lea edi, [esi + 0x80]
lea eax, [ebp - 0x4c]
push eax
mov ecx, edi
call fcn.004070f0
push eax
mov ecx, edi
call fcn.0041a380
push eax
lea ecx, [ebp - 0x80]
call fcn.00427638
push ebx
mov byte [ebp - 0xd], al
push dword [ebp + 8]
call fcn.00413930
cmp byte [esi + 0x5b], bl
pop ecx
pop ecx
je 0x424b4b
lea edi, [esi + 0x5c]
mov ecx, edi
call fcn.00403540
test eax, eax
je 0x424b4b
mov ecx, edi
call fcn.004070f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x2c]
mov byte [esi + 0x5b], 1
call fcn.004070f0
push eax
lea ecx, [esi + 0x5c]
call fcn.00404140
cmp byte [esi + 0x94], bl
lea edi, [esi + 0x94]
lea ecx, [esi + 0x80]
jne 0x424b7e
call fcn.004078a0
mov byte [edi], 1
jmp 0x424b83
call fcn.004077e0
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.004267ca
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.004171b0
mov bl, byte [ebp + 0xb]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00403bd0
mov ecx, dword [ebp - 0xc]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4250c9
Capabilities:
Delete file

Disassembly:
mov eax, 0x43c8b0
call fcn.0041ab0c
sub esp, 0x30
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x30], bl
je 0x4251c4
lea ecx, [ebp - 0x3c]
call fcn.00403b60
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], ebx
push eax
push str.ckAes.dat
call fcn.00406b40
pop ecx
lea edi, [esi + 0x5c]
pop ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
push ebx
call fcn.004070f0
push eax
mov ecx, edi
call fcn.004070f0
push eax
lea ecx, [esi + 0xc]
call fcn.004070f0
push eax
push dword [esi + 8]
push dword [esi + 4]
call fcn.004312e0
add esp, 0x1c
cmp al, bl
jne 0x425165
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
push esi
call fcn.004070f0
push eax
call fcn.004068b0
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.00403bd0
jmp 0x425221
cmp byte [esi + 0x5b], bl
je 0x425178
mov ecx, edi
call fcn.004070f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x3c]
mov byte [esi + 0x5b], 1
call fcn.004070f0
push eax
mov ecx, edi
call fcn.00404140
cmp byte [esi + 0x94], bl
lea edi, [esi + 0x94]
lea ecx, [esi + 0x80]
jne 0x4251aa
call fcn.004078a0
mov byte [edi], 1
jmp 0x4251af
call fcn.004077e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
mov byte [esi + 0x30], 1
call fcn.00403bd0
jmp 0x42526f
lea ecx, [ebp - 0x20]
call fcn.004078f0
lea edi, [esi + 0x80]
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.004070f0
push eax
mov ecx, edi
call fcn.0041a380
push eax
lea ecx, [esi + 0xc]
call fcn.004070f0
push eax
push dword [esi + 8]
push dword [esi + 4]
call fcn.00431340
add esp, 0x18
cmp al, bl
jne 0x425225
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.00407f40
xor al, al
jmp 0x425271
cmp byte [esi + 0x94], bl
mov ecx, edi
jne 0x425236
call fcn.004078a0
jmp 0x42523b
call fcn.004077e0
lea ecx, [ebp - 0x20]
call fcn.004070f0
push eax
lea ecx, [ebp - 0x20]
call fcn.0041a380
push eax
mov ecx, edi
call fcn.004080b0
lea ecx, [ebp - 0x20]
call fcn.004078a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
mov byte [esi + 0x94], 1
call fcn.00407f40
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

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

Disassembly:
push esi
mov esi, ecx
push dword [esp + 8]
push dword [esi + 4]
call fcn.004265dc
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.004265dc
add esp, 0x10
mov dword [esi + 0xc], eax
pop esi
ret 4
Function at 0x42e33e
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 0x42e368
test eax, eax
jne 0x42e372
test ecx, ecx
jne 0x42e372
mov ebx, edi
jmp 0x42e3de
cmp ebx, 0xffffffff
jne 0x42e372
push 0xfffffffffffffffe
pop ebx
jmp 0x42e3de
mov ecx, dword [esi + 0x1c]
lea ecx, [edi + ecx - 0x106]
cmp eax, ecx
jb 0x42e3de
mov eax, dword [esi + 0x28]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.0041f1c0
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 0x42e3a3
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 0x42e3c2
mov ebx, dword [ebp - 4]
add ebx, edi
mov ecx, dword [esi + 4]
call fcn.0042cafa
test eax, eax
je 0x42e440
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.0042cd45
add dword [esi + 0x6c], eax
mov ebx, dword [esi + 0x6c]
cmp ebx, 3
jb 0x42e428
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 0x42e440
mov ecx, dword [esi + 4]
call fcn.0042cafa
test eax, eax
jne 0x42e34a
pop edi
pop esi
pop ebx
leave
ret
Function at 0x434450
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.004070f0
cmp eax, 0x40
mov ecx, esi
jbe 0x4344a4
call fcn.0041a380
test eax, eax
je 0x4344d5
mov ecx, esi
call fcn.0041a380
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
jmp 0x4344d5
call fcn.0041a380
test eax, eax
je 0x4344d5
mov ecx, esi
call fcn.004070f0
mov ecx, esi
mov edi, eax
call fcn.0041a380
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 + 0x456598]
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x48
jl 0x4344d7
xor eax, eax
mov ecx, 0x100
mov edx, dword [ebp + 0x30]
mov esi, dword [eax + 0x4565e0]
mov dword [edx + eax], esi
add eax, 4
dec ecx
jne 0x4344f2
cmp eax, 0x1000
jl 0x4344ed
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 0x43450f
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.00433c50
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 0x43456f
mov esi, 4
mov edi, 0x80
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, ebp
call fcn.00433c50
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 0x4345a7
cmp esi, 0x1004
jl 0x4345a2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
Function at 0x4354c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x435545
cmp eax, 0x40
jbe 0x4354ec
lea eax, [esi + 0x40]
push eax
push esi
call fcn.0043a8b0
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 0x435514
lea edi, [esi + 0x40]
push edi
call fcn.0043a7e0
push edi
push 0x40
push esi
call fcn.0043a820
add esp, 0x10
mov dword [esi + 0x9c], 0xffffffff
pop edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x43555f
add esi, 0x40
push esi
push eax
mov eax, dword [esp + 0x10]
push eax
call fcn.0043a820
add esp, 0xc
pop esi
ret

Function at 0x435570
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x28]
cmp dword [edi + 0x9c], 0xffffffff
je 0x43558f
push edi
push 0
push 0
call fcn.004354c0
add esp, 0xc
lea esi, [edi + 0x40]
lea eax, [esp + 8]
push esi
push eax
call fcn.0043a8b0
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 0x4355a7
push esi
call fcn.0043a7e0
push esi
push 0x40
push edi
call fcn.0043a820
push esi
lea ecx, [esp + 0x1c]
push 0x14
push ecx
call fcn.0043a820
lea edx, [esp + 0x24]
push esi
push edx
call fcn.0043a8b0
mov ecx, dword [esp + 0x48]
add esp, 0x24
test ecx, ecx
jbe 0x435600
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 0x436480
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x214
push esi
lea eax, [esp + 0x38]
push edi
push eax
call fcn.00435410
mov edx, dword [esp + 0x228]
mov eax, dword [esp + 0x224]
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
call fcn.00435420
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.004354c0
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 0x43660c
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 0x4365c9
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xe4]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
call fcn.004354c0
lea eax, [esp + 0xf0]
lea ecx, [esp + 0x3c]
push eax
push 0x14
push ecx
call fcn.00435570
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 0x436598
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 0x43656c
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, dword [esp + 0x240]
jae 0x4365ec
mov esi, dword [esp + 0x23c]
mov dl, byte [eax + ebp]
inc ecx
mov byte [eax + esi], dl
inc eax
cmp ecx, 0x14
jb 0x4365cf
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 0x43650e
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x214
ret
Function at 0x438590
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 0x4385a5
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 0x4385ac
inc ebx
cmp ebx, 2
jl 0x438599
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

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

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x459de0
mov dl, byte [edi + 0x457610]
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 + 0x457710]
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 + 0x457710]
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 + 0x457710]
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 + 0x457710]
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, 0x45a1e0
jl 0x43862d
pop edi
pop esi
mov dword [0x457810], 0
pop ebx
add esp, 0xc
ret
Function at 0x43a7e0
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 0x40257e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp + 8]
cmp word [eax], 0x5a4d
je 0x4025a5
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4026e6
mov edi, dword [eax + 0x3c]
add edi, eax
cmp dword [edi], 0x4550
jne 0x402595
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x3000
push dword [edi + 0x50]
push dword [edi + 0x34]
call esi
mov ebx, eax
test ebx, ebx
jne 0x4025e4
push 4
push 0x3000
push dword [edi + 0x50]
push eax
call esi
mov ebx, eax
test ebx, ebx
jne 0x4025e4
push 0xe
jmp 0x40259a
nop
nop
nop
nop
nop
nop
nop
push 0x24
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x402626
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
nop
nop
nop
nop
nop
nop
nop
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4026e6
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x18]
push 4
push 0x1000
mov dword [esi + 4], ebx
mov dword [esi + 0x20], eax
push dword [edi + 0x54]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push dword [edi + 0x54]
mov dword [ebp + 0xc], eax
push dword [ebp + 8]
push eax
call fcn.0040ab20
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push esi
push edi
mov eax, dword [ecx + 0x3c]
push ecx
add eax, edx
mov dword [esi], eax
mov dword [eax + 0x34], ebx
call fcn.004026f4
add esp, 0x18
nop
nop
nop
nop
nop
nop
nop
mov eax, ebx
sub eax, dword [edi + 0x34]
je 0x40269c
push eax
push esi
call fcn.004028ac
pop ecx
pop ecx
push esi
call fcn.00402926
test eax, eax
pop ecx
je 0x4026df
push esi
call fcn.004027ab
push esi
call fcn.00402879
pop ecx
pop ecx
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4026ed
push 0
push 1
pop edi
add eax, ebx
push edi
push ebx
call eax
test eax, eax
jne 0x4026ea
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call fcn.00402b1e
pop ecx
xor eax, eax
jmp 0x4026ef
mov dword [esi + 0x10], edi
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4026f4
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
and dword [ebp - 4], 0
push esi
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 8], ecx
movzx ecx, word [eax + 0x14]
cmp word [eax + 6], 0
lea esi, [ecx + eax + 0x18]
jbe 0x4027a8
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
add esi, 0x10
mov ebx, 0x1000
cmp dword [esi], 0
jne 0x402766
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x402792
push 4
push ebx
push eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 8]
push eax
call edi
nop
nop
nop
nop
nop
nop
nop
push dword [ebp - 0xc]
mov dword [esi - 8], eax
push 0
push eax
call fcn.0040ae60
add esp, 0xc
jmp 0x402792
nop
nop
nop
mov eax, dword [esi - 4]
push 4
add eax, dword [ebp - 8]
push ebx
push dword [esi]
push eax
call edi
mov ecx, dword [esi + 4]
push dword [esi]
add ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push ecx
push eax
call fcn.0040ab20
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi - 8], eax
mov eax, dword [ebp + 0x10]
inc dword [ebp - 4]
add esi, 0x28
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 4], eax
jl 0x40272d
pop edi
pop ebx
pop esi
leave
ret
Function at 0x417370
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040c160
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41743b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x41743b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4173ee
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4173f9
or bh, 8
and edi, 0x8000000
je 0x417414
mov eax, dword [0x47d9dc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x41743b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret