joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101a7ba0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x101ab270
lea eax, [ebp - 0x18]
mov ebx, dword [ebp + 0x10]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
movzx eax, byte [0x10283b09]
push 4
push 8
call fcn.10013860
add esp, 8
test eax, eax
je 0x101a7c8b
mov esi, eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], ecx
push 0
push 0x10000
push esi
push 0x101a7d00
push eax
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
je 0x101a7c1d
mov dword [edi + 4], eax
mov byte [edi], 4
jmp 0x101a7c78
mov eax, dword [esi]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
test eax, eax
je 0x101a7c43
mov dword [ebp - 0x10], 1
push dword [ebp - 0x24]
call eax
mov edi, dword [ebp + 8]
add esp, 4
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
test eax, eax
je 0x101a7c5d
push dword [edx + 8]
push eax
push ecx
call fcn.10013870
add esp, 0xc
push 4
push 8
push dword [ebp - 0x28]
call fcn.10013870
add esp, 0xc
call dword [sym.imp.kernel32.dll_GetLastError]
mov byte [edi], 0
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
push 8
push 4
call fcn.101cb670
add esp, 8
ud2
Function at 0x101a8000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], esp
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x34], 0x101ab2b0
lea eax, [esi + 0x30]
mov ecx, dword fs:[0]
mov dword [esi + 0x30], ecx
mov dword fs:[0], eax
movq xmm0, qword [0x10283be0]
movd ecx, xmm0
pshufd xmm0, xmm0, 0x55
movd edx, xmm0
mov eax, ecx
or eax, edx
jne 0x101a8089
mov eax, esi
mov dword [esi + 4], 0
mov dword [esi], 0
push eax
call dword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x101a8127
mov ecx, dword [esi]
mov edx, dword [esi + 4]
movq xmm0, qword [esi]
mov eax, ecx
movq qword [0x10283be0], xmm0
or eax, edx
je 0x101a815d
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], eax
push edx
push ecx
push dword [ebp + 0xc]
push eax
mov ebx, ecx
mov dword [esi + 0x1c], ecx
call fcn.101c3250
mov edi, edx
mov dword [esi + 0x14], eax
mul ebx
imul ecx, edi, 0x3b9aca00
imul edi, ebx
mov ebx, dword [esi + 0x14]
add edi, edx
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp + 0xc]
mov edx, ebx
imul edx, dword [esi + 0x10]
add edi, edx
sub dword [esi + 0xc], eax
mov edx, 0x3b9aca00
mov eax, ebx
sbb ecx, edi
mul edx
mov edi, eax
mov eax, dword [esi + 0xc]
mov ebx, edx
mov edx, 0x3b9aca00
imul ecx, ecx, 0x3b9aca00
add ebx, dword [esi + 0x18]
mul edx
add edx, ecx
push dword [esi + 0x10]
push dword [esi + 0x1c]
push edx
push eax
call fcn.101c3250
add edi, eax
adc edx, ebx
push 0
push 0x3b9aca00
push edx
push edi
call fcn.101c3250
imul ecx, eax, 0x3b9aca00
sub edi, ecx
mov ecx, dword [esi + 0x30]
mov dword fs:[0], ecx
mov ecx, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x38], 0
lea eax, [esi + 0x20]
push 0x10249ee0
push 0x10247aa8
push eax
push 0x2b
push 0x10247ac8
call fcn.101cbbf0
add esp, 0x14
ud2
push 0x10249054
call fcn.101cbeb0
nop word [eax + eax]
push ebp
sub esp, 0x14
lea esi, [ebp - 0x3c]
mov ebp, dword [esi + 0x28]
lea eax, [esi + 0x20]
push eax
call fcn.1018e940
add esp, 0x18
pop ebp
ret
Function at 0x101aa400
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1b8
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
movzx eax, word [eax + 8]
mov word [ebp - 0xe], ax
mov eax, dword [0x10283bcc]
cmp eax, 4
jne 0x101aa4f0
lea eax, [ebp - 0xe]
cmp ebx, 0x17f
mov dword [ebp - 0x18], eax
ja 0x101aa507
lea esi, [ebp - 0x1c4]
push ebx
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [ebp + ebx - 0x1c4], 0
inc ebx
lea eax, [ebp - 0x24]
push ebx
push esi
push eax
call fcn.101b5d90
add esp, 0xc
test byte [ebp - 0x24], 1
je 0x101aa48c
mov eax, dword [0x10248e60]
mov esi, dword [ebp + 8]
mov ecx, dword [0x10248e64]
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov dword [esi], 1
jmp 0x101aa518
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x44]
movups xmmword [ebp - 0x44], xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x3c], 1
push ecx
push edx
push 0
push eax
call dword [sym.imp.ws2_32.dll_getaddrinfo]
mov esi, dword [ebp + 8]
test eax, eax
je 0x101aa4d9
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ecx, 1
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov dword [esi], ecx
jmp 0x101aa518
mov eax, dword [ebp - 0x14]
movzx ecx, word [ebp - 0xe]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
xor eax, eax
mov word [esi + 0xc], cx
mov dword [esi], eax
jmp 0x101aa518
call fcn.101ca750
lea eax, [ebp - 0xe]
cmp ebx, 0x17f
mov dword [ebp - 0x18], eax
jbe 0x101aa43f
lea eax, [ebp - 0x18]
mov ecx, esi
mov edx, edi
push eax
push ebx
call fcn.101ca7d0
add esp, 8
mov eax, esi
add esp, 0x1b8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101aa680
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
xorps xmm0, xmm0
mov esi, ecx
lea eax, [esp + 8]
mov dword [esp + 8], 0x80
lea ecx, [esp + 0x20]
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
push ecx
push edx
call dword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x101aa75c
movzx ecx, word [esp + 0x20]
mov eax, dword [esp + 8]
cmp ecx, 2
je 0x101aa775
cmp ecx, 0x17
jne 0x101aa795
cmp eax, 0x1b
jbe 0x101aa7ac
movsd xmm0, qword [esp + 0x28]
movzx eax, word [esp + 0x22]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov word [esi], 1
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x30]
rol ax, 8
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [esp + 0xe]
movsd xmm1, qword [esp + 0x16]
movzx edi, word [esp + 0x1e]
movsd qword [esi + 2], xmm0
movsd qword [esi + 0xa], xmm1
mov word [esi + 0x12], di
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
mov word [esi + 0x1c], ax
jmp 0x101aa7a5
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov byte [esi + 4], 0
mov byte [esi + 7], 0
mov word [esi + 5], 0
mov dword [esi + 8], eax
jmp 0x101aa7a0
cmp eax, 0xf
jbe 0x101aa7bd
movzx ecx, word [esp + 0x22]
mov eax, dword [esp + 0x24]
mov word [esi], 0
rol cx, 8
mov dword [esi + 2], eax
mov word [esi + 6], cx
jmp 0x101aa7a5
mov byte [esi + 4], 2
mov dword [esi + 8], 0x1024a25c
mov word [esi], 2
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
push 0x1024a23c
push 0x3a
push 0x1024a200
call fcn.101cb950
push 0x1024a1f0
push 0x39
push str.assertion_failed:_len___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
call fcn.101cb950
int3
Function at 0x101ca7d0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov esi, ecx
lea eax, [ebp - 0x20]
push dword [ebp + 8]
push edx
push eax
call fcn.101b1de0
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov ecx, eax
neg ecx
jno 0x101ca848
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
xorps xmm0, xmm0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x38], 1
push eax
push ecx
push 0
push edi
call dword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x101ca872
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [esi + 8], eax
mov eax, 1
mov dword [esi + 4], 0
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
jne 0x101ca892
jmp 0x101ca89e
mov ecx, dword [0x10248e60]
mov edx, dword [0x10248e64]
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], 1
jae 0x101ca89e
push 1
push eax
push dword [ebp - 0x1c]
call fcn.10013870
add esp, 0x40
jmp 0x101ca8a1
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
movzx eax, word [eax]
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov word [esi + 0xc], ax
xor eax, eax
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
je 0x101ca89e
push 1
push ebx
push edi
call fcn.10013870
add esp, 0xc
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x41268a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00412509

