joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10066afb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10059b77
and dword [ebp - 4], 0
cmp dword [0x101b7ef4], 0
mov ebx, eax
jne 0x10066bac
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10066c5d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10161114
push edi
call esi
test eax, eax
je 0x10066c5d
push eax
call fcn.10059b05
mov dword [esp], 0x10161104
push edi
mov dword [0x101b7ef4], eax
call esi
push eax
call fcn.10059b05
mov dword [esp], 0x101610f0
push edi
mov dword [0x101b7ef8], eax
call esi
push eax
call fcn.10059b05
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101b7efc], eax
call esi
push eax
call fcn.10059b05
pop ecx
mov dword [0x101b7f04], eax
test eax, eax
je 0x10066bac
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10059b05
pop ecx
mov dword [0x101b7f00], eax
mov eax, dword [0x101b7f00]
cmp eax, ebx
je 0x10066c04
cmp dword [0x101b7f04], ebx
je 0x10066c04
push eax
call fcn.10059b80
push dword [0x101b7f04]
mov esi, eax
call fcn.10059b80
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10066c04
test edi, edi
je 0x10066c04
call esi
test eax, eax
je 0x10066bfb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10066bfb
test byte [ebp - 0xc], 1
jne 0x10066c04
or dword [ebp + 0x10], 0x200000
jmp 0x10066c3d
mov eax, dword [0x101b7ef8]
cmp eax, ebx
je 0x10066c3d
push eax
call fcn.10059b80
pop ecx
test eax, eax
je 0x10066c3d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10066c3d
mov eax, dword [0x101b7efc]
cmp eax, ebx
je 0x10066c3d
push eax
call fcn.10059b80
pop ecx
test eax, eax
je 0x10066c3d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101b7ef4]
call fcn.10059b80
pop ecx
test eax, eax
je 0x10066c5d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10066c5f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1007bd50
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x3e0]
mov dword [esi], vtable.CxImageMNG.0
test eax, eax
je 0x1007bd90
push eax
mov byte [esi + 0x3f7], 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esi + 0x3e0]
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x3e0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x3d8]
test eax, eax
je 0x1007bda3
push eax
call fcn.10054ff5
add esp, 4
mov eax, dword [esi + 0x3dc]
test eax, eax
je 0x1007bdb6
push eax
call fcn.10054ff5
add esp, 4
cmp dword [esi + 0x3d0], 0
lea eax, [esi + 0x3d0]
je 0x1007bdce
push eax
call fcn.100f8080
add esp, 4
mov ecx, esi
mov dword [esi], vtable.CxImage.0
call fcn.1006b180
mov ecx, esi
pop esi
jmp fcn.1006b0d0
Function at 0x1007d9f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x324
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push esi
push edi
call edx
mov esi, dword [ebp + 0xc]
mov ecx, 0xc1
lea edi, [esp + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0xe], 1
lea ebx, [ebx]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 1
push 1
lea ecx, [esp + 0x17]
push ecx
mov ecx, esi
call edx
cmp eax, 1
jne 0x1007dbf4
cmp byte [esp + 0xe], 0
mov al, byte [esp + 0xf]
jne 0x1007da5d
test al, al
jne 0x1007da30
cmp al, 0x21
je 0x1007dbe7
cmp al, 0x2c
je 0x1007da7a
cmp al, 0x3b
je 0x1007dbf4
test al, al
sete byte [esp + 0xe]
jmp 0x1007da30
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 1
push 9
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x10]
push eax
mov ecx, ebx
call fcn.1006bf50
mov ecx, dword [esp + 0x12]
push ecx
mov ecx, ebx
mov word [esp + 0x14], ax
call fcn.1006bf50
mov edx, dword [esp + 0x14]
push edx
mov ecx, ebx
mov word [esp + 0x16], ax
call fcn.1006bf50
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x16]
push eax
mov ecx, ebx
call fcn.1006bf50
mov ecx, dword [ebp + 0x10]
cmp word [ecx + 6], 0
mov dx, word [esp + 0x14]
mov word [esp + 0x16], ax
jne 0x1007daee
cmp word [ecx + 8], 0
jne 0x1007daee
mov word [ecx + 6], dx
mov word [ecx + 8], ax
movzx edi, word [esp + 0x10]
movzx ecx, word [ecx + 6]
movzx edx, dx
add edx, edi
cmp edx, ecx
jg 0x1007da30
movzx ecx, word [esp + 0x12]
movzx edx, ax
add edx, ecx
mov ecx, dword [ebp + 0x10]
movzx ecx, word [ecx + 8]
cmp edx, ecx
jg 0x1007da30
mov cl, byte [esp + 0x18]
inc dword [esp + 0x1c]
test cl, cl
jns 0x1007db5a
mov edx, dword [esi]
mov edx, dword [edx + 8]
movzx ecx, cl
and ecx, 7
inc ecx
mov eax, 1
shl eax, cl
push 1
lea ecx, [esp + 0x30]
mov word [esp + 0x2e], ax
cwde
lea eax, [eax + eax*2]
push eax
push ecx
mov ecx, esi
call edx
mov cl, byte [esp + 0x18]
mov ax, word [esp + 0x16]
movzx ecx, cl
xor edx, edx
movzx eax, ax
and ecx, 0x40
mov dword [ebx + 0x3e8], ecx
mov dword [ebx + 0x3f4], eax
mov dword [esp + 0x20], edx
mov dword [ebx + 0x3fc], 0x4000
mov dword [ebx + 0x3f0], 8
mov dword [ebx + 0x3ec], edx
mov dword [ebx + 0x3f8], edx
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
push 0
push esi
mov ecx, ebx
mov edi, eax
call fcn.1007d500
cmp dword [esp + 0x20], 0
je 0x1007dbc9
push edi
push esi
mov ecx, ebx
call fcn.1007d860
jmp 0x1007da30
mov ecx, dword [ebx + 0x3fc]
sub ecx, dword [ebx + 0x400]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
inc ecx
push 1
push ecx
mov ecx, esi
call edx
jmp 0x1007da30
push esi
mov ecx, ebx
call fcn.1007ce10
jmp 0x1007da30
mov ecx, dword [esp + 0x24]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push 0
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100a9370
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x100a939f
push esi
call fcn.100a9ad0
add esp, 4
cmp byte [esi + 0x40], 0
je 0x100a9398
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x100a9419
mov eax, dword [esi + 0x1a0]
cmp byte [eax + 0x10], 0
je 0x100a9409
mov eax, dword [esi + 8]
test eax, eax
je 0x100a93c4
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x1a0]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x100a9405
cmp eax, 2
je 0x100a9409
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100a93b5
cmp eax, 3
je 0x100a93ec
cmp eax, 1
jne 0x100a93b5
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x100a93b5
mov edx, dword [esi + 0x120]
add dword [eax + 8], edx
jmp 0x100a93b5
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.100a9040
pop esi
ret
cmp eax, 0xcc
je 0x100a943b
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.100a9040
pop esi
ret

Function at 0x100b38c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x20]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1b8]
mov dword [esp + 0x18], esi
jne 0x100b38e7
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x100b38f3
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0xc], ecx
jle 0x100b39e9
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x18], edx
jmp 0x100b393c
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [edx]
cdq
idiv ebp
cmp dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
je 0x100b395d
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov edi, dword [edx + ecx*4]
dec ebp
mov ecx, ebp
xor eax, eax
xor ebx, ebx
call fcn.100b3730
mov ecx, eax
xor esi, esi
cmp esi, ecx
jle 0x100b3987
inc ebx
mov ecx, ebp
mov eax, ebx
call fcn.100b3730
mov ecx, eax
cmp esi, ecx
jg 0x100b3977
mov al, byte [esp + 0x1c]
imul bl
mov byte [esi + edi], al
inc esi
cmp esi, 0xff
jle 0x100b3973
cmp dword [esp + 0x10], 0
je 0x100b39cc
mov eax, 1
lea ecx, [edi - 1]
jmp 0x100b39b0
movzx edx, byte [edi]
mov byte [ecx], dl
movzx edx, byte [edi + 0xff]
mov byte [edi + eax + 0xff], dl
inc eax
dec ecx
cmp eax, 0xff
jle 0x100b39b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add dword [esp + 0x18], 4
inc eax
cmp eax, dword [ecx + 0x64]
mov dword [esp + 0x14], eax
jl 0x100b3930
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x100ce4e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x20
push ebp
push edi
mov edi, dword [esp + 0x2c]
xor ebp, ebp
xor eax, eax
mov dword [esp + 8], ebp
cmp ax, word [edi + 0x66b4]
jae 0x100ce706
push ebx
push esi
movzx eax, word [edi + 0x66b6]
mov dword [esp + 0x34], 0
test eax, eax
jbe 0x100ce6f0
mov esi, ebp
and esi, 7
add esi, esi
mov dword [esp + 0x1c], esi
jmp 0x100ce534
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
movzx eax, word [edi + 0x66bc]
mov ebx, dword [edi + 0x65b0]
movzx edx, word [edi + 0x66c0]
and ecx, 1
add ecx, esi
add ecx, ecx
mov esi, dword [edi + 0x66e0]
shr ebx, cl
mov dword [esp + 0x24], ecx
mov ecx, eax
shr ebp, cl
and ebx, 3
mov dword [esp + 0x2c], ebx
imul ebp, edx
mov edx, dword [esp + 0x34]
mov ecx, edx
mov dword [esp + 0x18], ecx
mov ecx, eax
mov eax, edx
shr eax, cl
add ebp, eax
lea ecx, [ebx + ebp*4]
xor eax, eax
cmp word [esi + ecx*2], ax
jne 0x100ce6d4
mov esi, dword [esp + 0x10]
lea ecx, [esi + 2]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [ecx - 4]
cmp eax, ecx
ja 0x100ce6d4
lea ecx, [edx + 2]
lea edx, [ecx - 4]
mov dword [esp + 0x20], edx
mov ebp, dword [esp + 0x20]
cmp ebp, ecx
ja 0x100ce690
mov edi, edi
movzx ecx, word [edi + 0x66b4]
cmp eax, ecx
jae 0x100ce678
movzx ecx, word [edi + 0x66b6]
cmp ebp, ecx
jae 0x100ce678
mov ecx, eax
and ecx, 7
mov edx, ebp
and edx, 1
lea esi, [edx + ecx*2]
mov edx, dword [edi + 0x65b0]
add esi, esi
mov ebx, edx
mov ecx, esi
shr ebx, cl
mov ecx, dword [esp + 0x24]
shr edx, cl
xor ebx, edx
test bl, 3
jne 0x100ce678
movzx ebx, word [edi + 0x66bc]
mov edx, dword [edi + 0x65b0]
mov ecx, esi
shr edx, cl
mov ecx, ebx
mov esi, eax
shr esi, cl
movzx ecx, word [edi + 0x66c0]
imul esi, ecx
mov ecx, ebp
mov dword [esp + 0x28], ecx
mov ecx, ebx
mov ebx, ebp
shr ebx, cl
mov ecx, dword [edi + 0x66e0]
and edx, 3
add esi, ebx
lea esi, [edx + esi*4]
cmp word [ecx + esi*2], 0
je 0x100ce678
movzx ecx, word [edi + 0x66bc]
movzx esi, word [edi + 0x66c0]
inc dword [esp + 0x14]
mov ebx, eax
shr ebx, cl
imul ebx, esi
mov esi, ebp
shr esi, cl
mov ecx, dword [edi + 0x66e0]
add ebx, esi
lea edx, [edx + ebx*4]
movzx ecx, word [ecx + edx*2]
add dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
inc ebp
add ecx, 2
cmp ebp, ecx
jbe 0x100ce5c0
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
inc eax
lea edx, [esi + 2]
cmp eax, edx
jbe 0x100ce5b2
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x100ce6d4
mov eax, dword [esp + 0x18]
movzx ecx, word [edi + 0x66bc]
xor edx, edx
div ebp
movzx edx, word [edi + 0x66c0]
shr esi, cl
imul esi, edx
mov edx, dword [esp + 0x34]
shr edx, cl
mov ecx, dword [edi + 0x66e0]
add esi, edx
lea edx, [ebx + esi*4]
mov word [ecx + edx*2], ax
mov ecx, dword [esp + 0x34]
movzx eax, word [edi + 0x66b6]
mov ebp, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x34], ecx
cmp ecx, eax
jb 0x100ce530
movzx eax, word [edi + 0x66b4]
inc ebp
mov dword [esp + 0x10], ebp
cmp ebp, eax
jb 0x100ce500
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x20
ret
Function at 0x100e0090
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [eax + 8]
push 0
push ecx
push edx
call eax
push esi
call fcn.100cd410
mov ebx, eax
add esp, 0x10
cmp ebx, 0xff
ja 0x100e01e6
test ebx, ebx
je 0x100e01ce
push ebp
push edi
lea ebx, [ebx]
push esi
dec ebx
call fcn.100cd370
push esi
movzx edi, ax
call fcn.100cd370
mov ecx, dword [esi]
mov edx, dword [esi + 4]
movzx ebp, ax
mov eax, dword [ecx + 0x18]
push edx
call eax
add esp, 0xc
mov dword [esp + 0x10], eax
cmp edi, 0x100
jne 0x100e011f
push esi
call fcn.100cd370
push esi
mov word [esi + 0x66b0], ax
call fcn.100cd370
add esp, 8
mov word [esi + 0x66b2], ax
jmp 0x100e01ad
cmp edi, 0x121
jne 0x100e015c
push esi
call fcn.100cd370
push esi
mov word [esi + 0x66b4], ax
call fcn.100cd370
mov ecx, 0x10bc
add esp, 8
mov word [esi + 0x66b6], ax
cmp ax, cx
jne 0x100e01ad
mov edx, 0x10bf
mov word [esi + 0x66b6], dx
jmp 0x100e01ad
cmp edi, 0x130
jne 0x100e017d
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [eax + 0x1c]
push ecx
call edx
add esp, 4
sar eax, 7
mov dword [esi + 0x65e4], eax
jmp 0x100e01ad
cmp edi, 0x2ff0
jne 0x100e01ad
xor edi, edi
push esi
call fcn.100cd370
movzx eax, ax
mov dword [esp + 0x1c], eax
mov ecx, edi
xor ecx, 1
fild dword [esp + 0x1c]
inc edi
add esp, 4
fstp dword [esi + ecx*4 + 0xe774]
cmp edi, 4
jb 0x100e0187
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [edx + 8]
push 0
add eax, ebp
push eax
push ecx
call edx
add esp, 0xc
test ebx, ebx
jne 0x100e00d0
pop edi
pop ebp
movzx eax, word [esi + 0x65e4]
mov cx, ax
shl word [esi + 0x66b4], cl
shr word [esi + 0x66b6], cl
pop esi
pop ebx
pop ecx
ret
Function at 0x100e0a80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x101b0cd0]
xor eax, esp
mov dword [esp + 0x28], eax
fldz
push ebx
mov ebx, dword [ebp + 8]
fst qword [esp + 0x10]
mov eax, dword [ebx]
fstp qword [esp + 0x18]
mov edx, dword [ebx + 4]
mov eax, dword [eax]
push esi
push edi
mov esi, 2
push esi
push esi
lea ecx, [esp + 0x34]
push ecx
push edx
mov dword [esp + 0x20], ebx
call eax
add esp, 0x10
sub dword [ebp + 0xc], esi
je 0x100e0b74
jmp 0x100e0ad8
mov ebx, dword [esp + 0x10]
fstp st(0)
fstp st(0)
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov eax, dword [ecx]
dec dword [ebp + 0xc]
push 1
push 2
lea edi, [esp + esi*2 + 0x34]
push edi
push edx
call eax
movzx edx, byte [edi]
movzx edi, byte [esp + esi*2 + 0x3d]
mov eax, esi
xor eax, 2
add eax, eax
movzx ecx, byte [esp + eax + 0x3c]
mov dword [esp + 0x1c], edx
shl edx, 8
or edi, edx
movzx edx, byte [esp + eax + 0x3d]
movzx eax, byte [esp + eax + 0x3d]
mov ebx, ecx
shl ebx, 8
or edx, ebx
sub edx, edi
mov dword [esp + 0x24], edx
movzx edx, byte [esp + esi*2 + 0x3d]
fild dword [esp + 0x24]
shl edx, 8
or edx, dword [esp + 0x1c]
fmul st(0), st(0)
shl eax, 8
or eax, ecx
sub eax, edx
fadd qword [esp + 0x28]
mov dword [esp + 0x1c], eax
inc esi
add esp, 0x10
fst qword [esp + 0x18]
and esi, 3
cmp dword [ebp + 0xc], 0
fild dword [esp + 0xc]
fmul st(0), st(0)
fadd qword [esp + 0x20]
fst qword [esp + 0x20]
jne 0x100e0ad0
fcompp
fnstsw ax
test ah, 0x41
mov eax, 0x4d4d
je 0x100e0b79
mov eax, 0x4949
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1005392f
mov esp, ebp
pop ebp
ret
Function at 0x1011b4b0
Capabilities:
Hash data with crc32

