joyce8/EMBER2024-capa huggingface dataset:
Function at 0xe56cd0
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
imul ecx, eax
push edi
mov dword [esi + 8], ecx
test ebp, ebp
jne 0xe56cec
mov ebp, edx
mov ecx, dword [esi + 4]
xor edi, edi
test cl, cl
jns 0xe56d66
test edx, edx
jne 0xe56d25
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00eb5786
mov edi, eax
mov eax, dword [esi + 0x1c]
add eax, eax
push eax
push ebp
push edi
call fcn.00ec08c0
add esp, 0x10
mov edx, edi
mov ebp, edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0xe56d42
lea esp, [esp]
movzx ecx, word [edx + eax*2 - 2]
dec eax
rol cx, 8
mov word [edx + eax*2], cx
test eax, eax
jne 0xe56d30
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [esi + 0x20]
push ecx
mov dword [eax], str.endian_swap
call fcn.00e54cc0
add esp, 0x18
mov edx, dword [esi]
mov eax, dword [esi + 8]
push edx
push 1
push eax
push ebp
call fcn.00ebb234
add esp, 0x10
cmp eax, 1
sete bl
test edi, edi
je 0xe56d8b
push edi
call fcn.00eba026
add esp, 4
test bl, bl
je 0xe56dce
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
add dword [esi + 0x14], ecx
cmp dword [esi + 0x54], 8
push 0xffffffffffffffff
push edx
push 0x18
push ecx
mov ecx, esp
jb 0xe56dab
mov eax, dword [esi + 0x40]
jmp 0xe56dae
lea eax, [esi + 0x40]
push ecx
mov dword [ecx], eax
mov eax, esp
add esi, 0x20
push esi
mov dword [eax], str.write
call fcn.00e54cc0
add esp, 0x18
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
ret 4
push esi
call fcn.00e56420
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
ret 4
Function at 0xe58130
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0xf0eba9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0xf387a0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0x18], edi
lea ebp, [esi + 4]
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x1c], esi
mov word [ebp], ax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], 1
mov ebx, eax
lea edx, [eax + 2]
jmp 0xe58190
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0xe58190
sub eax, edx
mov edi, dword [esi + 0x14]
sar eax, 1
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [ecx + eax + 7]
cmp edi, eax
ja 0xe581e3
cmp dword [esi + 0x18], eax
je 0xe581e3
push 1
push eax
mov ecx, esi
call fcn.00e51bf0
test al, al
je 0xe581e3
cmp dword [esi + 0x18], 8
mov dword [esi + 0x14], edi
jb 0xe581dc
mov ebp, dword [ebp]
xor ecx, ecx
mov word [ebp + edi*2], cx
movzx eax, word [ebx]
test ax, ax
je 0xe582f7
mov edi, dword [esp + 0x34]
and edi, 0x100
mov dword [esp + 0x14], edi
test edi, edi
je 0xe5821a
lea edx, [eax - 0x22]
cmp dx, 0x1c
ja 0xe582df
movzx ecx, ax
movsx ebp, byte [ecx + 0xf29982]
jmp 0xe58231
lea edx, [eax - 0x26]
cmp dx, 0x18
ja 0xe582df
movzx ecx, ax
movsx ebp, byte [ecx + 0xf2999e]
test ebp, ebp
je 0xe582df
test byte [esp + 0x34], 8
je 0xe582b7
cmp ax, 0x26
jne 0xe582b7
movzx eax, word [ebx + 2]
lea edi, [ebx + 2]
lea edx, [eax - 0x23]
cmp dx, 0x57
ja 0xe58264
movzx ecx, ax
movsx ecx, byte [ecx + 0xf299bd]
test ecx, ecx
jne 0xe5826a
cmp ax, 0x7f
jbe 0xe582b7
movzx eax, word [edi + 2]
add edi, 2
cmp ax, 0x3b
je 0xe582a1
lea edx, [eax - 0x2d]
cmp dx, 0x4d
ja 0xe5828e
movzx ecx, ax
movsx ecx, byte [ecx + 0xf29a13]
test ecx, ecx
jne 0xe58294
cmp ax, 0x7f
jbe 0xe582b7
movzx eax, word [edi + 2]
add edi, 2
cmp ax, 0x3b
jne 0xe58277
mov eax, edi
sub eax, ebx
sar eax, 1
inc eax
push eax
push ebx
call fcn.00e5b3b0
mov ebx, edi
mov edi, dword [esp + 0x14]
jmp 0xe582e7
mov edx, dword [ebp*4 + 0xf39f34]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xe582c3
sub eax, edi
sar eax, 1
push eax
push edx
call fcn.00e5b3b0
mov edi, dword [esp + 0x14]
jmp 0xe582e7
push 1
push ebx
call fcn.00e5b3b0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
jne 0xe581fd
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0xe5e590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0xf0f508
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0xf387a0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x8c]
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 4]
mov esi, dword [edi + 0x14]
sub eax, 2
mov ebx, 1
cmp esi, eax
ja 0xe5e5fa
cmp dword [edi + 0x18], eax
je 0xe5e5fa
push ebx
push eax
call fcn.00e515c0
test al, al
je 0xe5e5fa
cmp dword [edi + 0x18], 0x10
mov dword [edi + 0x14], esi
jb 0xe5e5f3
mov eax, dword [edi + 4]
jmp 0xe5e5f6
lea eax, [edi + 4]
mov byte [eax + esi], 0
mov esi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
sub ecx, ebx
add esi, ebx
mov dword [esp + 0x18], ecx
cmp esi, ecx
je 0xe5e7db
jmp 0xe5e616
mov ecx, dword [esp + 0x18]
mov al, byte [esi]
add esi, ebx
mov byte [esp + 0x20], al
cmp al, 0x22
je 0xe5e7db
cmp al, 0x5c
jne 0xe5e717
cmp esi, ecx
je 0xe5e733
mov al, byte [esi]
movsx eax, al
add esi, ebx
add eax, 0xffffffde
mov dword [esp + 0x8c], esi
cmp eax, 0x53
ja case.0xe5e657.35
movzx eax, byte [eax + 0xe5e81c]
jmp dword [eax*4 + 0xe5e7f4]
push 0x22
jmp 0xe5e71c
push 0x2f
jmp 0xe5e71c
push 0x5c
jmp 0xe5e71c
push 8
jmp 0xe5e71c
push 0xc
jmp 0xe5e71c
push 0xa
jmp 0xe5e71c
push 0xd
jmp 0xe5e71c
push 9
jmp 0xe5e71c
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
lea ecx, [esp + 0x98]
mov edx, ebp
call fcn.00e5e870
test al, al
je 0xe5e77f
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0x5c]
call fcn.00e5c9a0
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov dword [esp + 0x8c], ebx
call fcn.00e510b0
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x74], 0x10
jb 0xe5e6f9
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00eb98f8
add esp, 4
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
jmp 0xe5e724
mov edx, dword [esp + 0x20]
push edx
push ebx
mov ecx, edi
call fcn.00e52d50
cmp esi, dword [esp + 0x18]
jne 0xe5e612
jmp 0xe5e7db
push 0x1f
xor edi, edi
push str.Empty_escape_sequence_in_string
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
call fcn.00e511b0
mov edx, dword [esp + 0x88]
push esi
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x88], edi
call fcn.00e5eb20
cmp dword [esp + 0x3c], 0x10
mov bl, al
jb 0xe5e7db
mov eax, dword [esp + 0x28]
push eax
jmp 0xe5e7d3
xor al, al
jmp 0xe5e7dd
push 0x1d
push str.Bad_escape_sequence_in_string
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
call fcn.00e511b0
mov edx, dword [esp + 0x88]
push esi
push ebp
lea ecx, [esp + 0x48]
mov dword [esp + 0x88], 2
call fcn.00e5eb20
cmp dword [esp + 0x58], 0x10
mov bl, al
jb 0xe5e7db
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00eb98f8
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8
Function at 0xe61cc0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0xf0df1b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0xf387a0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00eb5d2a
push 4
mov dword [esp + 0x20], 0
call fcn.00eb9980
mov edi, eax
add esp, 4
test edi, edi
je 0xe61d3e
call fcn.00eb5b9b
mov dword [edi], eax
call fcn.00eb5a70
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00eb5ceb
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0xe61d33
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00eb5d13
jmp 0xe61d40
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0xe6c3d0
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
sub esp, 0x408
mov eax, dword [0xf387a0]
xor eax, esp
mov dword [esp + 0x404], eax
push ebp
push esi
push edi
push 0x3ff
lea eax, [esp + 0x15]
push 0
push eax
mov esi, ecx
mov edi, edx
mov byte [esp + 0x1c], 0
call fcn.00ec1460
add esp, 0xc
push 0
push 0
push 0
push 0
push str.mbwkestanddll
mov dword [esp + 0x20], 1
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
test ebp, ebp
je 0xe6c4b8
cmp dword [esi + 0x18], 8
jb 0xe6c434
mov esi, dword [esi + 4]
jmp 0xe6c437
add esi, 4
push 0
push 0x4000000
push 0
push 0
push esi
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
je 0xe6c4b1
push 0xf24ea8
push edi
call fcn.00ebae0f
mov edi, eax
add esp, 8
test edi, edi
je 0xe6c4aa
cmp dword [esp + 0xc], 0
jbe 0xe6c4a1
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [esp + 0x10]
push ecx
push 0x3ff
lea edx, [esp + 0x1c]
push edx
push esi
call ebx
mov eax, dword [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.00ebb234
add esp, 0x10
cmp dword [esp + 0x10], 0
ja 0xe6c472
pop ebx
push edi
call fcn.00eba42b
add esp, 4
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [esp + 0x410]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00eb9637
add esp, 0x408
ret
Function at 0xe6c900
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
push str.ole32.dll
call esi
push str.dsound.dll
mov ebx, eax
call esi
push str.Winmm.dll
mov ebp, eax
call esi
mov edi, eax
test ebx, ebx
je 0xe6c9d9
test ebp, ebp
je 0xe6c9d9
test edi, edi
je 0xe6c9d9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CoCreateInstance
push ebx
call esi
push str.CoGetClassObject
push ebx
mov dword [0xf3b804], eax
call esi
push str.DirectSoundCreate8
push ebp
mov dword [0xf3b808], eax
call esi
push str.DirectSoundCreate
push ebp
mov dword [0xf3b81c], eax
call esi
push str.waveOutOpen
push edi
mov dword [0xf3b810], eax
call esi
push str.midiStreamOpen
push edi
mov dword [0xf3b80c], eax
call esi
push str.waveOutWrite
push edi
mov dword [0xf3b814], eax
call esi
push str.PlaySoundW
push edi
mov dword [0xf3b818], eax
call esi
push str.mmioOpenW
push edi
mov dword [0xf3b820], eax
call esi
push str.mixerOpen
push edi
mov dword [0xf3b824], eax
call esi
push str.sndPlaySoundW
push edi
mov dword [0xf3b828], eax
call esi
pop edi
pop esi
pop ebp
mov dword [0xf3b82c], eax
mov al, 1
pop ebx
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret

Function at 0xe6cb60
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
push esi
push 0x48
xor ebx, ebx
push ebx
push edi
call fcn.00ec1460
mov eax, dword [esp + 0x28]
push 0xf24ea4
push eax
call fcn.00ebae0f
mov esi, eax
add esp, 0x14
cmp esi, ebx
jne 0xe6cb90
pop esi
xor al, al
pop ebx
add esp, 0x10
ret
push esi
push 4
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.00eba397
push esi
push 4
lea edx, [esp + 0x28]
push 1
push edx
call fcn.00eba397
add esp, 0x20
cmp dword [esp + 0x10], ebx
mov dword [edi + 0x44], ebx
mov byte [esp + 0xb], bl
mov dword [esp + 0xc], ebx
jle 0xe6cc86
push ebp
lea ebp, [edi + 4]
lea ebx, [edi + 8]
lea ecx, [ecx]
push esi
push 4
push 1
push edi
call fcn.00eba397
push esi
push 4
push 1
push ebp
call fcn.00eba397
push esi
push 0x3c
push 1
push ebx
call fcn.00eba397
add esp, 0x30
mov eax, ebx
mov ecx, 0x3c
jmp 0xe6cc00
xor byte [eax], 0x55
inc eax
sub ecx, 1
jne 0xe6cc00
mov eax, dword [esp + 0x24]
push ebx
push eax
call fcn.00ecee30
add esp, 8
test eax, eax
je 0xe6cc3e
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jl 0xe6cbd0
pop ebp
push esi
call fcn.00eba42b
mov al, byte [esp + 0xf]
add esp, 4
pop esi
pop ebx
add esp, 0x10
ret
mov ecx, dword [ebp]
inc ecx
push ecx
mov byte [esp + 0x13], 1
call fcn.00ebc657
mov edx, dword [edi]
push 0
push edx
push esi
mov dword [edi + 0x44], eax
call fcn.00ebaeb0
mov eax, dword [ebp]
mov ecx, dword [edi + 0x44]
push esi
push eax
push 1
push ecx
call fcn.00eba397
xor eax, eax
add esp, 0x20
cmp dword [ebp], eax
jbe 0xe6cc85
mov edx, dword [edi + 0x44]
xor byte [edx + eax], 0x55
lea ecx, [edx + eax]
inc eax
cmp eax, dword [ebp]
jb 0xe6cc75
pop ebp
push esi
call fcn.00eba42b
mov al, byte [esp + 0xf]
add esp, 4
pop esi
pop ebx
add esp, 0x10
ret
Function at 0xe6cd40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
cmp dword [ebx + 8], 0
push ebp
push esi
push edi
jne 0xe6cdbf
mov eax, dword [esp + 0x14]
mov esi, ecx
mov edx, ebx
call fcn.00e6d350
test eax, eax
je 0xe6cdbf
mov eax, ebx
call fcn.00e6d3e0
mov ebp, eax
test ebp, ebp
je 0xe6cdbf
push 0x40
push 0x3000
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
je 0xe6cdbf
mov eax, dword [esp + 0x14]
push eax
push edi
mov esi, ebx
call fcn.00e6d460
mov eax, dword [ebx + 0x10]
cmp dword [eax + 0xa0], 0
jbe 0xe6cda6
cmp dword [eax + 0xa4], 0
jbe 0xe6cda6
push ebx
call fcn.00e6cf40
push ebx
mov ecx, edi
call fcn.00e6cfc0
test eax, eax
jne 0xe6cdc8
push 0x8000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 4
lea ecx, [esp + 0x14]
push ecx
push 0x40
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebx + 0x10]
mov dword [edx + 0x34], edi
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x28]
push 0
push 1
lea eax, [ecx + edi]
push edi
mov dword [ebx + 4], eax
call eax
test eax, eax
jne 0xe6ce1a
mov edx, dword [ebx + 4]
push eax
push eax
push edi
call edx
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [ebx + 4], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 4
mov dword [ebx + 8], edi
pop edi
pop esi
mov dword [ebx], 1
mov eax, 1
pop ebp
pop ecx
ret 4

