joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d14a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fb4c6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x1010eeb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x24c], esi
call fcn.100e00b0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x218]
push 0x7e
push eax
call fcn.100e0a1e
lea ecx, [ebp - 0x218]
add esp, 8
mov edx, eax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100d1525
sub ecx, edi
mov dword [ebp - 0x220], 0
sar ecx, 1
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x230]
movups xmmword [ebp - 0x230], xmm0
push eax
test edx, edx
je 0x100d161e
call fcn.100cb7f0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.100d7580
push eax
push esi
mov byte [ebp - 4], 1
call fcn.100d1670
mov ecx, dword [ebp - 0x234]
add esp, 0x10
cmp ecx, 0x10
jb 0x100d15cf
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d15c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d1663
push ecx
push edx
call fcn.100dde0b
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x100d1646
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100d163c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d1663
jmp 0x100d163c
call fcn.100cb7f0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 2
push eax
push esi
call fcn.100d7580
add esp, 8
jmp 0x100d15ea
push ecx
push edx
call fcn.100dde0b
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100de133
mov esp, ebp
pop ebp
ret
call fcn.100e246f
int3
Function at 0x100d35d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, edx
dec edx
shr eax, 8
push ebx
mov ebx, dword [ebp + 0x10]
add ebx, edx
mov edx, ebx
shr edx, 8
cmp eax, edx
ja 0x100d36dc
lea ecx, [eax - 0x4010]
nop word [eax + eax]
cmp ecx, 0x4a30
ja 0x100d3764
cmp eax, 0x4c03
je 0x100d3764
cmp eax, 0x4eb9
je 0x100d3764
cmp eax, 0x5022
je 0x100d3764
cmp eax, 0x5023
je 0x100d3764
cmp eax, 0x50ab
je 0x100d3764
cmp eax, 0x50bf
je 0x100d3764
cmp eax, 0x5332
je 0x100d3764
cmp eax, 0x609c
je 0x100d3764
cmp eax, 0x60d8
je 0x100d3764
cmp eax, 0x60f2
je 0x100d3764
cmp eax, 0x6420
je 0x100d3764
cmp eax, 0x648a
je 0x100d3764
cmp eax, 0x64ca
je 0x100d3764
cmp eax, 0x6870
je 0x100d3764
cmp eax, 0x6a07
je 0x100d3764
cmp eax, 0x6aea
je 0x100d3764
cmp eax, 0x729b
je 0x100d3764
cmp eax, 0x742b
je 0x100d3764
inc eax
inc ecx
cmp eax, edx
jbe 0x100d3600
push esi
push edi
call fcn.100d02b0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, eax
je 0x100d3703
push 0x58
push str.C:provincepprvShared_sdkSharedUtil.MemAccess.hpp
push str.IsMainThread__
call fcn.100e2fd8
add esp, 0xc
mov edi, dword [ebp + 8]
and ebx, 0xfffff000
mov ecx, dword [ebp + 0xc]
and ecx, 0xfffff000
sub ebx, ecx
lea eax, [edi + 8]
mov dword [edi], ecx
push eax
push 0x40
add ebx, 0x1000
push 0x1000
mov dword [edi + 4], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ecx
call ebx
mov esi, 0x1000
cmp dword [edi + 4], esi
jbe 0x100d375d
mov ecx, dword [edi]
lea eax, [ebp + 0xc]
push eax
push 0x40
push 0x1000
add ecx, esi
push ecx
call ebx
add esi, 0x1000
cmp esi, dword [edi + 4]
jb 0x100d3740
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebx
mov dword [eax], 0
pop ebp
ret
Function at 0x100d6380
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 0x1000
push 0x4c0000
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x1000
push 0x4eb000
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x1000
push 0x502000
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x1000
push 0x50a000
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x1000
push 0x50b000
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x1000
push 0x533000
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x1000
push 0x609000
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x1000
push 0x60d000
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x1000
push 0x60f000
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x1000
push 0x642000
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x1000
push 0x648000
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x1000
push 0x64c000
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x1000
push 0x687000
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x1000
push 0x6a0000
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x1000
push 0x6ae000
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x1000
push 0x729000
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x1000
push 0x742000
call esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100e9269
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100de460
mov eax, dword [0x1010eeb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.100ebfaf
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100e92ab
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100e9407
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.100de290
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x10177ed8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.100f0eac
mov ecx, dword [esi*4 + 0x10177ed8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x100e9400
cmp eax, dword [edi + ecx + 0x24]
jne 0x100e9400
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100e9400
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100f0eac
add esp, 0x14
test edx, edx
jl 0x100e9400
jg 0x100e9376
test eax, eax
jb 0x100e9400
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x100e9400
jl 0x100e9390
cmp dword [ebp - 0x1008], eax
ja 0x100e9400
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x100e93ae
test ebx, ebx
je 0x100e93e7
cmp ecx, edi
jae 0x100e93e7
mov al, byte [ecx]
cmp al, 0xd
jne 0x100e93c8
lea eax, [edi - 1]
cmp ecx, eax
jae 0x100e93d4
cmp byte [ecx + 1], 0xa
jne 0x100e93d4
inc ecx
jmp 0x100e93d4
movzx eax, al
movsx eax, byte [eax + 0x1010f090]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x100e93ae
cmp edx, ebx
jne 0x100e93ae
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x100e9405
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100de133
leave
ret
Function at 0x100ebfd6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10177ed8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100ec016
cmp byte [ebx], 0xa
jne 0x100ec016
or byte [eax + edi + 0x28], 4
jmp 0x100ec01b
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x100ec119
mov al, byte [edx]
cmp al, 0x1a
je 0x100ec0fb
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x100ec04a
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x100ec06f
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x100ec079
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x100ec02c
jmp 0x100ec119
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100ec0f6
cmp dword [ebp - 0xc], 0
je 0x100ec0f6
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x10177ed8]
test byte [eax + edi + 0x28], 0x48
je 0x100ec0d0
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100ec0bb
mov byte [esi], dl
jmp 0x100ec0cc
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10177ed8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100ec119
cmp byte [ebp - 1], 0xa
jne 0x100ec0df
cmp esi, ebx
jne 0x100ec0df
mov byte [esi], 0xa
jmp 0x100ec118
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100f0eca
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100ec119
mov byte [esi], 0xd
jmp 0x100ec118
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x10177ed8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100ec115
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100ec119
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100ec122
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x10177ed8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100ec165
cmp word [esi], dx
jne 0x100ec165
or byte [edi + eax + 0x28], 4
jmp 0x100ec16a
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x100ec2bd
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x100ec29d
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x100ec1ac
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100ec1e2
cmp eax, edx
jae 0x100ec1ee
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x100ec184
jmp 0x100ec2bd
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100ec299
cmp dword [ebp - 0x14], 0
je 0x100ec299
mov eax, dword [ebx*4 + 0x10177ed8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x100ec271
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x100ec23a
mov word [esi], cx
jmp 0x100ec26d
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x10177ed8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x10177ed8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x10177ed8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x100ec2bd
pop ebx
cmp word [ebp - 4], bx
jne 0x100ec282
cmp esi, dword [ebp + 0xc]
jne 0x100ec282
mov word [esi], bx
jmp 0x100ec2ba
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100f0eca
add esp, 0x10
cmp word [ebp - 4], bx
je 0x100ec2bd
push 0xd
jmp 0x100ec2b6
mov ecx, dword [ebx*4 + 0x10177ed8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100ec2b4
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100ec2bd
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100ecade
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100ec94f

Function at 0x100ed109
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100ed08b

Function at 0x100ee81a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10105420
push 0x10105418
push str.FlsAlloc
push 0x1e
call fcn.100ee6b8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100ee84e
push dword [ebp + 8]
mov ecx, esi
call dword [0x100fd23c]
call esi
jmp 0x100ee854
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100ee898
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10105430
push 0x10105428
push str.FlsGetValue
push 0x20
call fcn.100ee6b8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100ee8cf
push dword [ebp + 8]
mov ecx, esi
call dword [0x100fd23c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100f335e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100f33fb
push ebx
push esi
call fcn.100f3327
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100f244e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100f33a8
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100f33fa
push edi
push eax
call fcn.100ecb23
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100f33c8
call fcn.100ecae9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100f33f9
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100f244e
add esp, 0x20
test eax, eax
jne 0x100f33e7
push edi
call fcn.100ecae9
jmp 0x100f33ef
push ebx
call fcn.100ecae9
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x100f8ae1
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100f8a5d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100f8c59
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100f8c59
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100f8c08
jg 0x100f8b3a
test eax, eax
je 0x100f8bfe
push 1
push 0x1000
call fcn.100ee50e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100f8b60
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x100f8bf5
push 0x8000
push ebx
call fcn.100f898e
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100f8b8c
jg 0x100f8b87
cmp ecx, 0x1000
jb 0x100f8b8c
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100f1d4e
add esp, 0x10
cmp eax, 0xffffffff
je 0x100f8bd1
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100f8b87
jl 0x100f8bb8
test ecx, ecx
jne 0x100f8b79
push dword [ebp - 0xc]
push ebx
call fcn.100f898e
push esi
call fcn.100ecae9
add esp, 0xc
xor edi, edi
jmp 0x100f8c6a
cmp byte [edi + 0x24], 0
je 0x100f8be8
cmp dword [edi + 0x20], 5
jne 0x100f8be8
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100f8bf3
mov edi, dword [edi + 0x18]
jmp 0x100f8bf5
xor edi, edi
push esi
call fcn.100ecae9
pop ecx
jmp 0x100f8c6a
test ecx, ecx
jg 0x100f8bca
jl 0x100f8c08
test eax, eax
jae 0x100f8bca
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100f0eca
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100f8c2b
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100f8bca
jmp 0x100f8c62
push ebx
call fcn.100f4412
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100f8bca
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x100f8c6a
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100f8c67
mov edi, dword [edi + 0x18]
jmp 0x100f8c6a
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100f0eca
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100f9b10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100f9b3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100f9b3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1017adc3
Capabilities:
Read file on windows
Terminate process

Disassembly:
shl dl, 0xe1
mov dword [ebp + edx*8 - 0x80000], eax
pop ecx
pop ecx
jns fcn.10190646

Function at 0x1017ba5e
Capabilities:
Authenticate hmac
Encrypt data using aes
Read file on windows
Reference aes constants
Terminate process

Disassembly:
not eax
xor ebx, eax
add cx, dx
bts ecx, ecx
adc ebp, eax
mov eax, ecx
dec ecx
mov eax, dword [esi + ecx*2 - 0x577c03e0]
bt ecx, edx
adc dl, dh
mov cl, byte [esi + ecx - 0x2bbe01ec]
mov dword [esp + edx - 0x577801f1], edx
sbb byte [esp + edx - 0x577801ee], dh
sub edx, dword [esp + edx - 0x577801f1]
lea esi, [esi + edx*2 - 0x1fffffe]
jae 0x10231015
seto dl
shr eax, cl
pop ecx
add edx, edx
jno 0x102629b4

Function at 0x1017c684
Capabilities:
Read file on windows
Terminate process

Disassembly:
not dl
mov ecx, 0xbf2ca88a
pop ecx
mov word [ebp], dx
sub esi, 4
mov ecx, 0xc281cea0
not ecx
lea eax, [ecx*4 + 0x4c105935]
mov eax, dword [ecx + esi - 0x3d7e315f]
movzx edx, cl
xor eax, ebx
push ecx
bswap eax
not cl
inc cx
dec edx
xor eax, 0xf43871bb
mov dword [esp + ecx - 0x3d7e31a1], 0xc69bed0e
bswap eax
or dword [esp + ecx - 0x3d7e31a1], 0xbf180714
dec eax
xchg dword [esp + edx*4 - 0x178], ecx
call fcn.1021891d
Function at 0x1017d847
Capabilities:
Authenticate hmac
Encrypt data using aes
Read file on windows
Reference aes constants
Terminate process

Disassembly:
not ecx
bts eax, eax
mov dword [esp + edx*4 - 0x3b2f8], edx
push eax
dec ecx
not ecx
cbw
pop eax
xor ebx, ecx
add esi, ecx
rol dword [esp + edx - 0xecbe], 0x30
pop eax
jae 0x10235b8e
mov dx, word [ebp]
mov eax, 0xb2bf8683
mov ecx, eax
rol ecx, 0x22
mov ax, word [ebp + 2]
adc ebp, 2
inc ecx
xor cl, cl
imul ecx, ecx
add dx, ax
inc cl
lea ecx, [ecx*4 - 0x6cc48d6b]
ror cl, 0x66
mov word [ebp], dx
movzx eax, cx
lea edx, [ecx + ecx + 0x7cb8bf28]
mov edx, dword [eax + edi - 0x7266]
or cx, 0xc99e
setns cl
cbw
lea edi, [edi + eax - 0x62]
add eax, ecx
bt ax, 0xbc
xor edx, ebx
sub edx, 0x343e5937
not ecx
bts eax, 0x83
sub cl, ch
not edx
dec edx
neg edx
rol edx, 3
push ecx
xor edx, 0x9a988b3c
cwde
inc ax
xor ebx, edx
add esi, edx
mov dword [esp + ecx*4 - 0x8d013ec], esi
ret

Function at 0x1017f557
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mul eax
not ecx
dec eax
call fcn.1022a3e0

Function at 0x1017f5c4
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov dword [esp + edx - 0x7112f3ab], edx
add edi, eax
ror dx, 0x6f
jb 0x101a2b1a
movzx ecx, byte [edi + ecx*2 - 0x4543ca24]
ror al, 7
jb 0x101cc408
dec eax
lea edi, [eax + edi - 0x68b13845]
xor ax, ax
and edx, edx
and edx, 0x98126f19
xor cl, bl
neg cl
btr edx, 0x3a
sbb dl, ah
not cl
jae 0x101c640f
jmp 0x10250c6e
push 0xfb275496
call fcn.10218350
mov dword [esp + ecx*2 - 2], ebp
ret 8
jmp 0x102384f3
jb 0x101a5039
mov edx, 0xa991999c
mov eax, ebp
sub ebp, 2
mov ecx, 0x7fa34fb9
mov word [ecx + ebp - 0x7fa34fb9], ax
mov eax, dword [edi + ecx - 0x7fa34fb9]
shr cx, 0x29
btr edx, 0x36
call fcn.1026d2d9
xor ecx, ebx
ror ecx, 3
sar edx, 0x9f
not edx
sbb ecx, 0x31aa18be
movsx eax, dx
bts dx, 0xb9
bswap ecx
add ecx, edx
rol dword [esp + 2], 0x75
adc dword [esp], 0xd6913e1e
cwde
xor ebx, ecx
inc dword [esp + 1]
pop eax
add esi, ecx
xor byte [esp + 1], 0x95
mov edx, dword [edi]
mov ax, word [edi + 4]
adc edi, 6
neg dword [esp]
mov word [edx], ax
pop edx
jmp esi
pop eax
pop edx
jb fcn.1018699d
inc cl
shr al, 0x44
ror cl, 1
sub ax, 0x95b5
jp 0x1021fc3c
rol ecx, 1
pop edx
dec ecx
neg ecx
shr edx, 0xcd
or dx, 0x3abd
sbb ecx, 0xe68f7421
rol dl, 0xa1
sbb eax, eax
rol ecx, 2
xor ebx, ecx
bt dx, ax
adc edi, ecx
jmp edi
xor ecx, ebx
mul eax
jno 0x101c65c1
stc
jmp edi
ja 0x1018bbdf
mov edx, 0xc421ecb2
btr edx, edx
mov eax, esp
shl dx, 0x4d
push edx
rol word [esp + 2], 0xe3
mov ecx, 0x40
rol dx, 0xa3
lea edx, [ebp - 0x80]
sar dword [esp], 0x6b
and edx, 0xfffffffc
shr dword [esp], 0x44
sub edx, ecx
mov esp, edx
jmp 0x101881d3
Function at 0x10181b4d
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea ecx, [eax*8 - 0x58408280]
lea edi, [eax + edi - 0x1a112f12]
mov dword [esp + eax*2 - 0x34225e28], eax
mov word [edi + eax*4 - 0x6844bc50], dx
call fcn.101ccc76
xor ecx, ebx
and al, 0x81
bswap eax
not ecx
dec dx
mul dl
not edx
bswap ecx
lea ecx, [edx + ecx - 0x6e3e345f]
not ecx
jae 0x101843f9
movzx eax, byte [esi]
rol cx, cl
jae 0x101de331
push ecx
xor al, bl
and cx, cx
not al
sar dword [esp], cl
xor al, 0x90
not ecx
ror ecx, cl
rol al, 1
push ecx
add ecx, ecx
bswap ecx
neg al
xor bl, al
shl cl, 0x24
inc cx
lea eax, [esp + eax + 8]
jb 0x1021c925
not dl
or edx, ecx
jge 0x101aa1f9
xor ecx, 0x3d941801
mov word [eax + ecx - 0x674b5d00], dx
mov edx, ecx
mov dword [esp + ecx - 0x674b5d00], ebp
ret 4

Function at 0x10182fec
Capabilities:
Read file on windows
Terminate process

Disassembly:
inc ecx
sal ax, 0x6d
xor ebx, ecx
mov dword [esp + edx - 0x4c18a339], 0x882054a8
rol dl, 0x81
adc esi, ecx
xchg dword [esp + edx - 0x4c18a372], edx
mov ebp, dword [eax + ebp - 0x8000]
pop eax
jmp fcn.10190646