joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10042510
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
mov esi, edx
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ecx
mov edx, esi
mov ecx, edi
call fcn.100423f0
add esp, 4
test eax, eax
jne 0x10042538
pop edi
pop esi
pop ecx
pop ebp
ret
push dword [ebp + 0x28]
push dword [ebp + 0x20]
push 0
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
pop esi
pop ecx
pop ebp
ret

Function at 0x10042560
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
test edi, edi
je 0x10042627
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, edi
mov esi, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10042584
sub ecx, edx
sar ecx, 1
lea eax, [ecx + esi]
lea eax, [eax*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x100425b6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, eax
cmp word [ebx + esi*2 - 2], 0x5c
je 0x100425d2
mov eax, 0x5c
mov word [ebx + esi*2], ax
inc esi
mov ecx, edi
xor edx, edx
lea eax, [ecx + 2]
mov dword [ebp - 4], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100425e0
sub ecx, dword [ebp - 4]
sar ecx, 1
je 0x10042627
lfence
lea esi, [ebx + esi*2]
nop dword [eax + eax]
mov ax, word [edi + edx*2]
lea esi, [esi + 2]
mov word [esi - 2], ax
inc edx
mov eax, edi
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10042611
sub eax, ebx
sar eax, 1
cmp edx, eax
jb 0x10042600
mov ebx, dword [ebp - 8]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100427b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x1022c068]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [esp + 0x10], ecx
xor edi, edi
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x24
mov dword [esp + 0x1c], 0x26
mov dword [esp + 0x20], 0x2a
cmp dword [0x102348e0], esi
jne 0x10042865
push 3
push 0x20
push 3
push 1
push 3
push 2
push edi
push edi
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 0x23
xor ecx, ecx
mov dword [0x102348e0], 0x11c
push 0x102348e0
mov dword [0x102348e4], 6
mov dword [0x102348e8], 1
mov word [0x102349f4], cx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov ecx, dword [esp + 0x10]
neg eax
sbb eax, eax
inc eax
mov dword [0x1022cb74], eax
jmp 0x1004286a
mov eax, dword [0x1022cb74]
test eax, eax
je 0x10042885
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.10186332
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x10042999
push 0
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov ebx, eax
test ebx, ebx
je 0x10042999
lea eax, [ebx + ebx]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [esp + 0xc], eax
test eax, eax
je 0x10042999
push 0
push eax
push ebx
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp ebx, eax
jbe 0x10042999
lfence
xor ebx, ebx
mov ecx, dword [esp + ebx*4 + 0x18]
cmp ecx, 0x26
jne 0x10042946
push 0
push 0
push str._ProgramW6432_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
xor esi, esi
test edi, edi
je 0x10042995
lea ecx, [edi*2 + 2]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x10042995
push edi
push esi
push str._ProgramW6432_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp edi, eax
jne 0x10042995
push esi
push str._ProgramW6432_
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x100429be
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, 0x26
call fcn.10042630
mov esi, eax
test esi, esi
je 0x10042995
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10042956
sub eax, edx
sar eax, 1
push eax
push esi
push dword [esp + 0x14]
call fcn.101ac21a
xor ecx, ecx
add esp, 0xc
test eax, eax
sete cl
mov dword [esp + 0x14], ecx
test eax, eax
je 0x10042995
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
inc ebx
xor esi, esi
cmp ebx, 3
jl 0x100428d7
mov edi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x24]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10186332
mov esp, ebp
pop ebp
ret
cmp word [esi + edi*2 - 4], 0x5c
je 0x10042951
push 0x101e8618
lea edx, [edi + 1]
mov ecx, esi
call fcn.10042010
jmp 0x10042951
Function at 0x1004a260
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101cb299
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x1022c068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x298], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x29c], esi
mov dword [ebp - 0x290], 0
mov eax, dword [eax]
test eax, eax
je 0x1004a475
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x28c], 0
push ecx
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1004a496
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
xor edi, edi
mov dword [ebp - 0x290], 1
cmp dword [ebp - 0x28c], edi
jbe 0x1004a40d
xor eax, eax
mov dword [ebp - 0x294], 0x100
push eax
push eax
push eax
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x298]
push edi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x1004a40d
test eax, eax
jne 0x1004a42c
mov dword [ebp - 0x218], eax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1004a377
sub eax, edx
lea ecx, [ebp - 0x228]
sar eax, 1
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.10005040
mov dword [ebp - 4], 5
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
je 0x1004a3e2
movups xmm0, xmmword [ebp - 0x228]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x218]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [esi + 4], 0x18
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
jmp 0x1004a3f1
lea ecx, [ebp - 0x228]
push ecx
push eax
mov ecx, esi
call fcn.1000e870
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0
call fcn.10004e60
inc edi
cmp edi, dword [ebp - 0x28c]
jb 0x1004a310
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.10186332
mov esp, ebp
pop ebp
ret 4
mov edx, eax
lea ecx, [ebp - 0x270]
call fcn.10049a50
push eax
mov edx, str.RegEnumKeyEx_failed:
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x288]
call fcn.10006160
add esp, 4
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 4
call fcn.10001430
push 0x10229d38
lea eax, [ebp - 0x21c]
push eax
call fcn.101878e5
push str.key_is_NULL
lea ecx, [ebp - 0x21c]
call fcn.100013a0
push 0x10229e9c
lea eax, [ebp - 0x21c]
push eax
call fcn.101878e5
mov edx, eax
lea ecx, [ebp - 0x240]
call fcn.10049a50
push eax
mov edx, str.RegQueryInfoKey_failed:
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x258]
call fcn.10006160
add esp, 4
push eax
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 2
call fcn.10001430
push 0x10229d38
lea eax, [ebp - 0x2a8]
push eax
call fcn.101878e5
int3
Function at 0x1007f140
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov eax, ecx
mov ebx, edx
push edi
push 0
push 0x14
mov dword [ebp - 4], eax
mov dword [eax], 0
call fcn.1004dbb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1007f172
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x1022c9ec], 0
je 0x1007f1c4
mov edi, dword [0x1022caec]
test edi, edi
je 0x1007f19b
push 0xc8
mov ecx, edi
call dword [0x101d3368]
call edi
add esp, 4
test eax, eax
jne 0x1007f1c4
mov edi, dword [ebp + 8]
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x10050e50
push 0
push 0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
call fcn.101b23fe
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x1007f1d4
jmp 0x1007f1c7
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x1007f1f4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov ecx, ebx
mov dword [esi + 4], eax
call dword [0x101d3368]
call ebx
add esp, 4
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 4]
pop edi
mov dword [eax], esi
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10093320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
xor esi, esi
cmp dword [ecx + 0x14], esi
jle 0x100933be
nop
mov edi, esi
xor edi, 1
cmp esi, 2
cmovge edi, esi
test eax, eax
je 0x10093375
mov ecx, dword [ecx + 0x10]
mov edx, edi
add edx, edx
mov ebx, dword [ecx + edx*8]
sub ebx, dword [ebp + 8]
nop dword [eax]
movzx edx, byte [eax]
movzx ecx, byte [ebx + eax]
cmp edx, ecx
jne 0x1009339a
test edx, edx
jne 0x100933ac
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
add edi, edi
push 0
mov edx, ebx
mov ecx, dword [eax + edi*8 + 0xc]
add ecx, 8
call fcn.10052b90
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x1009344d
jmp 0x100933b2
movzx ecx, byte [ecx + 0x101ea4c0]
movzx edx, byte [edx + 0x101ea4c0]
sub edx, ecx
jne 0x100933af
inc eax
jmp 0x10093360
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
inc esi
mov eax, dword [ebp + 8]
cmp esi, dword [ecx + 0x14]
jl 0x10093340
mov edx, str.sqlite_master
sub edx, ebx
movzx ecx, byte [ebx]
movzx eax, byte [edx + ebx]
cmp ecx, eax
jne 0x100933ea
test ecx, ecx
jne 0x100933fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x100933ff
neg ecx
sbb ecx, ecx
jmp 0x10093422
movzx eax, byte [eax + 0x101ea4c0]
movzx ecx, byte [ecx + 0x101ea4c0]
sub ecx, eax
jne 0x1009344b
inc ebx
jmp 0x100933c5
test ecx, ecx
je 0x1009344b
mov esi, ecx
mov edx, eax
sub esi, eax
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x10093436
test ecx, ecx
jne 0x10093448
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x1009344b
mov ecx, dword [ebp - 4]
mov ebx, str.sqlite_temp_master
mov dword [ebp - 8], ebx
jmp 0x10093334
movzx eax, byte [eax + 0x101ea4c0]
movzx ecx, byte [ecx + 0x101ea4c0]
sub ecx, eax
jne 0x1009341f
inc edx
jmp 0x10093410
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10093610
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, ecx
mov dword [ebp - 8], edx
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [eax + 0x14], ebx
jle 0x100936a6
mov edx, dword [ebp + 8]
push esi
nop dword [eax]
mov eax, dword [eax + 0x10]
mov esi, edi
xor esi, 1
cmp edi, 2
cmovge esi, edi
shl esi, 4
add esi, eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
test edx, edx
je 0x10093665
mov esi, dword [esi]
mov eax, edx
sub esi, edx
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x10093691
test edx, edx
jne 0x100936a3
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea ecx, [eax + 0x18]
push 0
call fcn.10052b90
add esp, 4
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x10093688
mov eax, dword [ebp - 0xc]
inc edi
mov edx, dword [ebp + 8]
cmp edi, dword [eax + 0x14]
jl 0x10093630
pop esi
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [ecx + 0x101ea4c0]
movzx edx, byte [edx + 0x101ea4c0]
sub edx, ecx
jne 0x1009367c
inc eax
jmp 0x10093653
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100e2d30
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0xc]
jae 0x100e2d41
inc eax
mov dword [esi + 0x10], eax
pop esi
ret
cmp byte [esi + 0x1c], 0
jne 0x100e2d80
push dword [esi]
mov eax, dword [esi + 0x14]
push dword [esi + 8]
add dword [esi + 0x18], eax
push 1
push dword [esi + 4]
call fcn.1018f461
mov edx, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edx
lea ecx, [edx - 1]
add ecx, eax
mov dword [esi + 0xc], ecx
cmp eax, dword [esi + 8]
jae 0x100e2d80
mov byte [edx + eax], 0
inc dword [esi + 0xc]
mov byte [esi + 0x1c], 1
pop esi
ret
Function at 0x100e4130
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x100e4224
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x100e4213
jg 0x100e4170
test edx, edx
je 0x100e4213
nop dword [eax]
call fcn.10005710
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x100e41c4
jg 0x100e4187
test esi, esi
je 0x100e41c4
cmp ebx, eax
jg 0x100e4197
jl 0x100e4191
cmp edi, esi
jae 0x100e4197
mov esi, edi
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x20]
push dword [eax]
call fcn.10187960
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x100e41f7
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call dword [0x101d3368]
mov ecx, dword [esp + 0x10]
call esi
cmp eax, 0xffffffff
je 0x100e420d
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x100e4170
jl 0x100e420d
test edi, edi
jne 0x100e4170
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x100e4246
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x100e4248
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x100e42c6
jg 0x100e425b
test esi, esi
je 0x100e42c6
test eax, eax
jl 0x100e42a0
jg 0x100e4265
test ebx, ebx
je 0x100e42a0
cmp edi, eax
jg 0x100e4275
jl 0x100e426f
cmp esi, ebx
jae 0x100e4275
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.10187960
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, ebx
sub esi, ebx
mov eax, dword [ecx + 0x30]
sbb edi, dword [esp + 0x14]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
jmp 0x100e42a3
mov edx, dword [ebp + 8]
test edi, edi
jl 0x100e42c6
jg 0x100e42ad
test esi, esi
je 0x100e42c6
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x100e42c6
push eax
push esi
push 1
push edx
call fcn.101b0f89
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100e49b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1022c068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
cmp ebx, 0xffffffff
jne 0x100e49e0
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10186332
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x100e4a1c
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [esi + ecx]
cmp ecx, eax
jae 0x100e4a1c
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10186332
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 0x4c], 0
je 0x100e4b19
mov esi, dword [edi + 0xc]
lea eax, [edi + 0x3c]
cmp dword [esi], eax
jne 0x100e4a44
mov edx, dword [edi + 0x54]
mov ecx, dword [edi + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [edi + 0x1c]
mov dword [eax], ecx
mov eax, dword [edi + 0x2c]
mov dword [eax], edx
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x100e4a7a
push dword [edi + 0x4c]
movsx eax, bl
push eax
call fcn.1019f6bc
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop esi
pop edi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10186332
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x25], bl
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x101d3368]
mov ecx, dword [ebp - 0x2c]
call esi
test eax, eax
js 0x100e4b19
cmp eax, 1
jle 0x100e4ae9
cmp eax, 3
jne 0x100e4b19
lfence
push dword [edi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.1019f6bc
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop esi
pop edi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10186332
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x100e4b09
lfence
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.101b0f89
add esp, 0x10
cmp esi, eax
jne 0x100e4b19
lea eax, [ebp - 0x25]
mov byte [edi + 0x3d], 1
cmp dword [ebp - 0x34], eax
jne 0x100e4a07
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.10186332
mov esp, ebp
pop ebp
ret 4
Function at 0x100e5090
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1022c068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x100e516b
cmp byte [ebx + 0x3d], 0
je 0x100e516b
mov eax, dword [ebx]
push esi
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x101d3368]
mov ecx, ebx
call esi
cmp eax, 0xffffffff
je 0x100e5159
push edi
mov edi, dword [ebx + 0x38]
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 0x40]
push eax
call dword [0x101d3368]
mov ecx, edi
call esi
pop edi
sub eax, 0
je 0x100e511e
sub eax, 1
je 0x100e5122
sub eax, 2
jne 0x100e5159
mov byte [ebx + 0x3d], al
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10186332
mov esp, ebp
pop ebp
ret
mov byte [ebx + 0x3d], 0
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x100e5142
lfence
push dword [ebx + 0x4c]
push esi
push 1
push eax
call fcn.101b0f89
add esp, 0x10
cmp esi, eax
jne 0x100e5159
cmp byte [ebx + 0x3d], 0
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10186332
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10186332
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.10186332
mov esp, ebp
pop ebp
ret
Function at 0x1011e53a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, edx
mov dword [ebp - 0x10], eax
push edi
mov edi, ecx
mov dword [ebp - 8], edi
test eax, eax
jle 0x1011e62b
push ebx
push esi
mov ecx, dword [edi + 8]
mov ebx, dword [edi]
mov eax, dword [edi + 0xc]
add ebx, ecx
mov esi, dword [edi + 4]
mov edi, eax
adc esi, eax
shr edi, 0x13
shld eax, ecx, 0xd
xor edx, edx
mov dword [ebp - 4], esi
shl ecx, 0xd
or edx, eax
or edi, ecx
xor edx, esi
xor edi, ebx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 8]
mov ecx, dword [edi + 0x18]
mov edx, ecx
add edx, dword [edi + 0x10]
mov eax, dword [edi + 0x1c]
mov esi, eax
adc esi, dword [edi + 0x14]
mov edi, eax
shld eax, ecx, 0x10
shr edi, 0x10
shl ecx, 0x10
or edi, ecx
mov dword [ebp - 0xc], esi
xor edi, edx
mov dword [ebp - 0x18], edx
xor esi, esi
xor edx, edx
or esi, eax
or edx, ebx
xor esi, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, esi
mov ebx, dword [ebp - 8]
add eax, edi
mov dword [ebp - 4], eax
adc edx, esi
shr ecx, 0xb
shld esi, edi, 0x15
mov dword [ebx], eax
xor eax, eax
or eax, esi
shl edi, 0x15
or ecx, edi
mov dword [ebx + 4], edx
xor ecx, dword [ebp - 4]
xor eax, edx
mov edi, dword [ebp - 0x1c]
mov edx, edi
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x18], ecx
mov ecx, edi
mov ebx, dword [ebp - 0x14]
mov esi, ebx
add esi, dword [ebp - 0x18]
adc edx, dword [ebp - 0xc]
xor eax, eax
shld edi, ebx, 0x11
shr ecx, 0xf
or eax, edi
shl ebx, 0x11
mov edi, dword [ebp - 8]
xor eax, edx
or ecx, ebx
xor ecx, esi
mov dword [edi + 0xc], eax
xor eax, eax
or eax, esi
mov dword [edi + 8], ecx
sub dword [ebp - 0x10], 1
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], eax
jne 0x1011e555
pop esi
pop ebx
pop edi
leave
ret
Function at 0x10144e40
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x74]
test eax, eax
je 0x10144ebd
mov edi, dword [esi + 0x20]
add edi, eax
cmp dword [edi + 8], 6
je 0x10144e60
mov edx, 5
call fcn.101452e0
mov ecx, dword [esi + 8]
mov eax, dword [ecx - 0x10]
mov dword [ecx], eax
mov eax, dword [ecx - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ecx - 8]
mov dword [ecx + 8], eax
mov ecx, dword [esi + 8]
mov eax, dword [edi]
mov dword [ecx - 0x10], eax
mov eax, dword [edi + 4]
mov dword [ecx - 0xc], eax
mov eax, dword [edi + 8]
mov dword [ecx - 8], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 8]
cmp eax, 0x10
jg 0x10144ea7
mov edx, dword [esi + 0x2c]
mov ecx, esi
cmp edx, 1
jl 0x10144ea1
add edx, edx
jmp 0x10144ea2
inc edx
call fcn.101453c0
add dword [esi + 8], 0x10
mov ecx, esi
mov edx, dword [esi + 8]
push 1
add edx, 0xffffffe0
call fcn.10145c10
add esp, 4
test byte [esi + 0x38], 0x20
je 0x10144ed4
push 0xffffffffffffffff
mov edx, 5
mov ecx, esi
call fcn.10145520
add esp, 4
mov edx, 2
mov ecx, esi
pop edi
pop esi
jmp fcn.101452e0

Function at 0x101452e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x70]
test eax, eax
je 0x10145302
mov dword [eax + 0x44], edx
mov eax, dword [esi + 0x70]
push 1
add eax, 4
push eax
call fcn.101b1f33
mov eax, dword [esi + 0x10]
mov byte [esi + 6], dl
cmp dword [eax + 0x58], 0
je 0x10145327
call fcn.10145210
mov eax, dword [esi + 0x10]
push esi
mov esi, dword [eax + 0x58]
mov ecx, esi
call dword [0x101d3368]
call esi
add esp, 4
push 1
call fcn.1019c262
int3