Disassembly:
xor ecx, ecx
lea edx, [esi + 0xa48]
mov eax, ecx
shr eax, 1
test cl, 1
je 0x1011b4c6
xor eax, 0xedb88320
test al, 1
je 0x1011b4d3
shr eax, 1
xor eax, 0xedb88320
jmp 0x1011b4d5
shr eax, 1
test al, 1
je 0x1011b4e2
shr eax, 1
xor eax, 0xedb88320
jmp 0x1011b4e4
shr eax, 1
test al, 1
je 0x1011b4f1
shr eax, 1
xor eax, 0xedb88320
jmp 0x1011b4f3
shr eax, 1
test al, 1
je 0x1011b500
shr eax, 1
xor eax, 0xedb88320
jmp 0x1011b502
shr eax, 1
test al, 1
je 0x1011b50f
shr eax, 1
xor eax, 0xedb88320
jmp 0x1011b511
shr eax, 1
test al, 1
je 0x1011b51e
shr eax, 1
xor eax, 0xedb88320
jmp 0x1011b520
shr eax, 1
test al, 1
je 0x1011b52d
shr eax, 1
xor eax, 0xedb88320
jmp 0x1011b52f
shr eax, 1
mov dword [edx], eax
inc ecx
add edx, 4
cmp ecx, 0x100
jl 0x1011b4b8
mov byte [esi + 0xe48], 1
ret