Function at 0xe6d350
Capabilities:
Parse pe header

Disassembly:
cmp esi, 0x40
jae 0xe6d358
xor eax, eax
ret
mov ecx, 0x5a4d
mov dword [edx + 0xc], eax
cmp word [eax], cx
jne 0xe6d355
mov ecx, dword [eax + 0x3c]
push edi
lea edi, [ecx + 0xf8]
cmp esi, edi
jb 0xe6d3d6
add eax, ecx
mov dword [edx + 0x10], eax
cmp dword [eax], 0x4550
jne 0xe6d3d6
movzx ecx, word [eax + 0x16]
test ecx, 0x2000
je 0xe6d3d6
test cl, 2
je 0xe6d3d6
mov ecx, pe_nt_image_headers32
cmp word [eax + 0x14], cx
jne 0xe6d3d6
mov edi, dword [edx + 0x10]
push ebx
lea ecx, [eax + 0xf8]
xor ebx, ebx
mov dword [edx + 0x14], ecx
xor eax, eax
cmp bx, word [edi + 6]
pop ebx
jae 0xe6d3cf
add ecx, 0x10
mov edi, dword [ecx + 4]
add edi, dword [ecx]
cmp edi, esi
ja 0xe6d3d6
mov edi, dword [edx + 0x10]
movzx edi, word [edi + 6]
inc eax
add ecx, 0x28
cmp eax, edi
jl 0xe6d3b7
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0xe6d460
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esi + 0x10]
movzx ecx, word [eax + 6]
mov edx, dword [eax + 0x54]
push ebx
lea ecx, [ecx + ecx*4]
push ebp
mov ebp, dword [esp + 0xc]
lea eax, [edx + ecx*8]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push ebp
call fcn.00ec08c0
mov edx, dword [esi + 0x10]
xor eax, eax
add esp, 0xc
xor ebx, ebx
cmp ax, word [edx + 6]
jae 0xe6d4cd
push edi
xor edi, edi
mov ecx, dword [esi + 0x14]
lea eax, [ecx + edi]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0xe6d4bd
mov edx, dword [eax + 0x10]
test edx, edx
je 0xe6d4bd
push edx
mov edx, dword [eax + 0x14]
add edx, dword [esp + 0x18]
add ecx, ebp
push edx
push ecx
call fcn.00ec08c0
add esp, 0xc
mov eax, dword [esi + 0x10]
movzx ecx, word [eax + 6]
inc ebx
add edi, 0x28
cmp ebx, ecx
jl 0xe6d495
pop edi
mov dword [esi + 0xc], ebp
mov edx, dword [ebp + 0x3c]
lea eax, [edx + ebp]
mov dword [esi + 0x10], eax
add eax, 0xf8
pop ebp
mov dword [esi + 0x14], eax
pop ebx
ret 8

Function at 0xe6e6a0
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ecx
cmp dword [esp + 8], 0
push ebp
mov ebp, dword [esp + 0x10]
push esi
je 0xe6e77a
test ebp, ebp
je 0xe6e77a
call fcn.00e6e600
test al, al
je 0xe6e77a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov dword [esp + 0x1c], eax
xor esi, esi
lea ecx, [ecx]
test eax, eax
ja 0xe6e70b
mov ecx, dword [0xf3be94]
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
push ecx
call edi
push 0x3e8
call ebx
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, 0x14
jl 0xe6e6e0
pop edi
pop ebx
test eax, eax
je 0xe6e77a
push eax
call fcn.00eb5786
mov esi, eax
add esp, 4
test esi, esi
je 0xe6e77a
mov edx, dword [esp + 0x14]
push edx
push 0
push esi
call fcn.00ec1460
mov ecx, dword [esp + 0x20]
mov edx, dword [0xf3be94]
add esp, 0xc
push 0
lea eax, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0xe6e771
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x14]
jne 0xe6e771
mov ecx, dword [esp + 0x10]
mov dword [ecx], esi
mov dword [ebp], eax
pop esi
mov al, 1
pop ebp
pop ecx
ret 8
push esi
call fcn.00eba026
add esp, 4
mov eax, dword [0xf3be94]
cmp eax, 0xffffffff
je 0xe6e795
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0xf3be94], 0xffffffff
pop esi
xor al, al
pop ebp
pop ecx
ret 8

