joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402d20
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, 0xffffffff
test ecx, ecx
je 0x402e28
mov esi, edx
test edx, edx
je 0x402e28
mov dword [esp], ecx
cmp dword [esp + 0x2c], 0
je 0x402e28
push esi
call fcn.00409240
add esp, 4
test eax, eax
je 0x402d7a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x402d81
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x402d60
jmp 0x402d83
mov ebp, 0x1505
jmp 0x402d83
mov ebp, ecx
mov dword [esp + 8], esi
mov ecx, dword [esp]
mov esi, dword [ecx + 0x20]
lea ebx, [esi - 1]
mov edx, esi
sub edx, 1
mov dword [esp + 0x10], edx
jae 0x402e30
mov edi, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x402dea
call fcn.00402f20
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 8]
jne 0x402e28
push ecx
call fcn.00409240
add esp, 4
mov dword [esp + 4], eax
mov ecx, dword [esp]
mov esi, dword [ecx + 0x20]
lea ebx, [esi - 1]
mov eax, esi
sub eax, 1
mov dword [esp + 0x10], eax
jae 0x402e9f
mov edi, 0xffffffff
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 8]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + edi*4], edx
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 0x2c]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], edi
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebp
inc dword [ecx + 0x18]
mov eax, dword [ecx]
mov dword [esi], eax
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], eax
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x402e48
inc ebx
dec esi
je 0x402d9f
mov edi, ebx
and edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x402da4
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebp
jne 0x402e40
mov ecx, dword [ecx + 0xc]
mov edi, dword [ecx + eax*4]
push edi
call fcn.00409240
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x402e40
push dword [esp + 4]
push edi
push dword [esp + 0x10]
call fcn.00409260
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x402e40
mov eax, 0xffffffff
jmp 0x402e28
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x402eb8
inc ebx
dec esi
je 0x402de5
mov edi, ebx
and edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x402dea
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebp
jne 0x402eb0
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x14], eax
push eax
call fcn.00409240
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x402eb0
push dword [esp + 4]
push dword [esp + 0x18]
push dword [esp + 0x10]
call fcn.00409260
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x402eb0
jmp 0x402dea
Function at 0x403640
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x4037e6
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov ecx, edi
shr ecx, 0x10
mov eax, edi
or eax, 0xffff
xor edi, 0xffff0000
and edi, eax
test ebx, ebx
je 0x4037df
mov edx, 0x5e6ea9af
mov eax, ebx
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov esi, ebx
sub esi, eax
jmp 0x4036d8
add ebp, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov eax, edi
mov esi, 0x80078071
mul esi
shr edx, 0xf
imul eax, edx, 0xfff1
sub edi, eax
mov eax, ecx
mul esi
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
mov edx, dword [esp + 4]
mov eax, edx
xor eax, ebx
not edx
and edx, ebx
add edx, edx
mov ebx, edx
mov esi, 0x15b0
sub ebx, eax
je 0x4037df
xor eax, eax
cmp esi, 8
jb 0x403741
mov eax, esi
and eax, 0x1ff8
mov dword [esp], eax
mov edx, 7
nop
nop
movzx eax, byte [ebp]
add eax, edi
add ecx, eax
mov edi, esi
movzx esi, byte [ebp + 1]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + 2]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + 3]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + 4]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + 5]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + 6]
add eax, esi
mov esi, edi
add ecx, eax
movzx edi, byte [ebp + 7]
add edi, eax
add ecx, edi
add ebp, 8
add edx, 8
cmp edx, esi
jb 0x4036f0
mov eax, dword [esp]
mov edx, esi
sub edx, eax
mov dword [esp + 4], esi
jbe 0x403698
mov dword [esp + 0xc], edx
mov dword [esp], eax
not eax
add eax, esi
mov edx, esi
and edx, 3
mov dword [esp + 0x10], ebx
je 0x403791
mov dword [esp + 8], eax
neg edx
xor eax, eax
mov ebx, ebp
nop
movzx esi, byte [ebx]
inc ebx
add edi, esi
add ecx, edi
dec eax
cmp edx, eax
jne 0x403770
mov edx, dword [esp]
sub edx, eax
mov eax, dword [esp + 8]
cmp eax, 3
jb 0x403690
jmp 0x40379f
mov ebx, ebp
mov edx, dword [esp]
cmp eax, 3
jb 0x403690
mov eax, dword [esp + 4]
sub eax, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [ebx + edx]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 1]
add edi, esi
add ecx, edi
movzx esi, byte [ebx + edx + 2]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 3]
add edi, esi
add ecx, edi
add edx, 4
cmp eax, edx
jne 0x4037b0
jmp 0x403690
shl ecx, 0x10
add ecx, edi
jmp 0x4037eb
mov ecx, 1
mov eax, ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x403800
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x403873
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
lea eax, [esi + esi]
not eax
add eax, esi
test edx, edx
je 0x40386f
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ecx + esi]
mov ebx, eax
mov ebp, eax
and ebp, 0xf
mov edi, edx
and edi, 0xf
and eax, edi
add edi, ebp
add eax, eax
sub edi, eax
shr ebx, 4
xor ebx, dword [edi*4 + 0x43ba18]
mov eax, ebx
and ebx, 0xf
shr edx, 4
xor edx, ebx
shr eax, 4
xor eax, dword [edx*4 + 0x43ba18]
mov edx, dword [esp + 0x1c]
inc esi
cmp edx, esi
jne 0x403830
not eax
jmp 0x403875
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4096a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.00409730
sub esp, 0x100
mov esi, esp
call fcn.00436590
test al, 1
jne 0x4096bc
jmp 0x4096fd
call fcn.00430ba0
test al, 1
jne 0x4096c7
jmp 0x4096f6
call fcn.0040a760
test al, 1
jne 0x4096d2
jmp 0x4096f4
lea eax, str.system_or_character_via_spellings_glyphs_a_is_uses_that_in_their_modified_other_on_often_reflection_or_resemblance_on_it_leetspeak__used_similarity_internet._play_eleet_the_of_the_replacements_of_primarily_ways
sub esp, 8
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00409710
add esp, 8
call fcn.0040f4c0
call fcn.0040b630
jmp 0x4096f6
call fcn.00436cb0
jmp 0x4096fd
xor eax, eax
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x409790
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20c
mov dword [esp], ecx
mov edi, dword [esp + 0x220]
movzx ecx, word [edi]
test cx, cx
je 0x4098ba
lea eax, [edi + 2]
xor ebx, ebx
jmp 0x4097cd
add ebx, esi
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x4097f1
movzx ebp, cx
xor ecx, ecx
cmp ebp, 0x800
setb dl
mov esi, 1
cmp ebp, 0x80
jb 0x4097c0
mov cl, dl
xor ecx, 3
mov esi, ecx
jmp 0x4097c0
lea esi, [ebx + 1]
push esi
call fcn.00409020
add esp, 4
mov ebp, eax
test ebx, ebx
jle 0x4098c8
add ebx, ebp
add esi, ebp
mov eax, ebp
mov dword [esp + 8], esi
jmp 0x409838
mov byte [eax], dl
mov esi, 1
add edi, 2
add eax, esi
cmp eax, ebx
mov esi, dword [esp + 8]
jae 0x4098ca
movzx edx, word [edi]
test dx, dx
je 0x4098ca
cmp dx, 0x7f
jbe 0x409820
mov ecx, eax
not ecx
add ecx, esi
movzx esi, dx
cmp ecx, 2
jb 0x409880
cmp esi, 0x7ff
ja 0x409880
mov ecx, edx
shr ecx, 6
add cl, 0xc0
mov byte [eax], cl
and dl, 0x3f
or dl, 0x80
mov byte [eax + 1], dl
mov esi, 2
jmp 0x409827
mov dword [esp + 4], esi
xor esi, esi
cmp ecx, 3
jb 0x409827
mov esi, dword [esp + 4]
mov ecx, esi
shr ecx, 0xc
or cl, 0xe0
mov byte [eax], cl
mov ecx, esi
shr ecx, 6
and cl, 0x3f
or cl, 0x80
mov byte [eax + 1], cl
and dl, 0x3f
or dl, 0x80
mov byte [eax + 2], dl
mov esi, 3
jmp 0x409827
push 1
call fcn.00409020
add esp, 4
mov ebp, eax
jmp 0x4098ca
mov eax, ebp
mov edi, dword [esp + 0x228]
mov edx, dword [esp + 0x224]
mov byte [eax], 0
xor ecx, ecx
jmp 0x4098e7
mov ebx, eax
mov byte [esp + ecx + 0xc], bl
inc ecx
movzx eax, byte [ebp + ecx]
mov bl, 0x2f
cmp eax, 0x5c
je 0x4098e2
test eax, eax
jne 0x4098e0
mov byte [esp + ecx + 0xc], 0
lea eax, [esp + 0xc]
push 0
push 0
push 0
mov ecx, dword [esp + 0xc]
push dword [ecx + 8]
add ecx, 0x10
push 0
push 0
push edi
push edx
push eax
push ecx
call fcn.00405a50
add esp, 0x28
test eax, eax
setne al
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x4168d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov edi, dword [ebp + 8]
xor eax, eax
cmp dword [ebp + 0x10], 0
setne al
xor edx, edx
xor ecx, ecx
xor ebx, ebx
jmp dword [eax*4 + 0x440c78]
Function at 0x41ab30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov ebx, dword [ebp + 8]
mov dword [esp + 8], 0x63c961dc
mov dword [esp + 0xc], 0x67ff65c1
mov dword [esp + 0x10], 0x6b8469bc
mov dword [esp + 0x14], 0x6fcc6dc8
mov word [esp + 0x18], 0x5150
mov dword [esp + 0x1a], 0
mov dword [esp + 0x1e], 0
mov dword [esp + 0x22], 0
mov word [esp + 0x26], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x1f
ja 0x41abdf
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 8]
lea edx, [eax + 0x90]
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add eax, 0x191b1390
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
add al, 0x10
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x20
jb 0x41aba0
lea eax, [esp + 0x18]
lea edi, [esp + 0x28]
lea esi, [esp + 8]
mov edx, esi
mov ecx, 4
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x38]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x41ac10
mov edi, esi
cmp eax, 0xffffffed
jge 0x41ac29
mov eax, 0xffffffff
jmp 0x41ac2c
add eax, 0x12
push eax
call fcn.00409020
add esp, 4
mov esi, eax
movzx ecx, word [ebx]
test cx, cx
je 0x41ac61
add ebx, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x41ac50
mov word [eax], 0
movzx ecx, word [esp + 0x28]
test cx, cx
je 0x41ac91
lea edx, [esp + 0x2a]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41ac80
mov word [eax], 0
push edi
push esi
call fcn.00439c00
add esp, 8
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x441058]
Function at 0x41ab3f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov ebx, dword [ebp + 8]
mov dword [esp + 8], 0x63c961dc
mov dword [esp + 0xc], 0x67ff65c1
mov dword [esp + 0x10], 0x6b8469bc
mov dword [esp + 0x14], 0x6fcc6dc8
mov word [esp + 0x18], 0x5150
mov dword [esp + 0x1a], 0
mov dword [esp + 0x1e], 0
mov dword [esp + 0x22], 0
mov word [esp + 0x26], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x1f
ja 0x41abdf
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 8]
lea edx, [eax + 0x90]
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add eax, 0x191b1390
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
add al, 0x10
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x20
jb 0x41aba0
lea eax, [esp + 0x18]
lea edi, [esp + 0x28]
lea esi, [esp + 8]
mov edx, esi
mov ecx, 4
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x38]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x41ac10
mov edi, esi
cmp eax, 0xffffffed
jge 0x41ac29
mov eax, 0xffffffff
jmp 0x41ac2c
add eax, 0x12
push eax
call fcn.00409020
add esp, 4
mov esi, eax
movzx ecx, word [ebx]
test cx, cx
je 0x41ac61
add ebx, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x41ac50
mov word [eax], 0
movzx ecx, word [esp + 0x28]
test cx, cx
je 0x41ac91
lea edx, [esp + 0x2a]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41ac80
mov word [eax], 0
push edi
push esi
call fcn.00439c00
add esp, 8
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x441058]
Function at 0x420ae0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x860
lea ebx, [esp + 0xe4]
mov dword [esp + 0xc], 0
mov eax, 0x20219
mov ecx, 1
xor esi, esi
mov dword [esp + 4], 0
jmp dword [ecx*4 + 0x442310]
Function at 0x4218e0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x468
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x60], 0xdb26d92b
mov dword [esp + 0x64], 0xe707e509
mov dword [esp + 0x68], 0xe3d4e115
mov dword [esp + 0x6c], 0xef16ed01
mov dword [esp + 0x70], 0xebeae905
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7b], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x1e
ja 0x4219a7
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [esp + ecx + 0x60]
lea edx, [eax - 0xedcc5e4]
lea esi, [eax + 0x1c]
xor esi, edx
and edx, ecx
and esi, ecx
add eax, ecx
add eax, 0xf1233a1c
lea ecx, [esi + edx*2]
sub eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
add al, 0x3c
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x60], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x1f
jb 0x421960
lea esi, [esp + 0x60]
lea ecx, [esp + 0x4c]
push esi
call fcn.00435300
shr eax, 0x1f
xor ebx, ebx
jmp dword [eax*4 + 0x4423c0]
Function at 0x422140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x120
mov dword [esp], 0
mov eax, 0x20219
mov ecx, 1
lea ebx, [esp + 0x8e]
jmp dword [ecx*4 + 0x442490]
Function at 0x42e680
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov esi, esp
call fcn.00409730
push eax
mov eax, esp
push eax
mov edi, esp
push eax
mov dword [esi + 0x10], esp
push eax
mov dword [esi + 0xc], esp
push eax
mov dword [esi + 0x24], esp
sub esp, 0x18
mov ebx, esp
and ebx, 0xfffffff8
mov esp, ebx
jmp 0x42e6b1
push eax
mov dword [esi + 0x18], esp
mov ecx, dword [ebp + 8]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x14], eax
mov byte [eax], 0
xor eax, eax
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, 0
je 0x42e838
xor eax, eax
sub esp, 8
mov dword [esp], 0
mov dword [esp + 4], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [edi], eax
sub esp, 4
mov dword [esp], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, dword [esi + 0x10]
mov dword [edi], eax
cmp dword [edi], 0
setne al
test al, 1
jne 0x42e71c
jmp 0x42e82a
mov eax, dword [edi]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [ecx]
sub esp, 4
mov dword [esp], eax
call fcn.00409240
add esp, 4
mov ecx, dword [esi + 0x24]
mov dword [ecx], eax
mov eax, ecx
cmp dword [eax], 0
je 0x42e81c
mov ecx, dword [esi + 0x28]
mov edx, dword [eax]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov dword [esi + 0x1c], eax
jmp 0x42e75e
mov eax, dword [esi + 0x18]
mov al, byte [eax]
mov byte [esi + 8], al
mov byte [ebx], 0x53
mov byte [ebx + 1], 9
mov byte [ebx + 2], 0xb
mov byte [ebx + 3], 0x1b
mov byte [ebx + 4], 0x2c
mov byte [ebx + 5], 0x18
mov byte [ebx + 6], 0x2f
mov byte [ebx + 7], 0x19
mov byte [ebx + 8], 0x2a
mov byte [ebx + 9], 0x5f
mov byte [ebx + 0xa], 0x18
mov byte [ebx + 0xb], 0xb
mov byte [ebx + 0xc], 0x16
mov byte [ebx + 0xd], 0x81
mov byte [ebx + 0x12], 0
mov dword [ebx + 0xe], 0
mov dword [esi + 4], 0
mov eax, dword [esi + 4]
cmp eax, 0x13
jae 0x42e7ff
mov dword [esi + 0x20], edx
jmp 0x42e7bc
mov edx, dword [esi + 4]
mov edi, dword [esi + 4]
movzx edi, byte [ebx + edi]
mov eax, edx
add eax, 0x1c8f966d
lea edx, [edx + edi + 0x1c8f966d]
and eax, edi
add eax, eax
sub edx, eax
mov dword [esi + 0x2c], edx
mov eax, dword [esi + 0x2c]
add al, 5
mov edx, dword [esi + 4]
mov byte [ebx + edx], al
mov eax, dword [esi + 4]
inc eax
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, 0x13
jb 0x42e7bc
mov edi, dword [esi + 0x10]
mov edx, dword [esi + 0x20]
jmp 0x42e7ff
sub esp, 0xc
mov dword [esp], ebx
mov eax, dword [esi + 0x1c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00409940
and al, 1
mov ecx, dword [esi + 0x14]
mov byte [ecx], al
mov eax, dword [edi]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x42e832
jmp 0x42e834
jmp 0x42e836
jmp 0x42e838
mov eax, dword [esi + 0x14]
mov al, byte [eax]
jmp 0x42e83f
jmp 0x42e841
jmp 0x42e843
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x432f10
Capabilities:
Encode data using xor
Hash data using sha1
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov ebp, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], 0xc3d2e1f0
mov dword [esp + 0x10], 0x10325476
mov dword [esp + 0xc], 0x98badcfe
mov dword [esp + 8], 0xefcdab89
mov dword [esp + 4], 0x67452301
cmp ebp, 0x40
jb 0x432fcd
mov edi, ebp
shr edi, 6
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebp, eax
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebp + esi]
mov dword [esp + esi + 0x1c], eax
movzx ecx, byte [ebp + esi + 1]
shl ecx, 8
or ecx, eax
mov dword [esp + esi + 0x1c], ecx
movzx eax, byte [ebp + esi + 2]
shl eax, 0x10
or eax, ecx
mov dword [esp + esi + 0x1c], eax
movzx ecx, byte [ebp + esi + 3]
shl ecx, 0x18
or ecx, eax
mov dword [esp + esi + 0x1c], ecx
add esi, 4
cmp esi, 0x40
jne 0x432f70
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 8]
push eax
call fcn.00433a40
add esp, 8
inc ebx
lea eax, [esi + ebp]
cmp ebx, edi
jne 0x432f60
add ebp, esi
mov eax, ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov ecx, ebp
and ecx, 0x3f
mov dword [esp], ecx
je 0x4330c4
mov ecx, ebp
and ecx, 1
xor edi, edi
cmp dword [esp], 1
je 0x4330ad
mov dword [esp + 0x18], ecx
sub dword [esp], ecx
xor ebx, ebx
xor edi, edi
nop
movzx ebp, byte [eax + edi]
mov ecx, ebx
and cl, 0x10
shl ebp, cl
mov edx, edi
and edx, 0xfffffffc
xor ebp, dword [esp + edx + 0x1c]
mov dword [esp + edx + 0x1c], ebp
movzx esi, byte [eax + edi + 1]
or cl, 8
shl esi, cl
xor esi, ebp
mov dword [esp + edx + 0x1c], esi
add edi, 2
add ebx, 0x10
cmp dword [esp], edi
jne 0x433070
add eax, edi
mov ebp, dword [esp + 0x74]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4330c4
movzx eax, byte [eax]
lea ecx, [edi*8]
shl eax, cl
and edi, 0xfffffffc
xor dword [esp + edi + 0x1c], eax
lea ebx, [ebp*8]
mov ecx, ebx
and cl, 0x18
or cl, 7
mov eax, 1
shl eax, cl
mov ecx, ebp
and ecx, 0x3c
xor dword [esp + ecx + 0x1c], eax
mov esi, dword [esp + 0x78]
mov eax, ebp
not eax
test al, 0x38
jne 0x433115
lea edi, [esp + 0x1c]
lea eax, [esp + 4]
push edi
push eax
call fcn.00433a40
add esp, 8
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
lea edi, [esp + 0x5c]
xor eax, eax
xor ecx, ecx
rep stosw word es:[edi], ax
mov dword [esp + 0x54], ebx
shr ebp, 0x1d
mov dword [esp + 0x58], ebp
lea eax, [esp + 0x1c]
lea ecx, [esp + 4]
push eax
push ecx
call fcn.00433a40
add esp, 8
mov eax, dword [esp + 4]
mov dword [esi], eax
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], eax
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4350e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [esp + 8], 0x63626130
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xf
ja 0x435171
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
mov esi, 0x144dc98f
sub esi, ecx
lea edi, [ecx + 0x70]
and edi, edx
or esi, edx
add esi, ecx
add esi, 0xebb23671
mov ebx, esi
and ebx, edi
xor edi, esi
add ecx, edx
lea edx, [edi + ebx*2]
sub ecx, edx
add ecx, 0xebb23670
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
add cl, 0xf0
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x10
jb 0x435120
mov ecx, dword [esp + 8]
mov ecx, dword fs:[ecx]
push eax
push 0
push dword [ecx + 0x18]
call dword [0x44eff4]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret