joyce8/EMBER2024-capa huggingface dataset:
Function at 0xe91fd0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov ebx, ecx
push eax
lea ecx, [esp + 0x1c]
lea edi, [esp + 0x18]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call fcn.00e90b00
add esp, 4
test al, al
jne 0xe9200d
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov edi, ebx
call fcn.00e91f80
mov edi, eax
cmp edi, 0xffffffff
je 0xe92000
mov ecx, dword [esp + 0x18]
push 0x10
add ebx, 4
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push ecx
push ebx
push edi
xor esi, esi
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jg 0xe92043
mov dword [esp + 0x10], 0xffffffff
jmp 0xe9209d
push 0x1000
call fcn.00eb5786
add esp, 4
push 0x1000
mov esi, eax
push ebp
push esi
call fcn.00ec1460
add esp, 0xc
push ebp
push ebp
push ebp
push 0x1000
push esi
push edi
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, ebp
jg 0xe9207f
mov dword [esp + 0x10], 0xfffffffe
jmp 0xe9209d
cdq
push edx
push eax
push esi
call fcn.00e90c00
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [edx], eax
cmp eax, ebp
jne 0xe9209d
mov dword [esp + 0x10], 0xfffffffd
cmp ebx, ebp
je 0xe920aa
push ebx
call fcn.00eba026
add esp, 4
cmp esi, ebp
je 0xe920b7
push esi
call fcn.00eba026
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0xe992a0
Capabilities:
Hash data using crc32b

Disassembly:
cmp byte [0xf3b83c], 0
jne 0xe993f2
push esi
xor edx, edx
push edi
xor eax, eax
test dl, 1
je 0xe992bd
mov eax, 0x80
mov ecx, edx
shr ecx, 1
test cl, 1
je 0xe992c9
or eax, 0x40
shr ecx, 1
test cl, 1
je 0xe992d3
or eax, 0x20
shr ecx, 1
test cl, 1
je 0xe992dd
or eax, 0x10
shr ecx, 1
test cl, 1
je 0xe992e7
or eax, 8
shr ecx, 1
test cl, 1
je 0xe992f1
or eax, 4
shr ecx, 1
test cl, 1
je 0xe992fb
or eax, 2
test cl, 2
je 0xe99303
or eax, 1
shl eax, 0x18
mov ecx, eax
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
xor esi, esi
mov dword [edx*4 + 0xf3b840], ecx
mov eax, ecx
lea ecx, [esi + 0x1f]
lea esp, [esp]
test al, 1
je 0xe993cd
mov edi, 1
shl edi, cl
or esi, edi
dec ecx
shr eax, 1
cmp ecx, 0xffffffff
jg 0xe993c0
mov dword [edx*4 + 0xf3b840], esi
inc edx
cmp edx, 0xff
jle 0xe992b1
pop edi
mov byte [0xf3b83c], 1
pop esi
ret
Function at 0xe99a90
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0xf10c48
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0xf387a0]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
push edi
mov eax, dword [0xf387a0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
push eax
lea esi, [esp + 0x18]
call fcn.00ea30b0
mov eax, esi
push eax
lea edi, [esp + 0x17]
mov dword [esp + 0x48], 0
call fcn.00e99dc0
add esp, 4
test al, al
jne 0xe99b13
dec dword [0xf3bc40]
cmp dword [esp + 0x30], 8
mov dword [esp + 0x14], vtable.LString.0
jb 0xe99b0b
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00eb98f8
add esp, 4
or eax, 0xffffffff
jmp 0xe99b96
mov eax, dword [esp + 0x1c]
mov esi, 8
cmp dword [esp + 0x30], esi
jae 0xe99b26
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0xe99b5a
dec dword [0xf3bc40]
mov dword [esp + 0x14], vtable.LString.0
cmp dword [esp + 0x30], esi
jb 0xe99b53
mov edx, dword [esp + 0x1c]
push edx
call fcn.00eb98f8
add esp, 4
mov eax, 0xffffff9c
jmp 0xe99b96
test al, 1
je 0xe99b8b
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x30], esi
jae 0xe99b6c
lea ecx, [esp + 0x1c]
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x14]
test eax, eax
jne 0xe99b8f
call fcn.00ea2930
mov eax, 0xfffffffd
jmp 0xe99b96
lea ecx, [esp + 0x14]
call fcn.00ea2930
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00eb9637
add esp, 0x3c
ret
Function at 0xe99bc0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0xf10c48
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0xf387a0]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
push edi
mov eax, dword [0xf387a0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
push eax
lea esi, [esp + 0x18]
call fcn.00ea30b0
mov eax, esi
push eax
lea edi, [esp + 0x17]
mov dword [esp + 0x48], 0
call fcn.00e99dc0
add esp, 4
test al, al
jne 0xe99c43
dec dword [0xf3bc40]
cmp dword [esp + 0x30], 8
mov dword [esp + 0x14], vtable.LString.0
jb 0xe99c3b
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00eb98f8
add esp, 4
or eax, 0xffffffff
jmp 0xe99cc6
mov eax, dword [esp + 0x1c]
mov esi, 8
cmp dword [esp + 0x30], esi
jae 0xe99c56
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0xe99c8a
dec dword [0xf3bc40]
mov dword [esp + 0x14], vtable.LString.0
cmp dword [esp + 0x30], esi
jb 0xe99c83
mov edx, dword [esp + 0x1c]
push edx
call fcn.00eb98f8
add esp, 4
mov eax, 0xffffff9c
jmp 0xe99cc6
test al, 2
je 0xe99cbb
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x30], esi
jae 0xe99c9c
lea ecx, [esp + 0x1c]
and eax, 0xfffffffd
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x14]
test eax, eax
jne 0xe99cbf
call fcn.00ea2930
mov eax, 0xfffffffd
jmp 0xe99cc6
lea ecx, [esp + 0x14]
call fcn.00ea2930
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00eb9637
add esp, 0x3c
ret

Function at 0xe99dc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x24
mov eax, dword [0xf387a0]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
push esi
push eax
lea esi, [esp + 8]
call fcn.00ea30b0
mov eax, dword [esp + 0xc]
mov esi, 8
cmp dword [esp + 0x20], esi
jae 0xe99df0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
dec dword [0xf3bc40]
mov dword [esp + 4], vtable.LString.0
cmp eax, 0xffffffff
jne 0xe99e2f
cmp dword [esp + 0x20], esi
jb 0xe99e1d
mov eax, dword [esp + 0xc]
push eax
call fcn.00eb98f8
add esp, 4
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00eb9637
add esp, 0x24
ret
shr al, 4
and al, 1
mov byte [edi], al
cmp dword [esp + 0x20], esi
jb 0xe99e49
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00eb98f8
add esp, 4
mov ecx, dword [esp + 0x24]
pop esi
xor ecx, esp
mov al, 1
call fcn.00eb9637
add esp, 0x24
ret
Function at 0xe99e60
Capabilities:
Delete file

Disassembly:
sub esp, 0x24
mov eax, dword [0xf387a0]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
push esi
push eax
lea esi, [esp + 8]
call fcn.00ea30b0
mov eax, dword [esp + 0xc]
mov esi, 8
cmp dword [esp + 0x20], esi
jae 0xe99e90
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
dec dword [0xf3bc40]
mov dword [esp + 4], vtable.LString.0
test eax, eax
je 0xe99ece
cmp dword [esp + 0x20], esi
jb 0xe99ebc
mov eax, dword [esp + 0xc]
push eax
call fcn.00eb98f8
add esp, 4
mov al, 1
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00eb9637
add esp, 0x24
ret
cmp dword [esp + 0x20], esi
jb 0xe99ee1
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00eb98f8
add esp, 4
mov ecx, dword [esp + 0x24]
pop esi
xor ecx, esp
xor al, al
call fcn.00eb9637
add esp, 0x24
ret