Function at 0x1011b550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, eax
cmp byte [esi + 0xe48], 0
push edi
mov edi, ecx
jne 0x1011b569
call fcn.1011b4b0
xor eax, eax
test ebx, ebx
jle 0x1011b58b
nop
movzx ecx, byte [eax + ebp]
xor ecx, edi
and ecx, 0xff
shr edi, 8
xor edi, dword [esi + ecx*4 + 0xa48]
inc eax
cmp eax, ebx
jl 0x1011b570
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x10125570
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x1012558a
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x1012558a
mov edx, dword [esp + 8]
push edx
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1012e220
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x10
push ebx
mov bl, byte [edx + 8]
cmp bl, 3
je 0x1012e3ca
mov ecx, dword [esp + 0x20]
push ebp
mov ebp, dword [edx]
push esi
xor esi, esi
push edi
mov dword [esp + 0x24], esi
test bl, 2
je 0x1012e278
movzx eax, byte [edx + 9]
movzx esi, byte [ecx]
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 1]
mov dword [esp + 0x10], edi
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 2]
sub eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov edi, 3
jmp 0x1012e28b
movzx eax, byte [ecx + 3]
movzx edi, byte [edx + 9]
sub edi, eax
mov dword [esp + 0x10], edi
mov edi, 1
test bl, 4
je 0x1012e29f
movzx ecx, byte [ecx + 4]
movzx eax, byte [edx + 9]
sub eax, ecx
mov dword [esp + edi*4 + 0x10], eax
inc edi
xor ecx, ecx
xor eax, eax
cmp edi, ecx
jle case.0x1012e2e6.3
jmp 0x1012e2b0
cmp dword [esp + eax*4 + 0x10], ecx
jg 0x1012e2bc
mov dword [esp + eax*4 + 0x10], ecx
jmp 0x1012e2c1
mov esi, 1
inc eax
cmp eax, edi
jl 0x1012e2b0
cmp si, cx
je case.0x1012e2e6.3
movzx eax, byte [edx + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x1012e2e6.3
movzx eax, byte [eax + 0x1012e3e4]
jmp dword [eax*4 + 0x1012e3d0]
mov edx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp edx, ecx
jbe case.0x1012e2e6.3
lea esp, [esp]
mov cl, byte [eax]
shr cl, 1
and cl, 0x55
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x1012e300
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edi, dword [edx + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ecx, edx
mov eax, 0xf0
sar eax, cl
mov ebx, 0xf
sar ebx, cl
and al, 0xf0
or al, bl
test edi, edi
jbe case.0x1012e2e6.3
mov edi, edi
mov bl, byte [esi]
mov cl, dl
shr bl, cl
inc esi
and bl, al
sub edi, 1
mov byte [esi - 1], bl
jne 0x1012e340
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x1012e2e6.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [esp + edx*4 + 0x10]
shr byte [esi - 1], cl
cmp ebx, ebp
jb 0x1012e366
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x1012e2e6.3
mov edi, edi
xor edx, edx
mov eax, ebx
div edi
movzx ax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc esi
inc ebx
inc esi
movzx ecx, word [esp + edx*4 + 0x10]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, ebp
jb 0x1012e390
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x1014c860
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [edi + 0x2c]
push ebp
push esi
mov ebp, dword [edi + 0x3c]
sub ebp, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea edx, [ebx + ecx - 0x106]
sub ebp, eax
cmp eax, edx
jb 0x1014c8de
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.1005a380
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x1014c8b1
sub eax, ebx
jmp 0x1014c8b3
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x1014c8a2
mov ecx, dword [edi + 0x40]
mov edx, ebx
lea ecx, [ecx + ebx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x1014c8d2
sub eax, ebx
jmp 0x1014c8d4
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x1014c8c3
add ebp, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x1014c9b2
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
mov ecx, ebp
add edx, dword [edi + 0x38]
push edx
call fcn.1014c600
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
add esp, 4
cmp edx, 3
jb 0x1014c929
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x1014c93d
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x1014c866
mov eax, dword [edi + 0x16c0]
mov ecx, dword [edi + 0x3c]
cmp eax, ecx
jae 0x1014c9b2
mov esi, dword [edi + 0x6c]
add esi, edx
cmp eax, esi
jae 0x1014c981
sub ecx, esi
mov ebx, ecx
cmp ebx, 0x102
jbe 0x1014c964
mov ebx, 0x102
mov ecx, dword [edi + 0x38]
push ebx
add ecx, esi
push 0
push ecx
call fcn.10057070
add esp, 0xc
add ebx, esi
pop esi
pop ebp
mov dword [edi + 0x16c0], ebx
pop ebx
ret
lea edx, [esi + 0x102]
cmp eax, edx
jae 0x1014c9b2
sub esi, eax
add esi, 0x102
sub ecx, eax
cmp esi, ecx
jbe 0x1014c99b
mov esi, ecx
mov ecx, dword [edi + 0x38]
push esi
add ecx, eax
push 0
push ecx
call fcn.10057070
add esp, 0xc
add dword [edi + 0x16c0], esi
pop esi
pop ebp
pop ebx
ret
Function at 0x101573b6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x101573e7
call fcn.10056467
mov dword [eax], esi
call fcn.10056454
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.1005a81c
add esp, 0x14
push 0x16
pop eax
jmp 0x1015743c
test dword [ebp + 0xc], 0xfffffff9
jne 0x101573c3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10157414
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1005647a
pop ecx
call fcn.10056454
mov eax, dword [eax]
jmp 0x1015743c
test al, 0x10
jne 0x1015743a
test al, 1
je 0x1015743a
test byte [ebp + 0xc], 2
je 0x1015743a
call fcn.10056467
mov dword [eax], 5
call fcn.10056454
mov dword [eax], 0xd
jmp 0x1015740b
xor eax, eax
pop esi
pop ebp
ret