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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
and esi, 0xfffffffc
je 0x1002edcb
lea eax, [esi - 1]
mov edi, eax
shr edi, 2
add edi, 1
mov ecx, edi
and ecx, 3
cmp eax, 0xc
jae 0x1002ed40
xor eax, eax
xor ebx, ebx
jmp 0x1002ed8b
and edi, 0xfffffffc
neg edi
xor eax, eax
xor ebx, ebx
nop dword [eax]
rol eax, 5
xor eax, dword [edx + ebx]
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, dword [edx + ebx + 4]
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, dword [edx + ebx + 8]
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, dword [edx + ebx + 0xc]
imul eax, eax, 0x9e3779b9
add ebx, 0x10
add edi, 4
jne 0x1002ed50
test ecx, ecx
je 0x1002eda9
add ebx, edx
shl ecx, 2
xor edi, edi
rol eax, 5
xor eax, dword [ebx + edi]
imul eax, eax, 0x9e3779b9
add edi, 4
cmp ecx, edi
jne 0x1002ed96
mov edi, dword [ebp + 0xc]
cmp esi, edi
jae 0x1002edc6
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
add esi, 1
cmp edi, esi
jne 0x1002edb0
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x1002eda9

Function at 0x1002ff22
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x1002ff31
pop dword [ebp - 0x30]
mov eax, 0x1002ff31
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x39978
push 0
mov eax, 0x62a21454
add eax, 0xad659a54
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x34357b6b
add ecx, 0xcbcad5d5
mov edx, eax
mov ebx, 0x1eba26b2
sub ebx, 0xeb1c8b2
add ebx, dword [ebp - 0x30]
mov esi, 0x996d6a58
add dword [ebp - 0x18], edx
mov edi, dword [ebx]
xor dword [ebp - 0x2c], 0x86e6c82
xor edi, esi
sub dword [ebp - 0x1c], esi
mov dword [edx], edi
add dword [ebp - 8], eax
add edx, 0x838b0863
sub edx, 0x838b085f
add ebx, 0xa8a751a1
sub ebx, 0xa8a7519d
loop 0x1002ff85
add eax, 0xf94dc905
sub eax, 0xf94c9132
mov ebx, eax
add eax, 0xc90735dc
sub eax, 0xc90735d7
mov ecx, 0xb278bae3
add ecx, 0x5d87451d
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x27591b
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push esi
xor esi, esi
mov dword [ebp - 8], esi
call fcn.002758c1
cmp eax, 2
jae 0x27593a
xor eax, eax
jmp 0x2759c8
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push 0x223270
push 0x80000002
call dword [fcn.00221004]
test eax, eax
jne 0x275989
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x223260
push dword [ebp - 4]
call dword [fcn.00221008]
push dword [ebp - 4]
test eax, eax
je 0x2759b9
call dword [section..text]
mov esi, dword [0x221794]
push ebx
push edi
call esi
mov edi, eax
call esi
cmp edi, eax
je 0x275995
rdtsc
mov ebx, eax
mov dword [ebp - 0x14], edx
add edi, 0x65
call esi
cmp edi, eax
ja 0x2759a5
rdtsc
sub eax, ebx
pop edi
imul eax, eax, 0xa
mov dword [ebp - 0x14], edx
pop ebx
jmp 0x2759c8
call dword [section..text]
mov eax, dword [ebp - 8]
imul eax, eax, 0xf4240
pop esi
leave
ret

Function at 0x2acb18
Capabilities:
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov eax, ecx
xor edi, edi
cmp byte [eax + 0x1aa], 0
jne 0x2acb5c
mov ebx, dword [eax + 0x144]
test ebx, ebx
jbe 0x2acb54
lea esi, [eax + 0x148]
push dword [ebp + 8]
mov ecx, esi
call fcn.0027d8b7
test al, al
jne 0x2acb58
inc edi
add esi, 6
cmp edi, ebx
jb 0x2acb3e
xor al, al
jmp 0x2acbc9
mov al, 1
jmp 0x2acbc9
mov ecx, dword [eax + 0xa8]
test byte [ecx + 0x30], 4
mov esi, dword [ebp + 8]
jne 0x2acb74
mov cl, byte [esi]
not cl
test cl, 1
jne 0x2acb54
or dword [ebp + 8], 0xffffffff
mov dl, byte [edi + esi]
mov dword [ebp - 4], 8
movzx ecx, dl
xor ecx, dword [ebp + 8]
test cl, 1
je 0x2acb9d
mov ecx, dword [ebp + 8]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp + 8], ecx
jmp 0x2acba0
shr dword [ebp + 8], 1
shr dl, 1
dec dword [ebp - 4]
jne 0x2acb82
inc edi
cmp edi, 6
jb 0x2acb78
mov ecx, dword [ebp + 8]
and ecx, 0x1ff
mov edx, ecx
shr edx, 3
mov al, byte [edx + eax + 0x148]
and cl, 7
shr al, cl
and al, 1
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x33928e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.002748b0
mov eax, dword [0x4308d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
shl eax, 0xc
cmp word [ebx + 0x318], 4
push edi
mov dword [ebp - 0x100c], ebx
lea edi, [eax + ebx + 0x3a8]
jne 0x3392dc
push dword [ebp + 0xc]
push edi
push dword [ebx + 0x310]
call fcn.00337ea9
jmp 0x3393e2
cmp dword [ebp + 0xc], 0
je 0x3393e2
push esi
mov esi, 0xffff8080
mov ecx, 0x400
cmp dword [ebp + 0xc], ecx
jae 0x3392f9
mov ecx, dword [ebp + 0xc]
sub dword [ebp + 0xc], ecx
cmp word [ebx + 0x30e], 2
mov dword [ebp - 0x1008], edi
jne 0x339359
xor eax, eax
lea edi, [edi + ecx*2]
test ecx, ecx
jbe 0x3393c2
mov edx, dword [ebp - 0x1008]
movzx dx, byte [edx + eax*2]
mov ebx, edx
shl ebx, 8
or ebx, edx
mov edx, dword [ebp - 0x1008]
xor ebx, esi
mov word [ebp + eax*4 - 0x1004], bx
movzx dx, byte [edx + eax*2 + 1]
mov ebx, edx
shl ebx, 8
or ebx, edx
xor ebx, esi
mov word [ebp + eax*4 - 0x1002], bx
inc eax
cmp eax, ecx
jb 0x339319
jmp 0x3393bc
xor edx, edx
cmp word [ebx + 0x31a], 0x10
jne 0x33938d
lea edi, [edi + ecx*2]
test ecx, ecx
jbe 0x3393c2
mov eax, dword [ebp - 0x1008]
movzx eax, word [eax + edx*2]
mov word [ebp + edx*4 - 0x1002], ax
mov word [ebp + edx*4 - 0x1004], ax
inc edx
cmp edx, ecx
jb 0x33936c
jmp 0x3393bc
add edi, ecx
test ecx, ecx
jbe 0x3393c2
mov eax, dword [ebp - 0x1008]
movzx bx, byte [eax + edx]
mov eax, ebx
shl eax, 8
or eax, ebx
xor eax, esi
mov word [ebp + edx*4 - 0x1002], ax
mov word [ebp + edx*4 - 0x1004], ax
inc edx
cmp edx, ecx
jb 0x339393
mov ebx, dword [ebp - 0x100c]
push ecx
lea eax, [ebp - 0x1004]
push eax
push dword [ebx + 0x310]
mov ecx, ebx
call fcn.00337ea9
cmp dword [ebp + 0xc], 0
jne 0x3392ec
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.002745b7
leave
ret 8

Function at 0x33a81e
Capabilities:
Hash data using fnv

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, 0x811c9dc5
jmp 0x33a83f
mov ecx, dword [ebp + 8]
imul eax, eax, 0x1000193
add dword [ebp + 8], 2
movzx ecx, word [ecx]
xor eax, ecx
cmp dword [ebp + 8], edx
jne 0x33a82d
pop ebp
ret
Function at 0x34c06f
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
movzx eax, word [ebp + 0x10]
push ebx
push esi
push edi
cmp eax, 4
je 0x34c16a
cmp eax, 8
je 0x34c16a
cmp eax, 0x10
je 0x34c102
cmp eax, 0x20
jne 0x34c1b9
mov ecx, dword [ebp + 8]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x34c1b9
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [ebp + 0x10], edi
neg dword [ebp + 0x10]
dec ecx
imul ecx, edi
mov dword [ebp + 8], edx
add ecx, edx
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 8]
test edi, edi
jle 0x34c0f2
mov edx, ecx
sub edx, eax
mov dword [ebp + 0xc], edx
lea edx, [edi - 1]
shr edx, 2
inc edx
mov esi, dword [ebp + 0xc]
lea ebx, [esi + eax]
mov esi, dword [ebx]
xor dword [eax], esi
mov esi, dword [eax]
xor dword [ebx], esi
mov esi, dword [ebx]
xor dword [eax], esi
add eax, 4
dec edx
jne 0x34c0da
add ecx, dword [ebp + 0x10]
add dword [ebp + 8], edi
dec dword [ebp + 0x14]
jne 0x34c0c5
jmp 0x34c1b9
mov ecx, dword [ebp + 8]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x34c1b9
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [ebp + 0x10], edi
neg dword [ebp + 0x10]
dec ecx
imul ecx, edi
mov dword [ebp + 8], edx
add ecx, edx
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 8]
test edi, edi
jle 0x34c15d
mov edx, ecx
sub edx, eax
mov dword [ebp + 0xc], edx
lea edx, [edi - 1]
shr edx, 1
inc edx
mov esi, dword [ebp + 0xc]
lea ebx, [esi + eax]
mov si, word [ebx]
xor word [eax], si
movzx esi, word [eax]
xor word [ebx], si
movzx esi, word [ebx]
xor word [eax], si
inc eax
inc eax
dec edx
jne 0x34c140
add ecx, dword [ebp + 0x10]
add dword [ebp + 8], edi
dec dword [ebp + 0x14]
jne 0x34c12c
jmp 0x34c1b9
mov ecx, dword [ebp + 8]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x34c1b9
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp + 0x10], edi
neg dword [ebp + 0x10]
dec ecx
imul ecx, edi
add ecx, ebx
mov dword [ebp + 0x14], eax
mov eax, ebx
test edi, edi
jle 0x34c1af
mov esi, ecx
sub esi, ebx
mov dword [ebp + 8], edi
mov dl, byte [esi + eax]
xor byte [eax], dl
mov dl, byte [eax]
xor byte [esi + eax], dl
mov dl, byte [esi + eax]
xor byte [eax], dl
inc eax
dec dword [ebp + 8]
jne 0x34c19a
add ecx, dword [ebp + 0x10]
add ebx, edi
dec dword [ebp + 0x14]
jne 0x34c18d
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x360b90
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret 4

Function at 0x36a733
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
xor eax, eax
inc eax
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [ebp + 0xc], 4
lea ecx, [esi + 0x1000]
push edi
mov dword [ebp - 4], ebx
mov edi, eax
mov dword [ebp + 8], ecx
jae 0x36a78e
movzx eax, word [eax]
cmp esi, ecx
jae 0x36a90e
sub ecx, esi
dec ecx
movzx edx, ax
shr ecx, 1
inc ecx
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
mov edi, esi
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
jmp 0x36a90e
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
xor eax, eax
mov word [ebp - 0x20], ax
cmp esi, ecx
jae 0x36a90e
cmp ebx, 0x20
jb 0x36a7b2
mov eax, ebx
shr eax, 5
lea edi, [edi + eax*4]
and ebx, 0x1f
movzx ecx, word [edi]
movzx eax, word [edi + 2]
shl ecx, 0x10
or eax, ecx
mov ecx, ebx
shl eax, cl
cmp ebx, 9
jbe 0x36a7dd
movzx edx, word [edi + 4]
movzx ecx, word [edi + 6]
shl edx, 0x10
or edx, ecx
push 0x20
pop ecx
sub ecx, ebx
shr edx, cl
or eax, edx
test eax, eax
jns 0x36a8de
test eax, 0x40000000
je 0x36a8ab
test eax, 0x20000000
je 0x36a871
mov edx, 0x10000000
push 2
pop ecx
test edx, eax
jne 0x36a82b
add eax, eax
push 3
inc ebx
pop ecx
test edx, eax
jne 0x36a82b
add eax, eax
push 4
inc ebx
pop ecx
test edx, eax
jne 0x36a82b
mov ecx, eax
shr ecx, 0x17
and ecx, 0x1f
add ecx, 5
shl eax, 5
movzx ecx, cx
add ebx, 5
shl eax, 4
add ebx, 4
test eax, eax
jns 0x36a842
shr eax, 0x14
add ebx, 0xc
and eax, 0x7ff
jmp 0x36a84b
shr eax, 0x18
add ebx, 8
and eax, 0x7f
lea eax, [eax + eax + 2]
mov edx, eax
mov eax, esi
sub eax, edx
jmp 0x36a867
mov dx, word [eax]
mov word [esi], dx
inc esi
inc esi
inc eax
inc eax
add ecx, 0xffff
test cx, cx
ja 0x36a857
jmp 0x36a905
shr eax, 0x13
and eax, 0x3ff
add ax, word [esi - 4]
mov ecx, 0x200
sub ax, cx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0xc]
push ecx
movzx eax, ax
lea ecx, [ebp - 8]
push ecx
mov word [esi], ax
push eax
lea eax, [ebp - 0x20]
inc esi
push eax
inc esi
call fcn.0036a6e5
add esp, 0x14
add ebx, 0xd
jmp 0x36a905
mov ecx, dword [ebp - 4]
lea ebx, [ebx + ecx + 1]
push 0x20
pop ecx
sub ecx, dword [ebp - 4]
shl eax, 2
shr eax, cl
mov ecx, eax
shr ecx, 1
cmp ecx, dword [ebp - 8]
ja 0x36a8cb
lea eax, [ecx + 1]
jmp 0x36a8cf
sub eax, dword [ebp - 8]
inc ebx
mov ecx, dword [ebp - 0x18]
mov ax, word [ecx + eax*2 - 2]
mov word [esi], ax
inc esi
inc esi
jmp 0x36a905
lea ecx, [ebp - 4]
push ecx
shr eax, 0xf
lea ecx, [ebp - 0xc]
push ecx
movzx eax, ax
lea ecx, [ebp - 8]
push ecx
mov word [esi], ax
push eax
lea eax, [ebp - 0x20]
inc esi
push eax
inc esi
call fcn.0036a6e5
add esp, 0x14
add ebx, 0x11
cmp esi, dword [ebp + 8]
jb 0x36a7a2
pop edi
pop esi
pop ebx
leave
ret
Function at 0x3b82a0
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0x1505
cmp eax, 0x20
jbe 0x3b82c1
mov eax, 0x20
mov dword [ebp - 4], 0x1525
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
lea ebx, [ecx + eax - 4]
xor esi, esi
xor edi, edi
cmp ecx, ebx
jae 0x3b8361
mov eax, ebx
sub eax, ecx
add eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
cmp eax, 2
jl 0x3b8325
lea esp, [esp]
movzx edx, byte [ecx]
movzx eax, byte [ecx + 3]
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
add edx, esi
lea esi, [edx + eax]
movzx edx, byte [ecx + 4]
movzx eax, byte [ecx + 7]
xor eax, edx
movzx edx, byte [ecx + 5]
shl edx, 8
add edx, edi
lea edi, [edx + eax]
add ecx, 8
lea eax, [ebx - 4]
cmp ecx, eax
jl 0x3b82f0
cmp ecx, ebx
jae 0x3b834e
movzx eax, byte [ecx + 3]
movzx edx, byte [ecx]
movzx ecx, byte [ecx + 1]
shl ecx, 8
add ecx, dword [ebp - 4]
xor eax, edx
add edi, esi
add eax, ecx
add eax, edi
pop edi
pop esi
movzx eax, ax
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
add edi, esi
add eax, edi
pop edi
pop esi
movzx eax, ax
pop ebx
mov esp, ebp
pop ebp
ret 8
movzx eax, word [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x3b8420
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], 0x80
mov dword [eax], ebx
mov dword [ecx + 0x2010], edx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
mov dword [ecx + 0x2014], edx
mov dword [ecx + 0x2000], ebx
jae 0x3b8462
mov dword [eax], ebx
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [edi + 1]
mov esi, 8
nop
movzx edx, byte [eax - 1]
rol ebx, 1
xor ebx, edx
movzx edx, byte [eax]
rol ebx, 1
xor ebx, edx
movzx edx, byte [eax + 1]
rol ebx, 1
xor ebx, edx
movzx edx, byte [eax + 2]
rol ebx, 1
xor ebx, edx
add eax, 4
sub esi, 1
jne 0x3b8470
mov edx, dword [ebp + 0xc]
lea eax, [edx - 0x40]
test eax, eax
jbe 0x3b8580
mov dword [ebp + 0x10], 0x20
lea esp, [esp]
movzx eax, byte [edi + esi + 0x20]
movzx edx, byte [esi + edi]
rol ebx, 1
xor ebx, eax
xor ebx, edx
test bl, 0x7f
jne 0x3b84da
mov eax, dword [ebp + 0x10]
push eax
lea edx, [ebp - 4]
push edx
push edi
call fcn.003b8380
test al, al
je 0x3b8596
inc dword [ebp + 0x10]
movzx eax, byte [edi + esi + 0x21]
movzx ecx, byte [esi + edi + 1]
inc esi
rol ebx, 1
xor ebx, eax
xor ebx, ecx
test bl, 0x7f
jne 0x3b850c
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
push edi
call fcn.003b8380
test al, al
je 0x3b8596
inc dword [ebp + 0x10]
movzx ecx, byte [edi + esi + 0x21]
movzx edx, byte [esi + edi + 1]
inc esi
rol ebx, 1
xor ebx, ecx
xor ebx, edx
test bl, 0x7f
jne 0x3b853a
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
push edi
call fcn.003b8380
test al, al
je 0x3b8596
inc dword [ebp + 0x10]
movzx edx, byte [edi + esi + 0x21]
movzx eax, byte [esi + edi + 1]
inc esi
rol ebx, 1
xor ebx, edx
xor ebx, eax
test bl, 0x7f
jne 0x3b8568
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
push edi
call fcn.003b8380
test al, al
je 0x3b8596
mov eax, dword [ebp + 0xc]
inc dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
inc esi
add eax, 0xffffffc0
cmp esi, eax
jb 0x3b84b0
mov edx, dword [ebp + 0xc]
mov eax, edx
sub eax, dword [ebp - 4]
je 0x3b85a4
push edx
lea edx, [ebp - 4]
push edx
push edi
call fcn.003b8380
test al, al
jne 0x3b85a1
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x2000]
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
mov dword [ecx], eax
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x3bec50
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x544b2fba
mov dword [ebp - 0x1c], 0xef0bc9df
mov dword [ebp - 0x18], 0x39d589ae
mov dword [ebp - 0x14], 0xe5ea8173
test edi, edi
je 0x3bedde
mov ecx, dword [eax + 0xc]
push ebx
mov ebx, dword [eax + 4]
and edi, 3
mov dword [ebp - 4], ecx
mov ecx, dword [eax]
push esi
mov esi, dword [eax + 8]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], ecx
mov edi, 0xf993291a
je 0x3bece7
mov eax, dword [ebp - 0xc]
sub dword [ebp + 8], eax
mov eax, dword [edx]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add eax, ecx
imul eax, eax, 0x6f6e65f
mov ecx, edi
sub ecx, eax
xor ebx, ecx
mov eax, ebx
shr eax, 0x1f
xor esi, ecx
add ebx, ebx
xor ebx, dword [ebp + eax*4 - 0x18]
mov eax, esi
shr eax, 0x1f
add esi, esi
xor esi, dword [ebp + eax*4 - 0x20]
add edx, 4
dec dword [ebp - 0xc]
mov dword [ebp - 8], ecx
jne 0x3becab
mov eax, dword [ebp - 0x10]
cmp dword [ebp + 8], 0
je 0x3bedce
mov eax, dword [edx]
add ecx, eax
imul ecx, ecx, 0x6f6e65f
mov eax, edi
sub eax, ecx
xor ebx, eax
mov ecx, dword [edx + 4]
xor esi, eax
add eax, ecx
imul eax, eax, 0x6f6e65f
mov ecx, edi
sub ecx, eax
mov eax, ebx
shr eax, 0x1f
mov dword [ebp - 0xc], eax
lea eax, [ebx + ebx]
mov ebx, dword [ebp - 0xc]
xor eax, dword [ebp + ebx*4 - 0x18]
mov ebx, esi
shr ebx, 0x1f
add esi, esi
xor esi, dword [ebp + ebx*4 - 0x20]
mov ebx, dword [edx + 8]
add ebx, ecx
imul ebx, ebx, 0x6f6e65f
xor eax, ecx
xor esi, ecx
mov ecx, edi
sub ecx, ebx
mov ebx, eax
shr ebx, 0x1f
add eax, eax
xor eax, dword [ebp + ebx*4 - 0x18]
mov ebx, esi
xor eax, ecx
shr ebx, 0x1f
add esi, esi
xor esi, dword [ebp + ebx*4 - 0x20]
mov ebx, dword [edx + 0xc]
xor esi, ecx
mov dword [ebp - 8], ecx
mov ecx, dword [edx + 8]
add ebx, ecx
add ebx, dword [edx + 4]
mov ecx, dword [edx + 0xc]
add ebx, dword [edx]
add edx, 0x10
add dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
add ecx, ebx
imul ecx, ecx, 0x6f6e65f
mov ebx, edi
sub ebx, ecx
mov ecx, ebx
mov ebx, eax
add eax, eax
shr ebx, 0x1f
xor eax, dword [ebp + ebx*4 - 0x18]
xor eax, ecx
mov ebx, eax
add eax, eax
shr ebx, 0x1f
xor eax, dword [ebp + ebx*4 - 0x18]
mov ebx, eax
mov eax, esi
shr eax, 0x1f
mov dword [ebp - 0xc], eax
lea eax, [esi + esi]
mov esi, dword [ebp - 0xc]
xor eax, dword [ebp + esi*4 - 0x20]
xor eax, ecx
mov esi, eax
shr esi, 0x1f
add eax, eax
xor eax, dword [ebp + esi*4 - 0x20]
sub dword [ebp + 8], 4
mov esi, eax
jne 0x3becf1
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [eax + 8], esi
pop esi
mov dword [eax + 4], ebx
mov dword [eax + 0xc], edx
mov dword [eax], ecx
pop ebx
pop edi
leave
ret 4
Function at 0x3e2840
Capabilities:
Hash data using sha1

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x45d56c], 0
push ebx
jne 0x3e28bd
push eax
push ebx
push ecx
push edx
xor eax, eax
cpuid
xor eax, eax
xor ebx, 0x756e6547
sete al
xor ebx, ebx
xor ecx, 0x6c65746e
sete bl
and eax, ebx
xor ecx, ecx
xor edx, 0x49656e69
sete cl
and eax, ecx
mov dword [ebp - 4], eax
mov eax, 1
cpuid
xor ecx, ecx
xor edx, edx
mov ebx, 0xff0
and ebx, eax
mov dword [ebp - 8], ebx
pop edx
pop ecx
pop ebx
pop eax
cmp dword [ebp - 4], 0
mov eax, 1
je 0x3e28b1
cmp dword [ebp - 8], 0x660
jae 0x3e28b1
xor eax, eax
mov eax, dword [eax*4 + 0x4583c0]
mov dword [0x45d56c], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x40], 0x67452301
mov dword [eax + 0x44], 0xefcdab89
mov dword [eax + 0x48], 0x98badcfe
mov dword [eax + 0x4c], 0x10325476
mov dword [eax + 0x50], 0xc3d2e1f0
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x3e2ac0
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor edx, edx
xor ecx, ecx
push esi
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
push edi
mov edi, eax
mov ebx, dword [esp + 0x14]
push ebp
mov cl, byte [esi + 0x100]
mov ebp, ebx
mov dl, byte [esi + 0x101]
test ebx, ebx
je 0x3e2bfb
shr ebx, 2
and eax, 3
test ebx, ebx
je 0x3e2bd0
test eax, eax
jne 0x3e2bd0
mov eax, edi
lea edi, [edi + ebx*4]
mov dword [esp + 0x1c], edi
sub eax, 4
mov ebp, ebx
mov edi, dword [eax + 4]
inc ecx
xor eax, eax
and ecx, 0xff
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 8
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 0x10
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 0x18
lea ebx, [ebp*4]
xor edi, eax
mov eax, dword [esp + 0x1c]
sub eax, ebx
mov dword [eax], edi
dec ebp
jne 0x3e2b10
mov ebp, dword [esp + 0x18]
and ebp, 3
test ebp, ebp
je 0x3e2bfb
lea edi, [eax + 4]
inc ecx
mov ebx, 0xff
and ecx, ebx
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, ebx
xor ebx, ebx
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov bl, byte [edi]
mov al, byte [esi + eax]
xor bl, al
mov byte [edi], bl
inc edi
dec ebp
jne 0x3e2bd0
pop ebp
pop edi
lea eax, [esi + 0x100]
pop esi
mov byte [eax], cl
pop ebx
mov byte [eax + 1], dl
ret 0xc
Function at 0x402420
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 4
push eax
mov ecx, dword [ebp - 4]
call fcn.004024e0
test eax, eax
jne 0x402480
mov dword [ebp - 0xc], 0x104
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
add edx, 4
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402480
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
mov byte [eax + 4], 0
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
mov edx, dword [ebp - 4]
add edx, 0x20c
push edx
call fcn.0040ff00
add esp, 8
push 0
mov ecx, dword [ebp - 4]
call fcn.00402620
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4024a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 1
mov ecx, dword [ebp - 4]
call fcn.00402620
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
movzx ecx, word [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4024e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x42b21c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], 0
cmp dword [ebp + 8], 0
je 0x402597
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.0040ff00
add esp, 8
push str.ONFLOWTESTTEMPTEMPTEMP.html
lea edx, [ebp - 0x108]
push edx
call fcn.0040ff10
add esp, 8
push 0x42158c
lea eax, [ebp - 0x108]
push eax
call fcn.004107a4
add esp, 8
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x402588
mov ecx, dword [ebp - 0x10c]
push ecx
push 1
push 2
push 0x4215b4
call fcn.004109da
add esp, 0x10
mov edx, dword [ebp - 0x10c]
push edx
call fcn.00410321
add esp, 4
mov dword [ebp - 0x110], 1
lea eax, [ebp - 0x108]
push eax
call fcn.00410bc3
add esp, 4
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040af7c
mov esp, ebp
pop ebp
ret 4