Function at 0x416a81
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004163ef

Function at 0x416a8c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041662a

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x426362d4
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x31fc0f0d
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x476f52ea
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x1e555c82
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x44b9f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.HSP1
lea edi, [esi - 0x2c000]
push edi
or ebp, 0xffffffff
jmp 0x44ba12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x44ba19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44ba08
mov eax, 1
add ebx, ebx
jne 0x44ba2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x44ba3c
jne 0x44ba4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44ba4c
dec eax
add ebx, ebx
jne 0x44ba48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x44ba20
xor ecx, ecx
sub eax, 3
jb 0x44ba64
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44bad6
sar eax, 1
mov ebp, eax
jmp 0x44ba6f
add ebx, ebx
jne 0x44ba6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x44ba7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x44baa0
inc ecx
add ebx, ebx
jne 0x44ba8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44ba81
jne 0x44ba9d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44ba81
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x44bac0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x44bab1
jmp 0x44ba0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x44bac0
add edi, ecx
jmp 0x44ba0e
pop esi
mov edi, esi
mov ecx, 0x328
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x44bade
cmp byte [edi], 2
jne 0x44bade
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x44bae3
lea edi, [esi + 0x49000]
mov eax, dword [edi]
or eax, eax
je 0x44bb5b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4d140]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4d17c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44bb10
mov ecx, edi
jns 0x44bb3f
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4d180]
or eax, eax
je 0x44bb55
mov dword [ebx], eax
add ebx, 4
jmp 0x44bb2d
call dword [esi + 0x4d184]
popal
jmp 0x402940
Function at 0x10001130
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000f443
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x10018004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 4], 0
mov dword [ebp - 4], 0
mov dword [ebx + 8], vtable.http::nostl::error_handler_t.0
mov byte [ebx + 0xc], 1
mov dword [ebx + 0x10], 0
push dword [ebp + 8]
mov byte [ebp - 4], 1
mov dword [ebx], vtable.http::nostl::session_t.0
mov dword [ebx + 8], vtable.http::nostl::session_t.1.0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
mov edx, 2
lea esi, [eax + 1]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10002937
add esp, 4
mov dword [ebp - 0x10], eax
push esi
push eax
push esi
push dword [ebp + 8]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [ebp - 0x10]
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebx + 4], eax
test esi, esi
je 0x100011ea
push esi
call fcn.100028f4
add esp, 4
cmp dword [ebx + 4], 0
jne 0x10001210
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x10001200
push eax
call fcn.10006068
add esp, 4
push str.WinHttpOpen___failed
call fcn.10006014
add esp, 4
mov dword [ebx + 0x10], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10001a50
Capabilities:
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10018004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 4], edi
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], 0
mov dword [esi], vtable.http::nostl::response_t.1.0
mov dword [esi + 8], vtable.http::nostl::response_t.0
mov dword [esi + 0x14], 0xffffffff
test edi, edi
je 0x10001b36
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x10001ad2
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10001aae
push eax
call fcn.10006068
add esp, 4
push str.WinHttpReceiveResponse___failed
call fcn.10006014
add esp, 4
mov dword [esi + 0x10], eax
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100028e3
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
push 0
push 0x20000013
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x10001b30
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10001b0c
push eax
call fcn.10006068
add esp, 4
push str.WinHttpWriteData_did_not_send_entire_request_t_body
call fcn.10006014
add esp, 4
mov dword [esi + 0x10], eax
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100028e3
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 8]
mov dword [esi + 0x14], eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.100028e3
mov esp, ebp
pop ebp
ret 4
Function at 0x10001be0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10018004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], eax
push edi
mov edi, dword [ebp + 8]
cmp dword [ebx + 4], 0
jne 0x10001c17
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100028e3
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
push esi
mov esi, eax
test eax, eax
je 0x10001c78
lea eax, [ebp - 8]
push eax
push dword [ebx + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x10001ccd
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x10001c75
nop dword [eax]
test esi, esi
je 0x10001c75
cmp ecx, esi
mov eax, esi
cmovb eax, ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
push edi
push dword [ebx + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x10001c98
mov eax, dword [ebp - 0xc]
add edi, eax
mov ecx, dword [ebp - 8]
sub esi, eax
sub ecx, eax
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x10001c40
test esi, esi
jne 0x10001c21
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10001c83
sub eax, esi
mov dword [ecx], eax
pop esi
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100028e3
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x10001ca8
push eax
call fcn.10006068
add esp, 4
push str.WinHttpReadData___failed
call fcn.10006014
add esp, 4
mov dword [ebx + 0x10], eax
xor al, al
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100028e3
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x10001cdd
push eax
call fcn.10006068
add esp, 4
push str.WinHttpQueryDataAvailable___failed
call fcn.10006014
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [ebx + 0x10], eax
xor ecx, ebp
xor al, al
pop esi
pop edi
pop ebx
call fcn.100028e3
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10001e90
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000f4b3
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x10018004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_60.0.3112.113_Safari_537.36
lea ecx, [ebp - 0x24]
call fcn.10001130
mov dword [ebp - 4], 0
push 0x5c
push 0
lea ecx, [ebp - 0xb8]
push ecx
call fcn.10003e80
add esp, 0xc
push str.http:__www.microsoft.com
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0xb8]
call fcn.100012c0
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
push str.http:__www.microsoft.com
push 0x10015618
lea ecx, [ebp - 0x5c]
call fcn.100018d0
mov byte [ebp - 4], 2
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xb8]
call fcn.10001510
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.10001d50
cmp eax, 0xc8
je 0x10001f84
lea ecx, [ebp - 0x3c]
call fcn.10001d50
cmp eax, 0x12e
jne 0x10001fcb
mov byte [ebp - 0xb9], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.10001ba0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.10001a00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.100014c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10001280
mov al, byte [ebp - 0xb9]
jmp 0x10002046
mov byte [ebp - 0xba], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.10001ba0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.10001a00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.100014c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10001280
mov al, byte [ebp - 0xba]
jmp 0x10002046
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100028e3
mov esp, ebp
pop ebp
ret
Function at 0x100025d0
Capabilities:
Execute vbscript javascript or jscript in memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10018004]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x100194a8
push 0x100194a0
mov eax, dword [ebp + 8]
push eax
call fcn.10002060
add esp, 0xc
test eax, eax
jne 0x100025ff
jmp 0x1000276a
mov ecx, dword [0x100194a0]
push ecx
call fcn.10002530
add esp, 4
mov dword [ebp - 0x24], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [ebp - 0x14]
push edx
push str.Javascript
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x100156bc
push 0x17
push 0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x10002654
jmp 0x1000276a
push 0x100194ac
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x10002683
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 8]
call eax
jmp 0x1000276a
push 2
push str.Festival
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 0x20]
call ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x100026b4
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 8]
call edx
jmp 0x1000276a
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push 0x100156ac
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx]
call ecx
cmp dword [ebp - 0x1c], 0
je 0x1000270d
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [edx + 0x14]
call ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], 2
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 0x14]
call eax
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
je 0x1000274e
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [0x100194a0]
push eax
call fcn.10006068
add esp, 4
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 8]
call ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100028e3
mov esp, ebp
pop ebp
ret