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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
xor eax, eax
test esi, esi
je 0x102db90
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push edi
mov edi, dword [ebp + 8]
sub edi, edx
sub ecx, edx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], esi
mov esi, dword [edi + edx]
mov ecx, dword [edx]
lea ebx, [ecx + esi]
add eax, ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebx + edx], eax
mov ebx, ecx
xor ebx, esi
and ebx, eax
or ecx, esi
xor ebx, ecx
shr ebx, 0x1f
add edx, 4
dec dword [ebp + 0x14]
mov eax, ebx
jne 0x102db67
pop edi
pop ebx
pop esi
pop ebp
ret 0x10

Function at 0x102dd6f
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
xor eax, eax
test edx, edx
je 0x102ddbc
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
sub ebx, esi
sub ecx, esi
push edi
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], edx
mov edi, dword [ebx + esi]
mov edx, dword [esi]
mov ecx, edi
sub ecx, edx
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax + esi], ecx
xor ecx, edi
xor edx, edi
or ecx, edx
xor ecx, edi
shr ecx, 0x1f
add esi, 4
dec dword [ebp + 0x14]
mov eax, ecx
jne 0x102dd93
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x103278b
Capabilities:
Delete file

Disassembly:
mov edi, edi
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x10327cb
test byte [esi + 0xc], 0x10
je 0x10327cb
push edi
lea ecx, [esi + 0x34]
call fcn.01006e57
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
lea ecx, [esi + 0x14]
call fcn.01006e57
push eax
call edi
test byte [esi + 0xc], 8
je 0x10327ca
lea ecx, [esi + 0x24]
call fcn.01006e57
push eax
call edi
pop edi
mov ecx, esi
call fcn.01032773
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
and dword [esi + 8], 0
pop esi
ret

Function at 0x1032985
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push 1
push edi
call fcn.01029e72
mov esi, eax
test esi, esi
jl 0x1032a22
push 0x1003504
push edi
call fcn.01006e85
mov esi, eax
test esi, esi
jl 0x1032a22
mov ecx, edi
call fcn.01006e57
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10329db
test al, 0x10
jne 0x1032a22
mov ecx, edi
call fcn.01006e57
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1032a03
push 0
mov ecx, edi
call fcn.01006e57
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1032a03
push 6
mov ecx, edi
call fcn.01006e57
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1032a22
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1032a17
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
jl 0x1032a22
mov esi, 0x8000ffff
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10331d1
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp - 0x10]
push ebx
xor ebx, ebx
and eax, 0xffffffc1
or eax, 0x40
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x1033251
mov ecx, dword [ebp + 0xc]
mov esi, 0x104
push esi
call fcn.01006a8a
mov edi, eax
cmp edi, ebx
jl 0x1033296
mov ecx, dword [ebp + 0xc]
push esi
push ebx
call fcn.01029216
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, ebx
jne 0x1033246
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1033239
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jl 0x1033296
mov edi, 0x8000ffff
jmp 0x1033296
mov ecx, dword [ebp + 0xc]
push eax
call fcn.01006a4c
jmp 0x1033261
push 1
push dword [ebp + 0xc]
call fcn.01029e72
mov edi, eax
cmp edi, ebx
jl 0x1033296
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.010330bf
mov edi, eax
cmp edi, ebx
jl 0x1033289
lea ecx, [ebp - 0x10]
call fcn.01006e57
push eax
push dword [ebp + 0xc]
call fcn.01006e85
mov edi, eax
cmp dword [ebp - 4], ebx
je 0x1033296
lea ecx, [ebp - 0x10]
call fcn.010069f9
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1033350
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
push ebx
mov ebx, dword [ecx]
cmp ebx, 4
jae 0x1033367
xor eax, eax
jmp 0x10333a8
push esi
push edi
push 2
pop ecx
mov edi, 0x10036f4
mov esi, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
pop edi
pop esi
je 0x1033380
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
jne 0x1033363
cmp ebx, 0x40
jb 0x1033363
cmp word [eax], 0x5a4d
jne 0x1033363
mov ecx, dword [eax + 0x3c]
lea edx, [ecx + 0x40]
cmp ebx, edx
jb 0x1033363
xor edx, edx
cmp dword [ecx + eax], 0x4550
sete dl
mov eax, edx
pop ebx
pop ebp
ret 4
Function at 0x1036308
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 0x40
jb 0x1036340
mov edx, dword [ebp + 8]
cmp word [edx], 0x5a4d
jne 0x1036340
mov ecx, dword [edx + 0x3c]
push esi
lea esi, [eax - 0x40]
cmp esi, ecx
pop esi
jb 0x1036340
sub eax, ecx
cmp eax, 0xf8
jbe 0x1036340
cmp dword [ecx + edx], 0x4550
sete al
jmp 0x1036342
xor al, al
pop ebp
ret 8

