joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44bad6
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x45649b
call fcn.004334fc
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004483e9
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x46e050]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.00446f15
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.00446f15
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x44ded8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x44df06
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44df24
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0044de3e
jmp 0x44df24
mov eax, dword [esi + 0x14]
test eax, eax
je 0x44df24
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0044de3e
test edi, edi
mov eax, edi
jne 0x44df0e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
invalid
jno 0x41538d
int 0x61
or al, 0x7a
clc
jmp 0xfe47d94b
outsb dx, byte [esi]
jno 0x4153c7
mov dword [0x2460183e], eax
cmp edi, ecx
imul esi, dword [ebp + 0xf01bb29], 0xd95b10cd
lds eax, [edi]
push ecx
lea edi, [edi - 0x7d6500bb]
clc
xor dword [esi], esp
cmp eax, dword [edx + 5]
push ebp
js 0x4153fe
mov ecx, 0x1b94b25
lea ebp, [ebx + 7]
invalid
Function at 0x10060a70
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [ecx + 4]
movzx eax, word [edi + 0xc]
cmp eax, dword [ecx + 0xc]
ja 0x10060b68
movzx edx, word [edi + eax*2 + 0xc]
push esi
mov esi, dword [esp + 0xc]
and edx, 0x3fff
cmp esi, eax
jae 0x10060b67
cmp dword [esp + 0x10], 0
push ebx
mov ebx, dword [esp + 0x18]
jne 0x10060ab2
movzx ecx, word [edi + esi*2 + 0xe]
and ecx, 0x3fff
jmp 0x10060ae6
test ebx, ebx
jle 0x10060ace
test esi, esi
jne 0x10060ac1
mov ecx, 0x1000
jmp 0x10060ae6
movzx ecx, word [edi + esi*2 + 0xc]
and ecx, 0x3fff
jmp 0x10060ae6
test esi, esi
jne 0x10060ad9
mov eax, 0x1000
jmp 0x10060ae3
movzx eax, word [edi + esi*2 + 0xc]
and eax, 0x3fff
lea ecx, [eax + ebx]
test ebx, ebx
js 0x10060aee
cmp edx, ebx
jb 0x10060b66
cmp ecx, edx
jb 0x10060b66
test ebx, ebx
js 0x10060b04
movzx eax, word [edi + esi*2 + 0xe]
and eax, 0x3fff
cmp eax, ebx
jl 0x10060b66
sub ecx, edx
lea eax, [edx + edi]
push ecx
sub edx, ebx
push eax
add edx, edi
push edx
call fcn.10117c10
movzx eax, word [edi + 0xc]
add esp, 0xc
cmp esi, eax
jae 0x10060b47
lea edx, [esi + 7]
lea edx, [edi + edx*2]
movzx eax, word [edx]
lea edx, [edx + 2]
mov ecx, eax
inc esi
sub ecx, ebx
xor ecx, eax
and ecx, 0x3fff
xor ecx, eax
mov word [edx - 2], cx
movzx eax, word [edi + 0xc]
cmp esi, eax
jb 0x10060b26
movzx ecx, word [edi + 0xc]
mov eax, 0x3fff
mov dx, word [edi + ecx*2 + 0xc]
and dx, ax
lea eax, [ecx + ecx]
sub dx, ax
sub dx, 0xe
mov word [edi + 2], dx
pop ebx
pop esi
pop edi
ret 0xc

Function at 0x10061a70
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x214
mov eax, dword [0x1013567c]
xor eax, esp
mov dword [esp + 0x210], eax
cmp dword [esp + 0x21c], 0x28
mov eax, dword [esp + 0x220]
push ebx
mov ebx, dword [ecx + 4]
push ebp
mov ebp, dword [esp + 0x220]
jae 0x10061ab4
push 1
push 0xfffffbe9
mov ecx, eax
call fcn.10062a50
jmp 0x10061b54
push esi
push edi
push 0x6b39dac7
lea ecx, [esp + 0x14]
call fcn.100626b0
push 0x6b39dac7
lea ecx, [esp + 0x11c]
call fcn.100626b0
lea eax, [ebx + 0x18]
push 0x80
push eax
lea ecx, [esp + 0x18]
call fcn.10062720
cvttsd2si edi, qword [ebx + 0x72]
lea ecx, [ebx + 0x42]
mov esi, 4
mov edx, ecx
sub esi, ecx
xor dword [edx], edi
lea edx, [edx + 4]
lea eax, [esi + edx]
cmp eax, 0x28
jle 0x10061af8
movdqu xmm0, xmmword [ecx]
mov edx, 4
sub edx, ecx
movdqu xmmword [ebp], xmm0
movdqu xmm0, xmmword [ecx + 0x10]
movdqu xmmword [ebp + 0x10], xmm0
movq xmm0, qword [ecx + 0x20]
movq qword [ebp + 0x20], xmm0
cvttsd2si esi, qword [ebx + 0x72]
mov edi, edi
xor dword [ecx], esi
lea ecx, [ecx + 4]
lea eax, [edx + ecx]
cmp eax, 0x28
jle 0x10061b30
push 0x80
lea eax, [ebx + 0x18]
push eax
lea ecx, [esp + 0x120]
call fcn.10062720
pop edi
pop esi
mov ecx, dword [esp + 0x218]
pop ebp
pop ebx
xor ecx, esp
call fcn.1011720d
add esp, 0x214
ret 0xc
Function at 0x10061b70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x194
mov eax, dword [0x1013567c]
xor eax, esp
mov dword [esp + 0x190], eax
push ebx
push esi
mov esi, dword [ecx + 4]
mov ecx, 0x20
push edi
add esi, 0x18
lea edi, [esp + 0x10]
cmp dword [ebp + 8], 0
rep movsd dword es:[edi], dword [esi]
je 0x10061bed
push 0x6b39dac7
lea ecx, [esp + 0x94]
call fcn.100626b0
push 0x80
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x98]
call fcn.10062720
cvttsd2si edx, qword [esp + 0x6a]
mov ecx, 4
lea eax, [esp + 0x3a]
lea ebx, [ebx]
xor dword [eax], edx
lea eax, [eax + 4]
add ecx, 4
cmp ecx, 0x28
jle 0x10061be0
mov eax, dword [esp + 0x6a]
xor ebx, ebx
mov dword [esp + 0xc], eax
jmp 0x10061c00
movzx edi, byte [esp + ebx*2 + 0x42]
lea esi, [ebx + 3]
lea ecx, [esi + 1]
mov eax, 0xaaaaaaab
mul ecx
mov ecx, ebx
shr edx, 4
lea eax, [edx + edx*2]
shl eax, 3
sub ecx, eax
mov eax, 0xaaaaaaab
add ecx, 4
shl edi, cl
lea ecx, [esi - 2]
mul ecx
mov ecx, ebx
shr edx, 4
lea eax, [edx + edx*2]
shl eax, 3
sub ecx, eax
movzx eax, byte [esp + ebx*2 + 0x3c]
inc ecx
shl eax, cl
lea ecx, [esi - 1]
xor edi, eax
mov eax, 0xaaaaaaab
mul ecx
mov ecx, ebx
shr edx, 4
lea eax, [edx + edx*2]
shl eax, 3
sub ecx, eax
movzx eax, byte [esp + ebx*2 + 0x3e]
add ecx, 2
shl eax, cl
mov ecx, ebx
xor edi, eax
mov eax, 0xaaaaaaab
mul esi
shr edx, 4
lea eax, [edx + edx*2]
shl eax, 3
sub ecx, eax
movzx eax, byte [esp + ebx*2 + 0x40]
add ecx, 3
shl eax, cl
mov ecx, ebx
xor edi, eax
mov eax, 0xaaaaaaab
mul ebx
shr edx, 4
lea eax, [edx + edx*2]
movzx edx, byte [esp + ebx*2 + 0x3a]
shl eax, 3
add ebx, 5
sub ecx, eax
mov eax, dword [esp + 0xc]
shl edx, cl
xor edi, edx
xor eax, edi
mov dword [esp + 0xc], eax
cmp ebx, 0x28
jb 0x10061c00
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1011720d
mov esp, ebp
pop ebp
ret 4

