joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10070345
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
lea ecx, [ebp - 0x14]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push esi
mov eax, dword [esi]
call dword [eax]
test eax, eax
js 0x10070426
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], esi
call fcn.10042bdb
push dword [ebp - 0xc]
lea eax, [ebp - 0x20]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
jne 0x100703a6
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push esi
call dword [eax + 4]
jmp 0x10070415
push dword [ebp - 8]
lea eax, [ebp - 0x20]
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
call ebx
mov dword [edi + 4], eax
test eax, eax
je 0x10070405
push dword [ebp - 4]
lea eax, [ebp - 0x20]
push 0
push 0
push eax
call ebx
mov dword [edi + 8], eax
test eax, eax
je 0x10070405
push dword [ebp - 0x14]
xor ebx, ebx
lea eax, [ebp - 0x20]
push dword [ebp - 0x10]
push ebx
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [edi + 0xc], eax
test eax, eax
je 0x10070405
push dword [ebp - 0x10]
push ebx
push ebx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi + 0x10], eax
test eax, eax
jne 0x10070422
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push esi
call dword [eax + 4]
push edi
call fcn.100705ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xe0ff0000
jmp 0x10070424
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x10074691
Capabilities:
Encode data using xor

Disassembly:
push 0x3c
mov eax, 0x101a7de1
call fcn.1017516e
mov esi, ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov dword [esi], method.std::_Facet_base.virtual_4
xor ebx, ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x14]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x40]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], 0x10208a34
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
mov dword [edi], ebx
call fcn.10021176
test eax, eax
js 0x10074839
test byte [0x102a8c70], 1
je 0x10074839
push 0x79
pop eax
mov word [ebp - 0x3c], ax
mov ecx, ebx
push 0x77
pop eax
mov word [ebp - 0x3a], ax
push 0x69
pop eax
mov word [ebp - 0x38], ax
push 0x76
pop eax
mov word [ebp - 0x36], ax
push 0x37
pop eax
mov word [ebp - 0x34], ax
push 0x36
pop eax
mov word [ebp - 0x32], ax
push 0x32
pop eax
mov word [ebp - 0x30], ax
push 0x68
pop eax
mov word [ebp - 0x2e], ax
push 0x70
pop eax
mov word [ebp - 0x2c], ax
mov word [ebp - 0x2a], ax
xor eax, eax
mov word [ebp - 0x28], ax
mov ax, word [ebp - 0x3c]
mov ax, word [ebp + ecx*2 - 0x3c]
movzx eax, ax
add eax, 0xfffffffc
mov word [ebp + ecx*2 - 0x3c], ax
inc ecx
cmp ecx, 0xa
jb 0x10074742
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
push edx
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x10074839
mov dword [ebp - 0x24], 0x72
mov edx, ebx
mov eax, dword [ebp - 0x24]
xor eax, 0x47
mov byte [ebp - 0x20], al
mov eax, dword [ebp - 0x24]
inc al
xor eax, 0x65
mov byte [ebp - 0x1f], al
mov eax, dword [ebp - 0x24]
add al, 2
xor eax, 0x74
mov byte [ebp - 0x1e], al
mov eax, dword [ebp - 0x24]
add al, 3
xor eax, 0x43
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x24]
add al, 4
xor eax, 0x6c
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x24]
add al, 5
xor eax, 0x61
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0x24]
add al, 6
xor eax, 0x73
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 0x24]
add al, 7
xor eax, 0x73
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x24]
add al, 8
xor eax, 0x4e
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x24]
add al, 9
xor eax, 0x61
mov byte [ebp - 0x17], al
mov eax, dword [ebp - 0x24]
add al, 0xa
xor eax, 0x6d
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 0x24]
add al, 0xb
xor eax, 0x65
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 0x24]
add al, 0xc
mov byte [ebp - 0x13], bl
xor eax, 0x57
mov byte [ebp - 0x14], al
mov al, byte [ebp - 0x20]
mov al, byte [ebp + edx - 0x20]
mov ecx, dword [ebp - 0x24]
add cl, dl
movsx eax, al
xor ecx, eax
mov byte [ebp + edx - 0x20], cl
inc edx
cmp edx, 0xd
jb 0x1007480d
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x44]
mov byte [ebp - 0x13], bl
mov edx, dword [ecx]
push edi
push ecx
call dword [edx + 0x1c]
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.10175118
ret 0xc
Function at 0x10079cd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x1026e004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x20c]
xor ecx, ecx
mov ebx, 0x104
push ecx
push eax
push ebx
push ecx
push esi
push ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
je 0x10079d0b
cmp eax, ebx
jb 0x10079d1f
push bind
push esi
push ecx
mov edx, ebx
lea ecx, [ebp - 0x20c]
call fcn.10007c2b
xor esi, esi
lea eax, [ebp - 0x414]
push esi
push eax
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x10079d3f
cmp eax, ebx
jb 0x10079d59
push bind
lea eax, [ebp - 0x20c]
mov edx, ebx
push eax
push ecx
lea ecx, [ebp - 0x414]
call fcn.10007c2b
xorps xmm0, xmm0
mov dword [ebp - 0x43c], esi
movlpd qword [ebp - 0x434], xmm0
movlpd qword [ebp - 0x428], xmm0
movlpd qword [ebp - 0x420], xmm0
mov dword [ebp - 0x454], 0x3c
mov dword [ebp - 0x450], 0x441
mov dword [ebp - 0x44c], esi
mov dword [ebp - 0x448], 0x10208be4
cmp dword [ebp + 0xc], esi
je 0x10079dcd
lea edx, [ebp - 0x418]
or ecx, 0xffffffff
call fcn.10079c36
test eax, eax
js 0x10079dcd
cmp dword [ebp - 0x418], esi
mov eax, str.runas
cmove eax, dword [ebp - 0x448]
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x440], edi
mov dword [ebp - 0x444], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x454]
push eax
mov dword [ebp - 0x42c], str.exefile
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
and eax, dword [ebp - 0x41c]
pop esi
pop ebx
call fcn.100e04a9
leave
ret

Function at 0x10079f39
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dl, byte [esi + ebx + 4]
mov eax, dword [esi]
add al, bl
movsx ecx, dl
xor eax, ecx
mov byte [esi + ebx + 4], al
inc ebx
cmp ebx, 0x18
jb 0x10079f40
pop edi
mov byte [esi + 0x1c], 0
lea eax, [esi + 4]
pop esi
pop ebx
ret

Function at 0x10079f87
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov edx, ecx
push esi
push edi
xor esi, esi
lea edi, [edx + 4]
mov ax, word [edi]
mov ecx, dword [edx]
add ecx, esi
movzx eax, ax
xor ecx, eax
inc esi
mov word [edi], cx
lea edi, [edi + 2]
cmp esi, 0xb
jb 0x10079f91
pop edi
xor eax, eax
pop esi
mov word [edx + 0x1a], ax
lea eax, [edx + 4]
pop ebx
ret

Function at 0x10079fcd
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push 0xc
pop ebx
lea edi, [esi + 4]
mov ax, word [edi]
movzx ecx, word [esi]
movzx edx, ax
xor edx, ecx
mov word [edi], dx
lea edi, [edi + 2]
sub ebx, 1
jne 0x10079fd8
xor eax, eax
mov word [esi + 0x1c], ax
lea eax, [esi + 4]
pop edi
pop esi
pop ebx
ret

Function at 0x1007a029
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x10
pop ebx
lea eax, [edi + 4]
mov dl, byte [eax]
movsx esi, byte [edi]
movsx ecx, dl
xor ecx, esi
mov byte [eax], cl
inc eax
sub ebx, 1
jne 0x1007a034
mov byte [edi + 0x14], bl
lea eax, [edi + 4]
pop edi
pop esi
pop ebx
ret
Function at 0x1007a050
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dl, byte [esi + ebx + 4]
mov eax, dword [esi]
add al, bl
movsx ecx, dl
xor eax, ecx
mov byte [esi + ebx + 4], al
inc ebx
cmp ebx, 0x14
jb 0x1007a057
pop edi
mov byte [esi + 0x18], 0
lea eax, [esi + 4]
pop esi
pop ebx
ret

Function at 0x1007a079
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x21
pop ebx
lea eax, [edi + 4]
mov dl, byte [eax]
movsx esi, byte [edi]
movsx ecx, dl
xor ecx, esi
mov byte [eax], cl
inc eax
sub ebx, 1
jne 0x1007a084
mov byte [edi + 0x25], bl
lea eax, [edi + 4]
pop edi
pop esi
pop ebx
ret

Function at 0x1007a0b7
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x15
pop ebx
lea eax, [edi + 4]
mov dl, byte [eax]
movsx esi, byte [edi]
movsx ecx, dl
xor ecx, esi
mov byte [eax], cl
inc eax
sub ebx, 1
jne 0x1007a0c2
mov byte [edi + 0x19], bl
lea eax, [edi + 4]
pop edi
pop esi
pop ebx
ret

Function at 0x1007a0de
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dl, byte [esi + ebx + 4]
mov eax, dword [esi]
add al, bl
movsx ecx, dl
xor eax, ecx
mov byte [esi + ebx + 4], al
inc ebx
cmp ebx, 0x1b
jb 0x1007a0e5
pop edi
mov byte [esi + 0x1f], 0
lea eax, [esi + 4]
pop esi
pop ebx
ret

Function at 0x1007a107
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dl, byte [esi + ebx + 4]
mov eax, dword [esi]
add al, bl
movsx ecx, dl
xor eax, ecx
mov byte [esi + ebx + 4], al
inc ebx
cmp ebx, 0x20
jb 0x1007a10e
pop edi
mov byte [esi + 0x24], 0
lea eax, [esi + 4]
pop esi
pop ebx
ret

Function at 0x1007a130
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x1c
pop ebx
lea eax, [edi + 4]
mov dl, byte [eax]
movsx esi, byte [edi]
movsx ecx, dl
xor ecx, esi
mov byte [eax], cl
inc eax
sub ebx, 1
jne 0x1007a13b
mov byte [edi + 0x20], bl
lea eax, [edi + 4]
pop edi
pop esi
pop ebx
ret

Function at 0x1007a16e
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dl, byte [esi + ebx + 4]
mov eax, dword [esi]
add al, bl
movsx ecx, dl
xor eax, ecx
mov byte [esi + ebx + 4], al
inc ebx
cmp ebx, 0x10
jb 0x1007a175
pop edi
mov byte [esi + 0x14], 0
lea eax, [esi + 4]
pop esi
pop ebx
ret

Function at 0x1007a1c5
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x1a
pop ebx
lea eax, [edi + 4]
mov dl, byte [eax]
movsx esi, byte [edi]
movsx ecx, dl
xor ecx, esi
mov byte [eax], cl
inc eax
sub ebx, 1
jne 0x1007a1d0
mov byte [edi + 0x1e], bl
lea eax, [edi + 4]
pop edi
pop esi
pop ebx
ret

Function at 0x1007a1ec
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dl, byte [esi + ebx + 4]
mov eax, dword [esi]
add al, bl
movsx ecx, dl
xor eax, ecx
mov byte [esi + ebx + 4], al
inc ebx
cmp ebx, 0x12
jb 0x1007a1f3
pop edi
mov byte [esi + 0x16], 0
lea eax, [esi + 4]
pop esi
pop ebx
ret
Function at 0x1007a215
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x13
pop ebx
lea eax, [edi + 4]
mov dl, byte [eax]
movsx esi, byte [edi]
movsx ecx, dl
xor ecx, esi
mov byte [eax], cl
inc eax
sub ebx, 1
jne 0x1007a220
mov byte [edi + 0x17], bl
lea eax, [edi + 4]
pop edi
pop esi
pop ebx
ret

Function at 0x1007a26a
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push 0xb
pop ebx
lea edi, [esi + 4]
mov ax, word [edi]
movzx ecx, word [esi]
movzx edx, ax
xor edx, ecx
mov word [edi], dx
lea edi, [edi + 2]
sub ebx, 1
jne 0x1007a275
xor eax, eax
mov word [esi + 0x1a], ax
lea eax, [esi + 4]
pop edi
pop esi
pop ebx
ret

Function at 0x1007a2af
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0xf
pop ebx
lea eax, [edi + 4]
mov dl, byte [eax]
movsx esi, byte [edi]
movsx ecx, dl
xor ecx, esi
mov byte [eax], cl
inc eax
sub ebx, 1
jne 0x1007a2ba
mov byte [edi + 0x13], bl
lea eax, [edi + 4]
pop edi
pop esi
pop ebx
ret

Function at 0x1007a2ed
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dl, byte [esi + ebx + 4]
mov eax, dword [esi]
add al, bl
movsx ecx, dl
xor eax, ecx
mov byte [esi + ebx + 4], al
inc ebx
cmp ebx, 0x15
jb 0x1007a2f4
pop edi
mov byte [esi + 0x19], 0
lea eax, [esi + 4]
pop esi
pop ebx
ret

Function at 0x1007a316
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dl, byte [esi + ebx + 4]
mov eax, dword [esi]
add al, bl
movsx ecx, dl
xor eax, ecx
mov byte [esi + ebx + 4], al
inc ebx
cmp ebx, 0x16
jb 0x1007a31d
pop edi
mov byte [esi + 0x1a], 0
lea eax, [esi + 4]
pop esi
pop ebx
ret

Function at 0x1007a356
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push 7
pop ebx
lea edi, [esi + 4]
mov ax, word [edi]
movzx ecx, word [esi]
movzx edx, ax
xor edx, ecx
mov word [edi], dx
lea edi, [edi + 2]
sub ebx, 1
jne 0x1007a361
xor eax, eax
mov word [esi + 0x12], ax
lea eax, [esi + 4]
pop edi
pop esi
pop ebx
ret

Function at 0x1007a3b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x18
pop ebx
lea eax, [edi + 4]
mov dl, byte [eax]
movsx esi, byte [edi]
movsx ecx, dl
xor ecx, esi
mov byte [eax], cl
inc eax
sub ebx, 1
jne 0x1007a3bb
mov byte [edi + 0x1c], bl
lea eax, [edi + 4]
pop edi
pop esi
pop ebx
ret

Function at 0x1007a3d7
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 7
pop ebx
lea eax, [edi + 4]
mov dl, byte [eax]
movsx esi, byte [edi]
movsx ecx, dl
xor ecx, esi
mov byte [eax], cl
inc eax
sub ebx, 1
jne 0x1007a3e2
mov byte [edi + 0xb], bl
lea eax, [edi + 4]
pop edi
pop esi
pop ebx
ret
Function at 0x1007afdd
Capabilities:
Delete file

Disassembly:
push 0x20
mov eax, 0x101a8991
call fcn.1017516e
mov ebx, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], 0x10206714
and dword [ebp - 4], 0
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], 0x102066b4
xor edi, edi
inc edi
mov dword [ebp - 4], edi
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1007b014
mov eax, dword [esi]
push 0
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1004d5a0
test eax, eax
jns 0x1007b03f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1007b02e
mov eax, dword [esi]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1004d5a0
mov edi, eax
test edi, edi
js 0x1007b09f
push 2
push 0
push 0xfffffffffffffff4
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x2c]
push eax
push 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1004d786
mov edi, eax
test edi, edi
js 0x1007b09f
cmp dword [ebp - 0x2c], 0xc
je 0x1007b074
mov edi, 0xe0010001
jmp 0x1007b09f
lea eax, [ebp - 0x28]
push eax
call fcn.1004d75e
cmp dword [ebp - 0x20], 0x6368784c
jne 0x1007b08e
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebx + 0x6c]
jbe 0x1007b09d
cmp dword [esi + 0x14], 8
jb 0x1007b096
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1004d54f
mov eax, edi
call fcn.10175118
ret 4
Function at 0x10084e6e
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, edx
xor ebx, ebx
push edi
push ebx
mov edi, ecx
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x30]
shl eax, 2
push eax
call fcn.100866cf
mov eax, dword [esi + 0x1c]
mov ecx, edi
mov edx, dword [esi + 0x34]
shl eax, 2
push ebx
push eax
call fcn.100866cf
mov eax, dword [esi + 0x10]
mov ecx, edi
mov edx, dword [esi + 0x2c]
shl eax, 4
push ebx
push eax
call fcn.100866cf
mov eax, dword [esi + 0x18]
mov ecx, edi
mov edx, dword [esi + 0x38]
shl eax, 2
push ebx
push eax
call fcn.100866cf
imul eax, dword [esi + 0x20], 0xc
mov ecx, edi
mov edx, dword [esi + 0x3c]
push ebx
push eax
call fcn.100866cf
mov eax, dword [esi + 0xc]
mov ecx, edi
mov edx, dword [esi + 0x40]
shl eax, 3
push ebx
push eax
call fcn.100866cf
push ebx
push 0x50
mov edx, esi
mov ecx, edi
call fcn.100866cf
add esp, 0x38
pop edi
pop esi
pop ebx
ret
push esi
mov esi, edx
push edi
mov edi, ecx
movzx eax, byte [esi + 4]
cmp eax, 8
ja 0x10084ef9
je 0x10084edd
sub eax, 4
je 0x10084ead
sub eax, 1
je 0x10084ea6
sub eax, 1
je 0x10084e9f
sub eax, 1
jne 0x10084f1a
mov eax, dword [esi + 0xc]
add eax, 0x18
jmp 0x10084f10
pop edi
pop esi
jmp fcn.10084dff
pop edi
pop esi
jmp 0x1008a92b
mov edx, dword [edi + 0x10]
mov ecx, dword [edx + 0x20]
mov eax, dword [edx + 0x18]
dec ecx
and ecx, dword [esi + 8]
lea ecx, [eax + ecx*4]
jmp 0x10084ec2
lea ecx, [eax + 0xc]
mov eax, dword [ecx]
cmp eax, esi
jne 0x10084ebf
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
mov ecx, edi
dec dword [edx + 0x1c]
mov edx, esi
movzx eax, byte [esi + 7]
add eax, 0x11
jmp 0x10084f10
mov edx, dword [esi + 0x20]
mov ecx, esi
call fcn.10084306
mov ecx, esi
call fcn.10089a80
push 0
push 0x7c
lea edx, [esi - 4]
mov ecx, edi
jmp 0x10084f13
cmp eax, 9
je 0x10084f25
cmp eax, 0x14
je 0x10084f1d
cmp eax, 0x26
jne 0x10084f1a
movzx eax, byte [esi + 6]
inc eax
shl eax, 4
push 0
push eax
call fcn.100866cf
pop ecx
pop ecx
pop edi
pop esi
ret
mov eax, dword [esi + 0xc]
add eax, 0x11
jmp 0x10084f10
pop edi
pop esi
jmp 0x100843a7
push ebx
push esi
mov esi, edx
xor ebx, ebx
push edi
mov edi, ecx
cmp dword [esi + 0x14], ebx
je 0x1008a952
mov cl, byte [esi + 7]
xor eax, eax
mov edx, dword [esi + 0x10]
inc eax
shl eax, cl
mov ecx, edi
shl eax, 5
push ebx
push eax
call fcn.100866cf
pop ecx
pop ecx
mov eax, dword [esi + 8]
mov ecx, edi
mov edx, dword [esi + 0xc]
shl eax, 4
push ebx
push eax
call fcn.100866cf
push ebx
push 0x20
mov edx, esi
mov ecx, edi
call fcn.100866cf
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x10086b10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
mov dword [ebp - 0x18], edx
push edi
mov dword [ebp - 8], esi
call fcn.100e93a6
xor edi, edi
xorps xmm1, xmm1
mov edx, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edx
mov eax, dword [eax]
mov al, byte [eax]
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x18]
mov dword [eax], esi
movzx eax, byte [esi]
test byte [eax + 0x101eb189], 8
je 0x10086b6c
inc esi
movzx eax, byte [esi]
test byte [eax + 0x101eb189], 8
jne 0x10086b5c
mov dword [ebp - 8], esi
lea ecx, [ebp - 8]
call fcn.10086af5
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x24], eax
cmp byte [ecx], 0x30
jne 0x10086c98
mov dl, byte [ecx + 1]
cmp dl, 0x78
je 0x10086b94
cmp dl, 0x58
jne 0x10086c98
mov dh, byte [ebp - 1]
add ecx, 2
mov esi, edi
mov dl, byte [ecx]
mov eax, ecx
mov dword [ebp - 8], eax
cmp dl, dh
jne 0x10086bae
test esi, esi
jne 0x10086c00
inc esi
jmp 0x10086bfb
movzx eax, dl
test byte [eax + 0x101eb189], 0x10
je 0x10086c00
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10086bcb
cmp dl, 0x30
jne 0x10086bcb
inc dword [ebp - 0x14]
jmp 0x10086bf3
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 0x1e
jg 0x10086bf2
movsx ecx, dl
call fcn.10086ae1
mulsd xmm1, qword [0x1024d210]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
jmp 0x10086bf3
inc edi
mov eax, dword [ebp - 8]
test esi, esi
je 0x10086bfb
dec edi
lea ecx, [eax + 1]
jmp 0x10086b9c
mov eax, dword [ebp - 0x10]
push 0
mov dword [ebp - 0xc], edi
pop edi
add eax, dword [ebp - 0x14]
je 0x10086c98
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov esi, eax
mov al, byte [ecx]
shl esi, 2
cmp al, 0x70
je 0x10086c29
cmp al, 0x50
jne 0x10086c71
inc dword [ebp - 8]
lea ecx, [ebp - 8]
call fcn.10086af5
mov edx, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov al, byte [edx]
movzx ecx, al
test byte [ecx + 0x101eb189], 2
je 0x10086c98
imul ecx, edi, 0xa
movsx edi, al
add edi, 0xffffffd0
add edi, ecx
inc edx
movzx eax, byte [edx]
test byte [eax + 0x101eb189], 2
mov al, byte [edx]
jne 0x10086c48
cmp dword [ebp - 0x1c], 0
je 0x10086c6a
neg edi
mov eax, dword [ebp - 0x18]
add esi, edi
mov dword [eax], edx
cmp dword [ebp - 0x24], 0
je 0x10086c7e
xorps xmm1, xmmword [0x1024d4a0]
push esi
push ecx
push ecx
movsd qword [esp], xmm1
call fcn.100f1c9b
fstp qword [ebp - 0x28]
movsd xmm0, qword [ebp - 0x28]
add esp, 0xc
jmp 0x10086c9b
xorps xmm0, xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100924cb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1024
call fcn.10175520
mov eax, dword [0x1026e004]
xor eax, esp
mov dword [esp + 0x1020], eax
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
push esi
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x14]
mov ebx, dword [edi + 0xc]
sub ebx, dword [eax]
sub ebx, 0x10
sar ebx, 4
call fcn.100f026c
pop ecx
mov ecx, edi
sub ebx, 1
jne 0x10092525
push 1
mov edx, esi
call fcn.100923b5
mov esi, dword [ebp + 8]
mov ebx, eax
pop ecx
inc esi
jmp 0x100926a8
push str.too_many_arguments
lea edx, [ebx + 0x14]
call fcn.1008f001
mov esi, dword [ebp + 8]
xor eax, eax
inc eax
mov dword [esp + 0x18], esi
pop ecx
mov dword [esp + 0xc], eax
dec ebx
test eax, eax
je 0x100926a4
mov edx, esi
mov ecx, edi
call fcn.1008020b
mov edx, esi
mov ecx, edi
cmp eax, 3
jne 0x100925ed
call fcn.1008f158
mov esi, eax
test esi, esi
jne 0x100925a0
push dword [esp + 0x10]
call fcn.100ebb28
pop ecx
push dword [esp + 0x10]
mov esi, eax
push esi
call fcn.100ec25b
pop ecx
pop ecx
mov edx, 0x10204e25
mov ecx, edi
call fcn.100804cf
xor eax, eax
cmp esi, 0xffffffff
setne al
mov esi, dword [esp + 0x14]
jmp 0x10092693
and dword [esp + 0x20], 0
lea eax, [esp + 0x28]
mov edx, esi
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x1000
call fcn.1008f297
push dword [esp + 0x10]
push esi
push 1
push eax
call fcn.100eb781
add esp, 0x10
lea ecx, [esp + 0x18]
mov esi, eax
add dword [esp + 0x20], esi
call fcn.1008f347
xor eax, eax
cmp eax, esi
sbb eax, eax
neg eax
jmp 0x10092597
push 0
call fcn.1008f07e
pop ecx
mov cl, byte [eax]
cmp cl, 0x2a
jne 0x100925ff
mov cl, byte [eax + 1]
movsx eax, cl
sub eax, 0x4c
je 0x10092685
sub eax, 0x15
je 0x1009262c
sub eax, 0xb
je 0x10092628
dec eax
mov ecx, edi
sub eax, 1
jne 0x100926f6
mov edx, dword [esp + 0x10]
call fcn.10092218
jmp 0x10092693
push 1
jmp 0x10092687
and dword [esp + 0x20], 0
lea eax, [esp + 0x28]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x1000
mov edx, 0x1000
lea ecx, [esp + 0x18]
call fcn.1008f297
push esi
push 0x1000
push 1
push eax
call fcn.100eb781
add dword [esp + 0x30], eax
add esp, 0x10
cmp eax, 0x1000
je 0x10092649
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x18]
call fcn.1008f347
xor eax, eax
inc eax
jmp 0x10092693
push 0
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.100923b5
pop ecx
inc esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], esi
test ebx, ebx
jne 0x10092541
mov ebx, dword [esp + 0xc]
push dword [esp + 0x10]
call fcn.100ecd52
pop ecx
test eax, eax
je 0x100926c4
push 0
xor edx, edx
mov ecx, edi
call fcn.1008ed72
pop ecx
jmp 0x100926e1
test ebx, ebx
jne 0x100926dc
push 0xfffffffffffffffe
pop edx
mov ecx, edi
call fcn.100800db
mov eax, dword [edi + 0xc]
and dword [eax + 8], ebx
add dword [edi + 0xc], 0x10
sub esi, dword [ebp + 8]
mov eax, esi
mov ecx, dword [esp + 0x102c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100e04a9
mov esp, ebp
pop ebp
ret
push str.invalid_format
mov edx, esi
call fcn.1008eba9
int3