Function at 0x10364ae
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push ebx
push esi
xor esi, esi
cmp eax, esi
push edi
mov dword [ebp - 4], esi
je 0x10364c6
or dword [eax], 0xffffffff
mov eax, dword [ebp + 8]
dec eax
mov edi, dword [ebp + 0x10]
je 0x1036556
dec eax
je 0x10364f9
dec eax
je 0x10364e5
mov dword [ebp - 4], 0x57
jmp 0x103658a
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, edi
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
jmp 0x10365b0
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
mov dword [ebp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp + 0x14], eax
je 0x1036576
cmp dword [ebp + 0x10], esi
je 0x103651f
mov dword [ebp - 4], 0x3ee
jmp 0x103658a
push esi
push esi
push esi
push 2
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
cmp ebx, esi
je 0x1036576
push esi
push esi
push esi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 4], esi
je 0x1036576
mov eax, dword [ebp + 0x14]
mov dword [edi], eax
jmp 0x10365b0
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocStringLen
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1036591
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x103658a
mov dword [ebp - 4], 0x6e
mov dword [edi + 4], esi
mov dword [edi], esi
jmp 0x10365b0
push esi
push edi
push ebx
push 2
call fcn.010364ae
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x10365a9
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
jmp 0x10365b0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x103703b
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push 0xc
push 0x1037938
call fcn.010057fb
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
movzx edx, word [ecx]
cmp dx, 0x5a4d
je 0x103706d
cmp dx, 0x4550
jne 0x10370e4
cmp dx, 0x5a4d
jne 0x1037091
mov edx, dword [ecx + 0x3c]
cmp edx, ebx
je 0x10370e4
add edx, ecx
mov dword [eax + 0xc], edx
mov esi, dword [eax + 0x2c]
add esi, ecx
lea edi, [edx + 0xf8]
cmp edi, esi
ja 0x10370e4
add ecx, 0x40
cmp edx, ecx
jae 0x1037094
jmp 0x10370e4
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0xc]
cmp dword [ecx], 0x4550
jne 0x10370e4
mov byte [eax + 0x21], bl
cmp word [ecx + 0x14], bx
je 0x10370e4
cmp byte [ecx + 0x1a], 3
jae 0x10370b4
cmp byte [ecx + 0x1b], 5
jb 0x10370e4
lea ecx, [eax + 0x24]
mov dword [eax + 0x28], ecx
mov dword [ecx], ecx
mov ecx, dword [eax + 0xc]
movzx ecx, word [ecx + 6]
mov dword [eax + 0x14], ecx
mov ecx, dword [eax + 0xc]
movzx edx, word [ecx + 0x14]
lea ecx, [edx + ecx + 0x18]
mov dword [eax + 0x18], ecx
mov dword [ebp - 0x1c], 1
jmp 0x10370e4
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.01005840
ret 4

Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x102297e0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x102299cd
pushal
mov esi, section..data
lea edi, [esi - 0xc1000]
push edi
or ebp, 0xffffffff
jmp 0x1022980a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10229811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10229800
mov eax, 1
add ebx, ebx
jne 0x10229823
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10229834
jne 0x10229853
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10229853
dec eax
add ebx, ebx
jne 0x10229840
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x10229818
add ebx, ebx
jne 0x1022984f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x102298a5
xor ecx, ecx
sub eax, 3
jb 0x1022986b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x102298da
sar eax, 1
mov ebp, eax
jmp 0x10229876
add ebx, ebx
jne 0x10229876
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10229844
inc ecx
add ebx, ebx
jne 0x10229884
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10229844
add ebx, ebx
jne 0x10229891
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10229886
jne 0x102298a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10229886
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x102298c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x102298b6
jmp 0x10229806
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x102298c4
add edi, ecx
jmp 0x10229806
pop esi
mov edi, esi
mov ecx, 0x4329
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x102298e2
cmp byte [edi], 0x12
jne 0x102298e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x102298e7
lea edi, [esi + 0x222000]
mov eax, dword [edi]
or eax, eax
je 0x1022995f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x229324]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22943c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10229914
mov ecx, edi
jns 0x10229943
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x229440]
or eax, eax
je 0x10229959
mov dword [ebx], eax
add ebx, 4
jmp 0x10229931
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10229990
cmp al, 0xef
ja 0x10229983
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10229965
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10229972
mov ebp, dword [esi + 0x229444]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x102299c4
sub esp, 0xffffff80
jmp 0x10061afd
Function at 0x101a9ae8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp ecx, 0
sete dl
cmp eax, 0
sete dh
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], dl
mov byte [ebp - 0x16], dh
mov eax, 0xffffffff
mov cl, byte [ebp - 0x15]
mov dl, byte [ebp - 0x16]
and cl, dl
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x101a9cca
jmp 0x101a9ba4
mov dword [0x101bed64], 0xffffc994
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
jmp 0x101a9cca
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x28]
cmp eax, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], ecx
je 0x101a9cca
mov dword [0x101bed60], 0xe77
mov eax, dword [ebp - 0x2c]
add eax, 0x24
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x2d]
and bh, bl
test bh, 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x20], esi
jne 0x101a9b94
jmp 0x101a9bfa
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
jmp 0x101a9cca
mov dword [0x101bed64], 0x25ed
mov dword [0x101bed60], 0x14fc
mov ecx, dword fs:[0x18]
mov dword [0x101bed60], 0xffffeafc
mov eax, dword [ecx + 0x30]
mov dword [0x101bed64], 0xffffd3cf
mov eax, dword [eax + 0xc]
add eax, 0x14
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x28]
mov byte [ebp - 0x2d], cl
mov dword [ebp - 0x24], edx
jmp 0x101a9b44
mov eax, dword [ebp - 0x34]
mov cx, word [eax]
mov dword [0x101bed60], 0x26b6
shr cx, 1
movzx edx, cx
cmp cx, 0
sete bl
mov dword [ebp - 0x3c], edx
mov byte [ebp - 0x3d], bl
xor eax, eax
mov cl, byte [ebp - 0x3d]
test cl, 1
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x44], eax
jne 0x101a9b44
jmp 0x101a9c38
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x38]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x48], eax
mov word [ebp - 0x4a], dx
mov word [ebp - 0x4c], di
jb 0x101a9c6c
mov ax, word [ebp - 0x4a]
mov word [ebp - 0x4c], ax
mov ax, word [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x48]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov byte [ebp - 0x4d], bl
jne 0x101a9cb4
mov dword [0x101bed60], 0x667
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x3c]
cmp eax, ecx
mov dword [ebp - 0x44], eax
jb 0x101a9c38
mov al, byte [ebp - 0x4d]
test al, 1
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
jne 0x101a9b2f
jmp 0x101a9b44
mov eax, dword [ebp - 0x1c]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101aa104
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101bed6c], 0
mov byte [0x101bed70], 0
mov dword [0x101bed60], 0x1f87
mov dword [0x101bed68], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101bed68]
add eax, 1
mov dword [0x101bed68], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101aa149
xor eax, eax
mov dword [0x101bed60], 0xd51
mov dword [0x101bed68], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101bed74], 0
mov dword [0x101bed60], 0x17de
mov edx, dword [0x101bed6c]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x101bed74], edi
mov dword [0x101bed64], 0x51e
mov dword [0x101bed60], 0xffffe312
mov eax, edi
cdq
idiv ecx
mov dword [0x101bed6c], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x101bed70], cl
mov dword [0x101bed60], 0x1980
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov ecx, dword [0x101bed60]
add ecx, 0x1ff7
mov dword [0x101bed64], ecx
mov cl, byte [0x101bed70]
mov edx, dword [0x101bed6c]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x101bed60], 0x5e6
mov edx, dword [0x101bed64]
add edx, 0xfffffd1a
mov dword [0x101bed64], edx
mov edx, dword [0x101bed68]
add edx, 1
mov dword [0x101bed68], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x101aa188
mov dword [0x101bed60], 0x1e31
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101aa28e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
mov dword [ebp - 0x130], eax
xor eax, eax
mov dword [0x101bed60], 0xeb4
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jmp 0x101aa373
mov eax, dword [ebp - 0x13c]
mov cl, byte [eax + 0x101ad47b]
mov dl, byte [eax + 0x101ad44c]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x13c], eax
jne 0x101aa2c2
lea eax, [ebp - 0x12c]
mov dword [0x101bed60], 0xf0b
mov dword [ebp - 0x140], eax
call fcn.101ab0ab
mov dword [esp], eax
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], eax
call fcn.101a9e30
mov ecx, eax
mov dword [0x101bed80], eax
mov eax, esp
mov edx, dword [ebp - 0x144]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, dword [0x101bed64]
add edx, 0xffffd942
mov dword [0x101bed60], edx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
jmp 0x101aa3da
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, section..data
imul edi, eax, 0xb4
mov ebx, esi
add ebx, edi
add ebx, 0x48
mov edi, dword [ebx]
imul ebx, eax, 0xb4
add esi, ebx
add esi, 0x44
movzx esi, word [esi]
xor esi, edi
add esi, ecx
add eax, 1
cmp eax, 0x17f
mov ecx, esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x138], eax
je 0x101aa2c2
jmp 0x101aa373
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
imul esi, eax, 0xb4
mov edi, edx
add edi, esi
add edi, 0x48
mov esi, dword [edi]
imul edi, eax, 0xb4
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0xb4
add edx, ebx
add edx, 0x44
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x148]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.101aa60f
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x17f
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
jne 0x101aa3da
lea eax, [0x101ad45a]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x101bed64], 0xe6d
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.101aa104
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x144]
mov dword [esp + 0xc], edx
call fcn.101aabf1
xor eax, eax
mov dword [0x101bed60], 0x1e27
mov ecx, dword [ebp - 0x148]
add ecx, 0x3aa55
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x12de00
mov ecx, dword [ebp - 0x148]
add ecx, 0x10c3f
mov dword [edx + 8], ecx
mov ecx, dword [0x101bed60]
add ecx, 0xffffe53e
mov dword [0x101bed60], ecx
mov dword [edx + 0xc], 0x2010
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101aa69b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x101bed64], 0x26de
mov dword [ebp - 0x10], eax
call fcn.101a9cd5
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov dword [0x101bed64], 0xe73
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x101aa6eb
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101bed60], 0x16bd
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x101aa805
jmp 0x101aa795
mov eax, dword [ebp - 0x34]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x3d], bh
mov byte [ebp - 0x3e], cl
je 0x101aa7a9
mov eax, dword [ebp - 0x3c]
add eax, 1
mov cl, byte [ebp - 0x3d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x34], eax
jne 0x101aa726
jmp 0x101aa7a9
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edx
jmp 0x101aa726
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], eax
jmp 0x101aa779
mov al, byte [ebp - 0x3e]
test al, 1
jne 0x101aa7d8
jmp 0x101aa7b2
xor eax, eax
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov edx, dword [ebp - 0x50]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x30], eax
jb 0x101aa779
jmp 0x101aa805
mov eax, dword [ebp - 0x50]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
shl ecx, 2
add edx, ecx
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x54]
add eax, dword [ecx]
mov dword [0x101bed60], 0x22a3
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret