joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402e80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push edi
push esi
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
not ebx
cmp edx, 4
jb 0x402ef2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ebx
xor bl, byte [ecx]
shr eax, 8
movzx esi, bl
xor eax, dword [esi*4 + 0x435938]
mov ebx, eax
xor al, byte [ecx + 1]
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x435938]
mov eax, ebx
xor bl, byte [ecx + 2]
shr eax, 8
movzx esi, bl
xor eax, dword [esi*4 + 0x435938]
mov ebx, eax
xor al, byte [ecx + 3]
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x435938]
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x402ea0
test edx, edx
je 0x402f07
test dl, 1
jne 0x402f0e
mov esi, edx
cmp edx, 1
jne 0x402f42
jmp 0x402fa8
mov eax, ebx
jmp 0x402fa8
mov eax, ebx
shr eax, 8
movzx esi, byte [ecx]
mov edi, ebx
and edi, esi
add edi, edi
sub esi, edi
add esi, ebx
mov edi, esi
xor edi, 0x3fffff00
or esi, 0xff
and esi, edi
xor eax, dword [esi*4 + 0x435938]
inc ecx
lea esi, [edx - 1]
mov ebx, eax
cmp edx, 1
je 0x402fa8
xor edx, edx
mov eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [ecx + edx]
mov ebx, eax
and ebx, edi
add ebx, ebx
sub edi, ebx
add edi, eax
shr eax, 8
mov ebx, edi
xor ebx, 0x3fffff00
or edi, 0xff
and edi, ebx
xor eax, dword [edi*4 + 0x435938]
movzx edi, byte [ecx + edx + 1]
mov ebx, eax
and ebx, edi
add ebx, ebx
sub edi, ebx
add edi, eax
shr eax, 8
mov ebx, edi
xor ebx, 0x3fffff00
or edi, 0xff
and edi, ebx
xor eax, dword [edi*4 + 0x435938]
add edx, 2
cmp esi, edx
jne 0x402f50
not eax
pop esi
pop edi
pop ebx
ret
Function at 0x408bd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
call fcn.00408ce0
push eax
mov edi, esp
jmp 0x408bdf
call fcn.00408ce0
sub esp, 0x100
mov esi, esp
call fcn.00430880
jmp 0x408bf3
test al, 1
jne 0x408bf9
jmp 0x408c75
call fcn.0042c060
test al, 1
jne 0x408c04
jmp 0x408c6c
jmp 0x408c06
sub esp, 4
mov dword [esp], 0xfffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [edi], eax
jmp 0x408c1a
jmp 0x408c1c
jmp 0x408c1e
xor eax, eax
sub esp, 0xc
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x100
call fcn.004086a0
add esp, 0xc
lea eax, str.eleet_or_leetspeak__is_a_system_of_modified_spellings_used_primarily_on_the_internet._it_often_uses_character_replacements_in_ways_that_play_on_the_similarity_of_their_glyphs_via_reflection_or_other_resemblance
sub esp, 8
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00408c90
add esp, 8
call fcn.0040a0b0
test al, 1
jne 0x408c61
jmp 0x408c68
call fcn.004109b0
jmp 0x408c68
jmp 0x408c6a
jmp 0x408c6c
call fcn.00432440
jmp 0x408c73
jmp 0x408c75
xor eax, eax
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x408d40
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 0x408e66
lea eax, [edi + 2]
xor ebx, ebx
jmp 0x408d7d
add ebx, esi
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x408da1
movzx ebp, cx
xor ecx, ecx
cmp ebp, 0x800
setb dl
mov esi, 1
cmp ebp, 0x80
jb 0x408d70
mov cl, dl
xor ecx, 3
mov esi, ecx
jmp 0x408d70
lea esi, [ebx + 1]
push esi
call fcn.0042f7d0
add esp, 4
mov ebp, eax
test ebx, ebx
jle 0x408e74
add ebx, ebp
add esi, ebp
mov eax, ebp
mov dword [esp + 8], esi
jmp 0x408de8
mov byte [eax], dl
mov esi, 1
add edi, 2
add eax, esi
cmp eax, ebx
mov esi, dword [esp + 8]
jae 0x408e76
movzx edx, word [edi]
test dx, dx
je 0x408e76
cmp dx, 0x7f
jbe 0x408dd0
mov ecx, eax
not ecx
add ecx, esi
movzx esi, dx
mov dword [esp + 4], esi
cmp esi, 0x7ff
ja 0x408e30
cmp ecx, 2
jb 0x408e30
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 0x408dd7
xor esi, esi
cmp ecx, 3
jb 0x408dd7
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 0x408dd7
push 1
call fcn.0042f7d0
add esp, 4
mov ebp, eax
jmp 0x408e76
mov eax, ebp
mov edi, dword [esp + 0x228]
mov edx, dword [esp + 0x224]
mov byte [eax], 0
xor ecx, ecx
jmp 0x408e97
mov bl, 0x2f
mov byte [esp + ecx + 0xc], bl
inc ecx
movzx ebx, byte [ebp + ecx]
cmp ebx, 0x5c
je 0x408e90
test ebx, ebx
jne 0x408e92
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.00405270
add esp, 0x28
test eax, eax
setne al
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x409e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov edi, dword [esp + 0x40]
mov esi, 0xffffffff
cmp byte [edi + esi + 1], 0
lea esi, [esi + 1]
jne 0x409e90
mov eax, esi
and eax, 0xfffffffc
mov dword [esp], esi
mov ecx, dword [esp]
and ecx, 3
mov edx, dword [esp]
or edx, 3
imul edx, ecx
xor ecx, 3
imul ecx, eax
add edx, ecx
mov ecx, dword [esp]
shr edx, 2
movzx eax, byte [edi + ecx - 1]
cmp eax, 0x3d
je 0x409ece
cmp eax, 0x2e
jne 0x409ecf
dec edx
movzx eax, byte [edi + ecx - 2]
cmp eax, 0x3d
je 0x409ede
cmp eax, 0x2e
jne 0x409edf
dec edx
mov dword [esp + 8], edx
mov edx, 0
test ecx, ecx
je 0x409fd7
xor esi, esi
mov ebp, 2
jmp 0x409f12
lea eax, [ebp + 4]
add ebp, 2
mov esi, edx
cmp ebp, ecx
mov ebp, eax
jae 0x409fd7
mov edi, dword [esp + 0x40]
movzx eax, byte [edi + ebp - 2]
push eax
call fcn.004106d0
add esp, 4
mov ebx, eax
movzx eax, byte [edi + ebp - 1]
push eax
call fcn.004106d0
add esp, 4
mov bh, al
shl bl, 2
shr al, 4
and al, 3
or al, bl
lea edx, [esi + 1]
mov ecx, dword [esp + 0x44]
mov byte [ecx + esi], al
mov ecx, dword [esp]
cmp ebp, ecx
jae 0x409f00
mov eax, dword [esp + 0x40]
movzx eax, byte [eax + ebp]
push eax
mov dword [esp + 8], edx
call fcn.004106d0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
add esp, 4
cmp al, 0x40
je 0x409f00
mov bl, al
shl bh, 4
shr al, 2
and al, 0xf
or al, bh
lea edx, [esi + 2]
mov ecx, dword [esp + 0x44]
mov byte [ecx + esi + 1], al
mov ecx, dword [esp]
lea eax, [ebp + 1]
cmp eax, ecx
jae 0x409f00
mov eax, dword [esp + 0x40]
movzx eax, byte [eax + ebp + 1]
push eax
mov dword [esp + 8], edx
call fcn.004106d0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
add esp, 4
cmp al, 0x40
je 0x409f00
shl bl, 6
add al, bl
mov ecx, dword [esp + 0x44]
mov byte [ecx + esi + 2], al
mov ecx, dword [esp]
add esi, 3
mov edx, esi
jmp 0x409f00
mov ebx, dword [esp + 8]
cmp edx, ebx
mov eax, 0
jne 0x40a055
lea edi, [esp + 0xc]
mov esi, dword [esp + 0x44]
mov eax, esi
mov ecx, 8
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, ebx
add eax, 0xffffffe0
je 0x40a051
xor edi, edi
cmp ebx, 0x21
je 0x40a03b
mov ecx, eax
and ecx, 0xfffffffe
xor edi, edi
nop
nop
nop
nop
mov edx, edi
and edx, 0x1e
movzx edx, byte [esp + edx + 0xc]
xor dl, byte [esi + edi + 0x20]
mov byte [esi + edi], dl
lea edx, [edi + 1]
and edx, 0x1f
movzx edx, byte [esp + edx + 0xc]
xor dl, byte [esi + edi + 0x21]
mov byte [esi + edi + 1], dl
add edi, 2
cmp ecx, edi
jne 0x40a010
test bl, 1
je 0x40a051
mov ecx, edi
and ecx, 0x1f
movzx ecx, byte [esp + ecx + 0xc]
xor cl, byte [esi + edi + 0x20]
mov byte [esi + edi], cl
mov byte [esi + eax], 0
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x415aa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov edi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebp + edi + 2], 0
lea edi, [edi + 2]
jne 0x415ac0
mov esi, dword [eax + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x415ae0
sar edi, 1
sar eax, 1
lea ecx, [edi + eax]
add ecx, 2
test ecx, ecx
jns 0x415b00
mov eax, 0xffffffff
jmp 0x415b07
add eax, edi
add eax, eax
add eax, 4
push eax
call fcn.0042f7d0
add esp, 4
movzx ecx, word [esi]
mov ebx, eax
test cx, cx
je 0x415b31
add esi, 2
mov ebx, eax
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x415b20
mov word [ebx], 0x5c
add ebx, 2
movzx ecx, word [ebp]
test cx, cx
je 0x415b61
lea edx, [ebp + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x415b50
mov word [ebx], 0
mov ecx, esp
push 0x20
push 1
push 3
push 0x120089
push ecx
mov dword [esp + 0x38], eax
push eax
call fcn.00433940
add esp, 0x18
not eax
shr eax, 0x1f
mov eax, dword [eax*4 + 0x43a308]
mov ecx, 0x39f4971d
xor ecx, dword [0x43a310]
add eax, ecx
inc eax
jmp eax
Function at 0x41c7e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov dword [esp + 0x10], 0xb34bb56d
mov dword [esp + 0x14], 0xaf20b122
mov dword [esp + 0x18], 0xab33ad52
mov dword [esp + 0x1c], 0xa737a926
mov dword [esp + 0x20], 0xa340a57d
mov dword [esp + 0x24], 0x5f38a14e
mov dword [esp + 0x28], 0x5bce5dd5
mov dword [esp + 0x2c], 0x57c359c6
mov dword [esp + 0x30], 0x53ca55d8
mov dword [esp + 0x34], 0x4fde51c5
mov dword [esp + 0x38], 0x4ba84dd2
mov dword [esp + 0x3c], 0x47c649ba
mov dword [esp + 0x40], 0x43de45d7
mov dword [esp + 0x44], 0x7fd441d5
mov dword [esp + 0x48], 0x7bf17de5
mov word [esp + 0x4c], 0x797a
mov dword [esp + 0x4e], 0
mov byte [esp + 0x52], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x6c]
cmp eax, 0x42
ja 0x41c8cd
nop
nop
nop
nop
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x6c]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0xa86b5be9
mov edx, eax
xor edx, ecx
mov esi, eax
and esi, ecx
or eax, ecx
xor eax, edx
lea ecx, [edx + esi*2]
add eax, esi
sub ecx, eax
add cl, 0xa1
mov eax, dword [esp + 0x6c]
mov byte [esp + eax + 0x10], cl
inc dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
cmp eax, 0x43
jb 0x41c890
movzx ecx, word [esp + 0x10]
lea esi, [esp + 0x6c]
mov eax, esi
test cx, cx
je 0x41c901
lea eax, [esp + 0x6c]
lea edx, [esp + 0x12]
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 0x41c8f0
mov word [eax], 0
lea ebx, [esp + 0xc]
push ebx
push 0
push 0
push 0x1e
push esi
push 0
call dword [0x441090]
mov edi, dword [esp + 0xc]
test edi, edi
jns 0x41c929
mov eax, 0xffffffff
jmp 0x41c92c
lea eax, [edi + edi]
push eax
call fcn.0042f7d0
add esp, 4
push ebx
push edi
mov edi, eax
push eax
push 0x1e
push esi
push 0
call dword [0x441090]
mov dword [esp + 0x10], 0xb32ab104
mov dword [esp + 0x14], 0xb728b521
mov dword [esp + 0x18], 0xab0fa90c
mov dword [esp + 0x1c], 0xaf0cad3e
mov dword [esp + 0x20], 0xa330a139
mov dword [esp + 0x24], 0xa7a6a500
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov word [esp + 0x3c], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x2d
ja 0x41c9f8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov eax, dword [esp + 8]
movzx edx, byte [esp + eax + 0x10]
lea eax, [ecx + edx]
add eax, 0xb7e7fbc8
add ecx, 0xb7e7fbc8
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 0x88
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x2e
jb 0x41c9c0
lea eax, [esp + 0x10]
push eax
push edi
push dword [ebp + 8]
call fcn.00418d80
add esp, 0xc
mov ebx, eax
jmp dword [0x43baa4]
Function at 0x41fa90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov esi, esp
push eax
mov dword [esi + 4], esp
push eax
mov ecx, esp
push eax
mov edx, esp
sub esp, 0x200
mov edi, esp
mov dword [esi + 0x8c], edi
push eax
mov dword [esi + 0x9c], esp
push eax
mov dword [esi + 0x98], esp
push eax
mov dword [esi + 0x2c], esp
push eax
mov dword [esi + 0x94], esp
sub esp, 0x20
mov ebx, esp
and ebx, 0xfffffff0
mov esp, ebx
push eax
sub esp, 0x1c
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0xb8], eax
mov esp, eax
mov dword [esi + 0x30], edi
push eax
sub esp, 0x1c
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x90], eax
mov esp, eax
mov dword [esi + 0xbc], ebx
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], ecx
push eax
sub esp, 0x2c
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0xb4], eax
mov esp, eax
mov dword [esi + 0xac], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0x40], 0xbb2cb923
mov dword [esi + 0x44], 0xbf1fbd1d
mov dword [esi + 0x48], 0xa34ea111
mov dword [esi + 0x4c], 0xa73ca505
mov dword [esi + 0x50], 0xaba8a901
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov word [esi + 0x64], 0
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0x10]
cmp eax, 0x25
ja 0x41fbe5
nop
nop
nop
nop
nop
nop
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x10]
movzx edx, byte [esi + ecx + 0x40]
lea edi, [eax + 0x52d417c7]
lea ecx, [eax + edx]
add ecx, 0x52d417c7
and edi, edx
add eax, 0xc7
and eax, edx
add eax, edi
mov edx, eax
xor edx, ecx
not eax
and eax, ecx
add eax, eax
sub eax, edx
add al, 0x8f
mov ecx, dword [esi + 0x10]
mov byte [esi + ecx + 0x40], al
inc dword [esi + 0x10]
mov eax, dword [esi + 0x10]
cmp eax, 0x26
jb 0x41fba0
lea edi, [esi + 0x40]
lea ecx, [esi + 0xa0]
push edi
call fcn.0042f890
shr eax, 0x1f
mov eax, dword [eax*4 + 0x43c480]
mov ecx, 0xb936d9c
xor ecx, dword [0x43c488]
add eax, ecx
inc eax
xor ebx, ebx
jmp eax
Function at 0x42d860
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 ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], 0xc3d2e1f0
mov dword [esp + 0xc], 0x10325476
mov dword [esp + 8], 0x98badcfe
mov dword [esp + 4], 0xefcdab89
mov dword [esp], 0x67452301
cmp ebx, 0x40
jb 0x42d91d
mov edi, ebx
shr edi, 6
xor ebx, ebx
nop
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 0x42d8c0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 4]
push eax
call fcn.0042e050
add esp, 8
inc ebx
lea eax, [esi + ebp]
cmp ebx, edi
jne 0x42d8b0
add ebp, esi
mov eax, ebp
mov ebx, 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, ebx
not ecx
or ecx, 0x3f
lea edx, [ebx + ecx]
inc edx
je 0x42da16
xor edi, edi
add ecx, ebx
je 0x42d9fe
mov dword [esp + 0x14], edx
and edx, 0xfffffffe
mov dword [esp + 0x18], edx
xor edx, edx
xor edi, edi
nop
movzx esi, byte [eax + edi]
mov ecx, edx
and cl, 0x10
shl esi, cl
mov ebp, edi
and ebp, 0xfffffffc
xor esi, dword [esp + ebp + 0x1c]
mov dword [esp + ebp + 0x1c], esi
movzx ebx, byte [eax + edi + 1]
or cl, 8
shl ebx, cl
xor ebx, esi
mov dword [esp + ebp + 0x1c], ebx
add edi, 2
add edx, 0x10
cmp dword [esp + 0x18], edi
jne 0x42d9c0
add eax, edi
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x14]
test dl, 1
je 0x42da16
movzx eax, byte [eax]
lea ecx, [edi*8]
shl eax, cl
and edi, 0xfffffffc
xor dword [esp + edi + 0x1c], eax
mov eax, ebx
xor eax, 0x1c
mov ecx, ebx
or ecx, 3
and ecx, eax
shl ecx, 3
or cl, 7
mov eax, 1
shl eax, cl
mov esi, dword [esp + 0x78]
mov ecx, ebx
and ecx, 0x3c
xor dword [esp + ecx + 0x1c], eax
cmp edx, 0x37
jbe 0x42da5a
lea edi, [esp + 0x1c]
mov eax, esp
push edi
push eax
call fcn.0042e050
add esp, 8
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
lea eax, [ebx*8]
mov dword [esp + 0x54], eax
shr ebx, 0x1d
mov dword [esp + 0x58], ebx
lea eax, [esp + 0x1c]
mov ecx, esp
push eax
push ecx
call fcn.0042e050
add esp, 8
mov eax, dword [esp]
mov dword [esi], eax
mov eax, dword [esp + 4]
mov dword [esi + 4], eax
mov eax, dword [esp + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x10], eax
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x433940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x5c]
mov edi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebp + edi + 2], 0
lea edi, [edi + 2]
jne 0x433960
cmp edi, 0xfffffff5
jge 0x433977
mov eax, 0xffffffff
jmp 0x43397a
lea eax, [edi + 0xa]
push eax
call fcn.0042f7d0
add esp, 4
mov esi, eax
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
add eax, 8
movzx ecx, word [ebp]
test cx, cx
je 0x4339c2
add ebp, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebp]
add ebp, 2
test cx, cx
jne 0x4339b0
mov word [eax], 0
and edi, 0xfffffffe
lea eax, [edi + 8]
mov word [esp + 0x18], ax
add edi, 0xa
mov word [esp + 0x1a], di
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], 0x18
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0x40
lea eax, [esp + 0x18]
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov ecx, dword [0x4412a4]
mov edi, 0xffffffff
test ecx, ecx
je 0x433b04
mov eax, dword [0x4412a8]
add eax, 8
nop
nop
nop
nop
nop
nop
nop
cmp dword [eax - 8], 0xb1cf12ba
je 0x433a44
add eax, 0xc
dec ecx
jne 0x433a30
jmp 0x433b04
mov byte [esp + 0x14], 0
mov dword [esp + 0x10], 0x900000c2
mov dword [esp + 0xc], 0xd2ff0000
mov dword [esp + 8], 0xba00
mov dword [esp + 4], 0xb8
mov eax, dword [eax]
mov dword [esp + 5], eax
mov eax, dword [0x4412ac]
mov dword [esp + 0xa], eax
mov word [esp + 0x11], 0x2c
mov dword [esp], 0
mov dword [esp + 0x24], 0x10
lea eax, [esp + 0x24]
mov ebp, esp
push 0x40
push 0x3000
push eax
push 0
push ebp
push 0xffffffffffffffff
call dword [0x4412b0]
mov edi, dword [esp]
lea eax, [esp + 4]
mov ecx, 4
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea ecx, [esp + 0x40]
lea eax, [esp + 0x28]
push 0
push 0
push ebx
push dword [esp + 0x78]
push dword [esp + 0x78]
push 0x80
push 0
push ecx
push eax
push dword [esp + 0x88]
push dword [esp + 0x88]
call dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x20], 0
lea eax, [esp + 0x20]
push 0x8000
push eax
push ebp
push 0xffffffffffffffff
call dword [0x4412b4]
push esi
call fcn.004085a0
add esp, 4
mov eax, edi
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401000
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
xor edx, edx
push edi
xor eax, eax
test dl, 1
je 0x401010
mov eax, 0x80
mov ecx, edx
shr ecx, 1
test cl, 1
je 0x40101c
or eax, 0x40
shr ecx, 1
test cl, 1
je 0x401026
or eax, 0x20
shr ecx, 1
test cl, 1
je 0x401030
or eax, 0x10
shr ecx, 1
test cl, 1
je 0x40103a
or eax, 8
shr ecx, 1
test cl, 1
je 0x401044
or eax, 4
shr ecx, 1
test cl, 1
je 0x40104e
or eax, 2
test cl, 2
je 0x401056
or eax, 1
shl eax, 0x18
mov ecx, eax
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
xor edi, edi
mov dword [esi + edx*4], ecx
mov eax, ecx
lea ecx, [edi + 0x1f]
jmp 0x401110
test al, 1
je 0x40111d
mov ebx, 1
shl ebx, cl
or edi, ebx
dec ecx
shr eax, 1
cmp ecx, 0xffffffff
jg 0x401110
mov dword [esi + edx*4], edi
inc edx
cmp edx, 0xff
jle 0x401004
pop edi
pop ebx
ret