Function at 0xe99f00
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0xf10c18
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0xf387a0]
xor eax, esp
mov dword [esp + 0x40], eax
push esi
push edi
mov eax, dword [0xf387a0]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, dword [esp + 0x64]
push eax
lea esi, [esp + 0x30]
mov edi, ecx
call fcn.00ea30b0
push edi
lea esi, [esp + 0x10]
mov dword [esp + 0x60], 0
call fcn.00ea30b0
mov ecx, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x28], esi
jae 0xe99f65
lea ecx, [esp + 0x14]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0xe99f73
lea eax, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
dec dword [0xf3bc40]
mov edi, vtable.LString.0
mov dword [esp + 0xc], edi
test eax, eax
je 0xe99fd9
cmp dword [esp + 0x28], esi
jb 0xe99fa1
mov eax, dword [esp + 0x14]
push eax
call fcn.00eb98f8
add esp, 4
dec dword [0xf3bc40]
xor ecx, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], cx
mov dword [esp + 0x2c], edi
cmp dword [esp + 0x48], esi
jb 0xe99fd5
mov edx, dword [esp + 0x34]
push edx
call fcn.00eb98f8
add esp, 4
mov al, 1
jmp 0xe9a022
cmp dword [esp + 0x28], esi
jb 0xe99fec
mov eax, dword [esp + 0x14]
push eax
call fcn.00eb98f8
add esp, 4
dec dword [0xf3bc40]
xor ecx, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], cx
mov dword [esp + 0x2c], edi
cmp dword [esp + 0x48], esi
jb 0xe9a020
mov edx, dword [esp + 0x34]
push edx
call fcn.00eb98f8
add esp, 4
xor al, al
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00eb9637
add esp, 0x54
ret
Function at 0xe9a040
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0xf11e17
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 edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0xf2cdac
mov dword [edi + 0x54], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 4]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.00e5fd60
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
call fcn.00e61cc0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
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], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0xf3bfe0]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
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 0xe9a820
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0xf10bdb
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0xf387a0]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push edi
mov eax, dword [0xf387a0]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esi + 0x24], 0xf
mov dword [esi + 0x20], ebx
mov dword [esp + 0x2c], esi
mov byte [esi + 0x10], bl
mov dword [esp + 0x7c], ebx
mov eax, dword [0xf3982c]
mov dword [esi], ebx
mov dword [esi + 4], 0xffffffff
mov byte [esi + 8], bl
cmp eax, 0x75bcd0d
je 0xe9a984
mov ecx, dword [0xf3982c]
cmp ecx, 0x75bcd0e
je 0xe9a984
lea edx, [esp + 0xc]
push edx
mov ecx, str.LVLMutexExLogMark
call fcn.00ea23b0
lea edi, [esp + 0x30]
mov byte [esp + 0x7c], 1
call fcn.00e9a1d0
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
lea edi, [esp + 0x54]
mov byte [esp + 0x80], 2
call fcn.00ea57b0
dec dword [0xf3bc40]
mov edi, 8
add esp, 4
mov dword [esp + 0x30], vtable.LString.0
cmp dword [esp + 0x4c], edi
jb 0xe9a8f3
mov edx, dword [esp + 0x38]
push edx
call fcn.00eb98f8
add esp, 4
dec dword [0xf3bc40]
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], ax
mov dword [esp + 0xc], vtable.LString.0
cmp dword [esp + 0x28], edi
jb 0xe9a927
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00eb98f8
add esp, 4
mov eax, dword [esp + 0x58]
xor edx, edx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], dx
cmp dword [esp + 0x6c], edi
jae 0xe9a948
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
dec dword [0xf3bc40]
mov dword [esp + 0x50], vtable.LString.0
add ecx, 0x75bcd0d
mov dword [0xf3982c], ecx
cmp dword [esp + 0x6c], edi
jb 0xe9a984
mov edx, dword [esp + 0x58]
push edx
call fcn.00eb98f8
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00eb9637
add esp, 0x74
ret
Function at 0xe9bd20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0xf0fa11
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0xf387a0]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
push edi
mov eax, dword [0xf387a0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov dword [esp + 0x10], 0
lea edi, [ebx + 4]
mov dword [ebx], vtable.LString.0
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], 0
mov word [edi + 4], ax
mov eax, 1
add dword [0xf3bc40], eax
mov dword [esp + 0x14], ebx
mov esi, ecx
xor ecx, ecx
push 0x3a
push ecx
lea edx, [esp + 0x42]
mov dword [esp + 0x88], 0
push edx
mov dword [esp + 0x1c], eax
mov word [esp + 0x44], cx
call fcn.00ec1460
movzx eax, byte [esi + 5]
movzx ecx, byte [esi + 4]
movzx edx, byte [esi + 3]
add esp, 0xc
push eax
movzx eax, byte [esi + 2]
push ecx
movzx ecx, byte [esi + 1]
push edx
movzx edx, byte [esi]
push eax
push ecx
push edx
lea eax, [esp + 0x50]
push str._.2X:_.2X:_.2X:_.2X:_.2X:_.2X
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00ea23b0
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x24]
mov esi, 1
push edx
mov ecx, edi
mov dword [esp + 0x8c], esi
call fcn.00e51940
sub dword [0xf3bc40], esi
cmp dword [esp + 0x34], 8
mov dword [esp + 0x18], vtable.LString.0
jb 0xe9be28
mov eax, dword [esp + 0x20]
push eax
call fcn.00eb98f8
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00eb9637
add esp, 0x78
ret
Function at 0xe9fe50
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0xf0debb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0xf387a0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00eb5d2a
push 4
mov dword [esp + 0x24], 0
call fcn.00eb9980
mov edi, eax
add esp, 4
test edi, edi
je 0xe9fed2
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 0xe9fec7
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00eb5d13
jmp 0xe9fed4
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 + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0xea1f80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
cmp byte [esi + 4], 0
mov dword [esi], 0
jne 0xea1f95
xor al, al
add esp, 8
ret
cmp dword [eax + 0x1c], 8
mov ecx, 4
mov dword [esp + 4], ecx
mov dword [esp], ecx
jb 0xea1fac
mov eax, dword [eax + 8]
jmp 0xea1faf
add eax, 8
push edi
lea ecx, [esp + 4]
push ecx
push edx
mov edx, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
mov dword [esi], eax
sete al
pop edi
add esp, 8
ret