Function at 0x10061e00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x190
mov eax, dword [0x1013567c]
xor eax, esp
mov dword [esp + 0x18c], eax
push esi
mov esi, dword [ecx + 4]
lea ecx, [esp + 0x84]
push edi
push 0x6b39dac7
call fcn.100626b0
add esi, 0x18
lea edi, [esp + 8]
mov ecx, 0x20
lea eax, [esp + 8]
rep movsd dword es:[edi], dword [esi]
push 0x80
push eax
lea ecx, [esp + 0x90]
call fcn.10062720
cvttsd2si edx, qword [esp + 0x62]
mov ecx, 4
lea eax, [esp + 0x32]
xor dword [eax], edx
lea eax, [eax + 4]
add ecx, 4
cmp ecx, 0x28
jle 0x10061e63
mov ecx, dword [esp + 0x194]
xor eax, eax
cmp word [esp + 0x32], ax
pop edi
setne al
pop esi
xor ecx, esp
call fcn.1011720d
mov esp, ebp
pop ebp
ret 4
Function at 0x10004340
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 0x10004426
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 0x10004415
jg 0x10004380
test edx, edx
je 0x10004415
nop dword [eax]
call fcn.10005b40
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x100043d4
jg 0x10004397
test esi, esi
je 0x100043d4
cmp ebx, eax
jg 0x100043a7
jl 0x100043a1
cmp edi, esi
jae 0x100043a7
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.100307b0
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 0x100043f9
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
movzx eax, byte [eax]
push eax
call dword [edx + 0xc]
cmp eax, 0xffffffff
je 0x1000440f
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x10004380
jl 0x1000440f
test edi, edi
jne 0x10004380
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 0x10004448
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x1000444a
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x100044c8
jg 0x1000445d
test esi, esi
je 0x100044c8
test eax, eax
jl 0x100044ac
jg 0x10004467
test ebx, ebx
je 0x100044ac
cmp edi, eax
jg 0x10004477
jl 0x10004471
cmp esi, ebx
jae 0x10004477
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.100307b0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x100044c8
jg 0x100044af
test esi, esi
je 0x100044c8
jmp 0x100044af
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x100044c8
push eax
push esi
push 1
push edx
call fcn.10038c20
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 0x10004a20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1006e064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10004a50
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002eba3
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10004a8c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x10004a8c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002eba3
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x10004b74
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10004ab4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10004ae7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.1003844b
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002eba3
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x10004b47
sub eax, 1
je 0x10004b47
sub eax, 2
jne 0x10004b74
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.1003844b
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002eba3
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10004b64
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10038c20
add esp, 0x10
cmp edi, eax
jne 0x10004b74
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x10004a77
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002eba3
mov esp, ebp
pop ebp
ret 4
Function at 0x10005890
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1006e064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1000594a
cmp byte [esi + 0x3d], 0
je 0x1000594a
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10005938
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10005900
sub eax, 1
je 0x10005904
sub eax, 2
jne 0x10005938
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002eba3
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10005921
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10038c20
add esp, 0x10
cmp edi, eax
jne 0x10005938
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002eba3
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002eba3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1002eba3
mov esp, ebp
pop ebp
ret

Function at 0x10006020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055970
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1006e064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1002f0e1
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1001749e
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100078f0
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
jne 0x1000791a
push 0x62
push str.C:UsersERRORDesktopLoader6609CoHookDiscordSDK_srcconnection_win.cpp
push 0x10065a44
call fcn.10037a1a
add esp, 0xc
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
test esi, esi
jne 0x1000793b
push 0x67
push str.C:UsersERRORDesktopLoader6609CoHookDiscordSDK_srcconnection_win.cpp
push str.self
call fcn.10037a1a
add esp, 0xc
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 4]
push edi
cmp eax, 0xffffffff
je 0x100079bf
push 0
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push ecx
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x100079ac
mov edi, dword [ebp + 0xc]
cmp dword [ebp - 4], edi
jb 0x100079bf
push 0
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x100079ac
cmp edi, dword [ebp + 0xc]
je 0x100079a2
push 0x74
push str.C:UsersERRORDesktopLoader6609CoHookDiscordSDK_srcconnection_win.cpp
push str.bytesToRead__bytesRead
call fcn.10037a1a
add esp, 0xc
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi], 0
mov dword [esi + 4], 0xffffffff
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10009e00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10009e7f
push esi
call fcn.10001830
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x1000e4f0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x1000e790
push 0
push 0
call esi
push 0
push 0
push 0
push 0x1000e950
push 0
push 0
call esi
push 0
push 0
push 0
push 0x1000ea50
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10009c80
push 0
push 0
call esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
pop esi
mov eax, 1
pop ebp
ret 0xc
test eax, eax
jne 0x10009e76
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
Function at 0x1000ab10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x10099010]
push esi
push dword [ebp + 8]
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call fcn.100307b0
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x1000abf7
mov eax, dword [edi]
test eax, eax
jne 0x1000ab6e
push 0x4f
push str.C:UsersERRORDesktopLoader6609CoHookDiscordSDK_srcconnection_win.cpp
push str.self
call fcn.10037a1a
add esp, 0xc
jmp 0x1000abb0
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x1000abb0
test ebx, ebx
jne 0x1000ab90
push 0x56
push str.C:UsersERRORDesktopLoader6609CoHookDiscordSDK_srcconnection_win.cpp
push 0x10065a44
call fcn.10037a1a
add esp, 0xc
jmp 0x1000abb0
push 0
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x1000abb0
cmp dword [ebp + 0xc], esi
je 0x1000abf7
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x1000abd0
mov eax, dword [edi + 4]
cmp eax, 3
je 0x1000abc4
cmp eax, 1
jne 0x1000abd0
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10010410
Capabilities:
Create thread
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055f70
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x1006e064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x3f0
call fcn.1003970c
add esp, 4
mov edi, eax
mov eax, 0x15b4
push 0x3e8
lea esi, [edi + 8]
mov word [edi + 2], ax
push 0
push esi
mov dword [edi + 4], 1
call fcn.10030d30
mov ecx, 0x10063fec
add esp, 0xc
sub esi, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x10010477
mov ecx, dword [0x10072294]
mov eax, 0x3f0
push eax
push edi
mov word [edi], ax
call dword [0x1007229c]
push edi
call fcn.100372cf
mov edx, dword [0x10094ab8]
add esp, 4
call fcn.10011430
mov eax, dword [0x10094ab8]
push 0
push 2
mov dword [eax], eax
mov eax, dword [0x10094ab8]
mov dword [eax + 4], eax
mov dword [0x10094abc], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1001061a
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0x2a8], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10010613
nop dword [eax]
lea ecx, [ebp - 0x78]
call fcn.10010a50
mov dword [ebp - 4], 0
lea eax, [ebp - 0x284]
cmp word [ebp - 0x284], 0
je 0x10010529
nop
add eax, 2
cmp word [eax], 0
jne 0x10010520
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x78]
call fcn.10010de0
mov byte [ebp - 4], 1
cmp dword [0x10094abc], 0x7ffffff
mov edi, dword [0x10094ab8]
je 0x10010636
mov dword [ebp - 0x2b0], 0x10094ab8
mov byte [ebp - 4], 2
push 0x20
mov dword [ebp - 0x2ac], 0
call fcn.1002f0e1
mov esi, eax
add esp, 4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2ac], esi
lea ecx, [esi + 8]
push eax
call fcn.10005170
inc dword [0x10094abc]
mov eax, dword [edi + 4]
mov dword [esi], edi
mov dword [esi + 4], eax
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
mov dword [edi + 4], esi
mov dword [ebp - 0x2ac], 0
mov dword [eax], esi
cmp edx, 0x10
jb 0x100105de
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100105d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010640
push edx
push ecx
call fcn.1002f0b0
add esp, 8
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.10010990
lea eax, [ebp - 0x2a8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10010500
push eax
push eax
push eax
push 0x1000fb70
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002eba3
mov esp, ebp
pop ebp
ret
push str.list_too_long
call fcn.10017189
call fcn.10037cd8
int3