Function at 0x401140
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4121b8
push eax
lea ecx, [ebp - 4]
push ecx
mov dword [esi], 0xffffffff
mov dword [ebp - 4], 0
call fcn.00402161
add esp, 0xc
test eax, eax
je 0x401171
xor al, al
mov esp, ebp
pop ebp
ret 4
push edi
push 0x400
call fcn.004021a8
mov edi, eax
add esp, 4
mov dword [ebp - 8], edi
test edi, edi
jne 0x40119d
mov edx, dword [ebp - 4]
push edx
call fcn.004022a9
add esp, 4
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
push eax
push 0x400
push 1
push edi
call fcn.00402567
add esp, 0x10
test eax, eax
je 0x4011fa
push ebx
mov ecx, eax
mov edx, edi
test eax, eax
je 0x4011e1
mov edi, edi
mov eax, dword [esi]
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
mov ebx, dword [ebp + 8]
shr eax, 8
xor eax, dword [ebx + edi*4]
inc edx
dec ecx
mov dword [esi], eax
jne 0x4011c0
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push ecx
push 0x400
push 1
push edi
call fcn.00402567
add esp, 0x10
test eax, eax
jne 0x4011b6
pop ebx
push edi
call fcn.00402584
mov edx, dword [ebp - 4]
push edx
call fcn.004022a9
mov eax, dword [esi]
not eax
add esp, 8
mov dword [esi], eax
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x401740
Capabilities:
Get disk information
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x414054]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push 0x104
lea eax, [ebp - 0x213]
push ebx
push eax
mov byte [ebp - 0x214], bl
call fcn.00404b00
push 0x104
lea ecx, [ebp - 0x10b]
push ebx
push ecx
mov byte [ebp - 0x10c], bl
call fcn.00404b00
add esp, 0x18
push 0x105
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0x105
lea eax, [ebp - 0x214]
push eax
push 0x412214
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x220], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x4017fd
mov eax, dword [ebp - 0x218]
cmp eax, 0x90b63f
je 0x4017fd
cmp eax, 0xe83798ef
je 0x4017fd
push 0x3b9ac9ff
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00402096
mov esp, ebp
pop ebp
ret