Function at 0xe6e7a0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [0xf3be94]
mov dword [esp + 4], 1
cmp eax, 0xffffffff
je 0xe6e805
push esi
push 0
lea ecx, [esp + 8]
push ecx
push 4
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
mov eax, dword [0xf3be94]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
mov dword [0xf3be94], 0xffffffff
pop esi
je 0xe6e7ff
cmp dword [esp], 4
jne 0xe6e7ff
mov eax, 1
add esp, 8
ret
xor eax, eax
add esp, 8
ret
xor al, al
add esp, 8
ret
Function at 0xe72fc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xf117b1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0xf387a0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov ebx, 7
xor edi, edi
xor eax, eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], edi
mov word [esi + 0x1c], ax
mov dword [esp + 0x1c], edi
xor ecx, ecx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], edi
mov word [esi + 0x38], cx
xor edx, edx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x64], edi
mov word [esi + 0x54], dx
lea eax, [esi + 0x8c]
push eax
mov byte [esp + 0x20], 2
call fcn.00e83a60
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xb8], edi
xor ecx, ecx
mov word [esi + 0xa8], cx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xdc], edi
xor edx, edx
mov word [esi + 0xcc], dx
mov dword [esi + 0xfc], ebx
mov dword [esi + 0xf8], edi
xor eax, eax
mov word [esi + 0xe8], ax
mov dword [esi + 0x118], ebx
mov dword [esi + 0x114], edi
mov word [esi + 0x104], cx
mov dword [esi + 0x134], ebx
mov dword [esi + 0x130], edi
mov word [esi + 0x120], dx
mov dword [esi + 0x150], ebx
mov dword [esi + 0x14c], edi
mov word [esi + 0x13c], ax
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x168], edi
mov word [esi + 0x158], cx
mov dword [esi + 0x188], ebx
mov dword [esi + 0x184], edi
mov word [esi + 0x174], dx
mov dword [esi + 0x1a4], ebx
mov dword [esi + 0x1a0], edi
mov word [esi + 0x190], ax
mov dword [esi + 0x1c4], ebx
mov dword [esi + 0x1c0], edi
mov word [esi + 0x1b0], cx
mov eax, 1
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi], edi
mov dword [esi + 0xc], 0x3e8
mov dword [esi + 0x10], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0xe77210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xf103db
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0xf387a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.00e83a60
lea eax, [esi + 0x18]
xor ebx, ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.00e83a60
lea ecx, [esi + 0x30]
push ecx
mov byte [esp + 0x18], 1
call fcn.00e83a60
lea edx, [esi + 0x48]
push edx
mov byte [esp + 0x18], 2
call fcn.00e83a60
lea eax, [esi + 0x60]
push eax
mov byte [esp + 0x18], 3
call fcn.00e83a60
lea ecx, [esi + 0x78]
push ecx
mov byte [esp + 0x18], 4
call fcn.00e83a60
lea edx, [esi + 0x90]
push edx
mov byte [esp + 0x18], 5
call fcn.00e83a60
lea eax, [esi + 0xa8]
push eax
mov byte [esp + 0x18], 6
call fcn.00e83a60
lea ecx, [esi + 0xc0]
push ecx
mov byte [esp + 0x18], 7
call fcn.00e83a60
mov dword [esi + 0xec], ebx
mov eax, 0xf
mov dword [esi + 0xf0], eax
mov byte [esi + 0xdc], bl
mov dword [esi + 0x118], eax
mov dword [esi + 0x114], ebx
mov byte [esi + 0x104], bl
mov dword [esi + 0xf8], 1
mov byte [esi + 0xf4], bl
mov dword [esi + 0xfc], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0xe7a7b0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0xf133f6
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0xf387a0]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push esi
push edi
mov eax, dword [0xf387a0]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
mov edi, ecx
lea ecx, [esp + 0x52]
xor eax, eax
push ebx
push ecx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x58], ax
call fcn.00ec1460
add esp, 0xc
push 1
push 0x23
lea edx, [esp + 0x54]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.LocalAppData
lea eax, [esp + 0x50]
push 0x104
push eax
call fcn.00eb9664
add esp, 0xc
xor ecx, ecx
lea eax, [esp + 0x4c]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xe7a850
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x38]
call fcn.00e51cc0
push 1
push 0xf24acc
lea esi, [esp + 0x38]
mov dword [esp + 0x268], ebx
call fcn.00e5b3b0
call fcn.00e76970
lea esi, [esp + 0x14]
call fcn.00e7da70
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x26c], 1
call fcn.00e5b6f0
mov byte [esp + 0x260], bl
cmp dword [esp + 0x2c], 8
jb 0xe7a8c3
mov eax, dword [esp + 0x18]
push eax
call fcn.00eb98f8
add esp, 4
push 7
push str.kit.dt
lea esi, [esp + 0x38]
call fcn.00e5b3b0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push ebx
mov eax, esi
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00e51940
call fcn.00e532e0
add esp, 0x1c
cmp dword [esp + 0x48], 8
jb 0xe7a913
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00eb98f8
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.00eb9637
add esp, 0x254
ret