Function at 0xea1fe0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0xf0e023
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0xf387a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
push esi
mov dword [esp + 0x18], 1
call fcn.00eb5aa0
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0xea2031
mov eax, dword [esi + 0x1c]
push eax
call fcn.00eb98f8
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0xea30b0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0xf1095b
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0xf387a0]
xor eax, esp
mov dword [esp + 0x82c], eax
push edi
mov eax, dword [0xf387a0]
xor eax, esp
push eax
lea eax, [esp + 0x83c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x84c]
xor edi, edi
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], edi
call fcn.00ea47c0
push 0x800
lea ecx, [esp + 0x32]
xor eax, eax
push edi
mov dword [esp + 0x84c], edi
push ecx
mov word [esp + 0x38], ax
call fcn.00ec1460
mov eax, dword [esp + 0x20]
mov edi, 8
add esp, 0xc
cmp dword [esp + 0x28], edi
jae 0xea3133
lea eax, [esp + 0x14]
push 0x400
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0xea316d
push esi
lea ecx, [esp + 0x30]
call fcn.00ea23b0
dec dword [0xf3bc40]
mov dword [esp + 0xc], vtable.LString.0
cmp dword [esp + 0x28], edi
jb 0xea3199
mov eax, dword [esp + 0x14]
push eax
jmp 0xea3191
lea ecx, [esp + 0xc]
push ecx
push esi
call fcn.00ea28c0
dec dword [0xf3bc40]
mov dword [esp + 0xc], vtable.LString.0
cmp dword [esp + 0x28], edi
jb 0xea3199
mov edx, dword [esp + 0x14]
push edx
call fcn.00eb98f8
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x83c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x82c]
xor ecx, esp
call fcn.00eb9637
add esp, 0x840
ret 4

Function at 0xea33e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xf108e0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0xf387a0]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov eax, dword [0xf387a0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [esp + 0x60]
push eax
lea eax, [esp + 0x30]
push eax
mov esi, ecx
call fcn.00ea28c0
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x5c], 0
call fcn.00ea3260
push esi
lea edx, [esp + 0x10]
push edx
call fcn.00ea28c0
lea eax, [esp + 0xc]
push eax
mov byte [esp + 0x5c], 1
call fcn.00ea3260
cmp dword [esp + 0x48], 8
mov edx, dword [esp + 0x34]
jae 0xea345c
lea edx, [esp + 0x34]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xea3461
sub eax, esi
sar eax, 1
push edx
mov ebx, eax
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x14]
call fcn.00e53a30
dec dword [0xf3bc40]
mov ebx, 8
mov esi, eax
mov dword [esp + 0xc], vtable.LString.0
cmp dword [esp + 0x28], ebx
jb 0xea34a8
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00eb98f8
add esp, 4
dec dword [0xf3bc40]
xor edx, edx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], dx
mov dword [esp + 0x2c], vtable.LString.0
cmp dword [esp + 0x48], ebx
jb 0xea34e0
mov eax, dword [esp + 0x34]
push eax
call fcn.00eb98f8
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00eb9637
add esp, 0x50
ret 8
Function at 0xeaea40
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [edi]
mov ebx, eax
test esi, esi
jne 0xeaea51
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [edi], 0
mov edi, edi
mov eax, 0x400000
cmp esi, 0x400000
ja 0xeaea6f
mov eax, esi
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
mov eax, dword [edx]
push ebx
push eax
mov dword [esp + 0x20], 0
call ebp
mov ecx, dword [esp + 0xc]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0xeaeaa6
test ecx, ecx
je 0xeaea9f
test esi, esi
ja 0xeaea60
pop ebp
pop esi
xor eax, eax
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0xeaeac0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [edi]
mov ebx, eax
test esi, esi
jne 0xeaead1
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [edi], 0
mov edi, edi
mov eax, 0x400000
cmp esi, 0x400000
ja 0xeaeaef
mov eax, esi
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
mov eax, dword [edx]
push ebx
push eax
mov dword [esp + 0x20], 0
call ebp
mov ecx, dword [esp + 0xc]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0xeaeb26
test ecx, ecx
je 0xeaeb1f
test esi, esi
ja 0xeaeae0
pop ebp
pop esi
xor eax, eax
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebp
pop esi
pop ebx
pop ecx
ret
Function at 0xeb18e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0xf3d240], ecx
inc edx
cmp edx, 0x100
jb 0xeb18e3
cmp edx, 0x800
jae 0xeb19b9
lea ecx, [ecx]
mov eax, dword [edx*4 + 0xf3ce40]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0xf3d240]
inc edx
mov dword [edx*4 + 0xf3d23c], eax
cmp edx, 0x800
jb 0xeb1990
mov eax, 0xeb2660
mov dword [0xf3d228], eax
mov dword [0xf3f240], eax
mov dword [0xf3d224], 0xeb2710
call fcn.00eb2910
test eax, eax
jne 0xeb19e5
mov dword [0xf3f240], 0xeb2710
pop ecx
ret