joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c000
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10037890
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x10046ca0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 1
test byte [0x10049e64], al
jne 0x1000c050
or dword [0x10049e64], eax
push 0x100383c0
mov dword [0x10049e68], 0x1003e1d0
call fcn.10020a6b
add esp, 4
mov eax, dword [0x10049e18]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.1001abb0
push str._ssdodge.daw
push eax
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 4], 0
call fcn.10007d60
add esp, 0x14
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000c09b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x10049e18]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.1001abb0
push str._sdodge.daw
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.10007d60
add esp, 0x14
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000c0e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call esi
test eax, eax
je 0x1000c110
lea edx, [ebp - 0x10]
push edx
mov ecx, 0x10049e68
call fcn.1001c9c0
test eax, eax
je 0x1000c110
lea ecx, [ebp - 0x10]
call fcn.1000ca00
jmp 0x1000c122
mov eax, dword [ebp - 0x14]
push eax
call esi
test eax, eax
je 0x1000c122
lea ecx, [ebp - 0x14]
call fcn.1000c5d0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000c145
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000c16b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000df90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10036b10
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10046ca0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10046ca0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, dword [esp + 0x80]
mov esi, ecx
push 0x24
xor ebx, ebx
mov ebp, 0xf
push str.AlgorithmParametersBase:_parameter__
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10004dc0
push edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x58]
push ecx
mov dword [esp + 0x84], ebx
call fcn.10004420
push str.__not_used
push eax
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x90], 1
call fcn.10004420
add esp, 0x18
mov edi, eax
mov ecx, esi
mov byte [esp + 0x78], 2
call fcn.10020621
mov byte [esp + 0x78], 3
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 6
push ebx
mov dword [ecx + 0x14], ebp
mov dword [ecx + 0x10], ebx
push edi
mov byte [ecx], bl
call fcn.10005260
mov edi, 0x10
cmp dword [esp + 0x48], edi
jb 0x1000e070
mov eax, dword [esp + 0x34]
push eax
call fcn.100202a6
add esp, 4
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x64], edi
jb 0x1000e08f
mov ecx, dword [esp + 0x50]
push ecx
call fcn.100202a6
add esp, 4
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x2c], edi
jb 0x1000e0ae
mov edx, dword [esp + 0x18]
push edx
call fcn.100202a6
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::AlgorithmParametersBase::ParameterNotUsed.0
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.100202b1
add esp, 0x68
ret 4
Function at 0x1000e410
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
call edx
mov edi, dword [esp + 0x2c]
mov ebp, eax
mov eax, dword [esp + 0x38]
mov ecx, eax
and cl, 3
movzx ecx, cl
neg ecx
sbb ecx, ecx
mov esi, dword [esp + 0x28]
not ecx
and ecx, ebp
mov edx, edi
neg edx
sbb edx, edx
and edx, ebp
mov dword [esp + 0x10], edx
mov edx, eax
and dl, 2
movzx edx, dl
neg edx
sbb edx, edx
not edx
and edx, ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
test al, 8
je 0x1000e4a4
mov eax, dword [esp + 0x34]
mov ebx, eax
sub ebx, ebp
add esi, ebx
mov ebx, eax
sub ebx, ebp
add edi, ebx
mov ebx, dword [esp + 0x30]
sub eax, ebp
add ebx, eax
mov eax, dword [esp + 0x10]
neg eax
neg ecx
neg edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
jmp 0x1000e4a8
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
jb 0x1000e58b
mov ecx, eax
and ecx, 4
and eax, 1
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], eax
jmp 0x1000e4ca
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x1000e542
mov ecx, ebp
shr ecx, 2
xor eax, eax
test ecx, ecx
je 0x1000e502
mov edx, edi
mov edi, ebx
sub edx, esi
mov eax, esi
sub edi, esi
mov dword [esp + 0x28], ecx
mov ebx, dword [edx + eax]
xor ebx, dword [eax]
add eax, 4
dec ecx
mov dword [edi + eax - 4], ebx
jne 0x1000e4e7
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add eax, eax
add eax, eax
mov ecx, ebp
sub ecx, eax
je 0x1000e53c
lea edx, [eax + ebx]
mov dword [esp + 0x30], edx
lea edx, [eax + edi]
add eax, esi
test ecx, ecx
je 0x1000e53c
mov edi, dword [esp + 0x30]
sub edx, eax
sub edi, eax
mov dword [esp + 0x30], ecx
mov cl, byte [edx + eax]
xor cl, byte [eax]
inc eax
dec dword [esp + 0x30]
mov byte [edi + eax - 1], cl
jne 0x1000e528
mov edi, dword [esp + 0x2c]
push ebx
push 0
push ebx
jmp 0x1000e545
push ebx
push edi
push esi
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp dword [esp + 0x20], 0
je 0x1000e55b
inc byte [esi + ebp - 1]
mov eax, dword [esp + 0x34]
add ebx, dword [esp + 0x1c]
add edi, dword [esp + 0x10]
add esi, dword [esp + 0x18]
sub eax, ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], eax
cmp eax, ebp
jae 0x1000e4c6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x14
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x14
ret 0x14
Function at 0x100121f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10036dd9
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x10046ca0]
xor eax, esp
mov dword [esp + 4], eax
push ebx
push esi
push edi
mov eax, dword [0x10046ca0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov esi, ecx
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x10], esi
mov dword [esi + 0x14], ebx
mov dword [esp + 0x20], 2
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov ecx, dword [esp + 0x28]
mov dl, byte [esp + 0x30]
mov byte [esp + 0x20], 5
mov dword [esi + 0x24], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x34]
mov dword [esi], vtable.CryptoPP::HashFilter.0
mov dword [esi + 4], vtable.CryptoPP::HashFilter.1.0
mov byte [esi + 0x28], dl
push ebx
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.10005260
push 0xffffffffffffffff
lea ecx, [esi + 0x50]
mov byte [esp + 0x24], 6
push ebx
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov byte [ecx], bl
call fcn.10005260
mov eax, dword [esp + 0x34]
mov byte [esp + 0x20], 7
cmp eax, ebx
jge 0x100122b1
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov dword [esi + 0x2c], eax
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x100122cc
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [esp + 0x2c]
mov dword [esi + 0xc], eax
jmp 0x100122d3
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0xc], ecx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.100202b1
add esp, 0x14
ret 0x18

Function at 0x10013d80
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, eax
mov eax, ebp
shr eax, 2
xor ecx, ecx
xor edx, edx
test eax, eax
je 0x10013dba
mov edx, edi
sub esi, edi
mov dword [esp + 0xc], eax
push ebx
mov ebx, dword [esi + edx]
xor ebx, dword [edx]
add edx, 4
or ecx, ebx
dec eax
jne 0x10013da4
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
pop ebx
lea eax, [edx*4]
sub ebp, eax
jne 0x10013dd1
pop edi
xor eax, eax
test ecx, ecx
pop esi
sete al
pop ebp
pop ecx
ret
add esi, eax
add edi, eax
mov eax, ecx
mov edx, ecx
shr edx, 0x10
shr eax, 0x18
or al, dl
mov edx, ecx
shr edx, 8
or al, dl
or cl, al
test ebp, ebp
je 0x10013dff
mov eax, edi
sub esi, edi
mov edi, ebp
mov dl, byte [eax + esi]
xor dl, byte [eax]
inc eax
or cl, dl
dec edi
jne 0x10013df4
pop edi
xor eax, eax
test cl, cl
pop esi
sete al
pop ebp
pop ecx
ret
Function at 0x10014850
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [eax]
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [ecx]
mov ecx, dword [eax + 0x8c]
push edi
add ecx, 8
mov edi, 8
mov eax, esi
ror eax, 4
xor eax, dword [ecx - 8]
add ecx, 0x10
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x1003ce40]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x1003d040]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x1003d240]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x1003d440]
mov eax, dword [ecx - 0x14]
xor edx, ebx
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x1003cf40]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x1003d140]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x1003d340]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x1003d540]
xor edx, ebx
mov eax, edx
ror eax, 4
xor eax, dword [ecx - 0x10]
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x1003ce40]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x1003d040]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x1003d240]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x1003d440]
mov eax, dword [ecx - 0xc]
xor esi, ebx
xor eax, edx
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x1003cf40]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x1003d140]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x1003d340]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x1003d540]
xor esi, ebx
dec edi
jne 0x10014872
mov ecx, dword [esp + 0x18]
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x10016870
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10037120
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10046ca0]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x10046ca0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ecx]
push 1
push 0x10048d58
mov dword [esp + 0x28], edx
xor edx, edx
push edx
push eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
push eax
mov eax, dword [esi + 0x80]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x30], vtable.CryptoPP::ArraySink.1.0
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100202b1
mov esp, ebp
pop ebp
ret 8
Function at 0x10016f50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10036ce6
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10046ca0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov eax, dword [0x10046ca0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea esi, [edi + 0x10]
mov ecx, pe_nt_image_headers32
mov dword [esp + 0x20], edi
mov dword [edi + 0xc], 0xffffffff
mov dword [edi], vtable.CryptoPP::MessageQueue.0
mov dword [edi + 4], vtable.CryptoPP::MessageQueue.1.0
call fcn.10015de0
mov dword [esp + 0x48], 2
xor ebx, ebx
lea esi, [edi + 0x38]
push 8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], esi
mov dword [esi], ebx
call fcn.100207f3
add esp, 4
cmp eax, ebx
je 0x10017090
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea ecx, [esp + 0x14]
push ecx
push esi
mov byte [esp + 0x50], 3
call fcn.10017390
mov byte [esp + 0x48], 4
lea esi, [edi + 0x50]
push 8
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], esi
mov dword [esi], ebx
call fcn.100207f3
add esp, 4
cmp eax, ebx
je 0x10017067
mov dword [esi], eax
xor edx, edx
mov dword [eax + 4], edx
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [esi]
mov dword [edx], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea eax, [esp + 0x1c]
push eax
push esi
mov byte [esp + 0x50], 5
call fcn.10017720
mov eax, edi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100202b1
add esp, 0x40
ret
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], ebx
call fcn.100206ba
push 0x100425d0
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], vtable.std::bad_alloc.0
call fcn.10021901
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ebx
call fcn.100206ba
push 0x100425d0
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], vtable.std::bad_alloc.0
call fcn.10021901
int3
Function at 0x1001b870
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100350a0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10046ca0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp eax, ebx
jbe 0x1001b9f3
push eax
call fcn.10020192
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov edx, dword [ebp - 0x10]
mov eax, dword [edi]
push esi
push edx
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1001b9e3
mov eax, dword [0x10046a68]
mov edx, dword [eax + 0xc]
mov ecx, 0x10046a68
mov dword [ebp + 0xc], ebx
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
push ecx
push str.VarFileInfoTranslation
push esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x1001b967
mov ecx, dword [ebp + 8]
push 0x1003e0f0
call fcn.10007be0
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1001b949
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.100202a6
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
movzx ecx, word [eax + 2]
push edx
movzx edx, word [eax]
push ecx
push edx
lea eax, [ebp - 0x14]
push str.StringFileInfo_04x_04x_s
push eax
call fcn.1001a820
mov edi, dword [ebp - 0x14]
add esp, 0x14
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x18]
push edx
push edi
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1001b9c4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
push eax
call fcn.10007be0
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x1001b93d
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001b9e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.100202a6
add esp, 4
mov esi, dword [ebp + 8]
push 0x1003e0f0
mov ecx, esi
call fcn.10007be0
mov eax, esi
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 0x1001cb00
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push esi
push eax
mov dword [ebp - 4], 0
call fcn.1001aa40
add esp, 8
test al, al
je 0x1001cb64
mov ecx, dword [ebp + 0xc]
push 0
lea edx, [ebp - 4]
push edx
mov dword [esi + 0x5c], ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov eax, dword [ebp - 4]
and al, 4
sub al, 4
movzx eax, al
push 0
neg eax
push 0
sbb eax, eax
push 0
and eax, 4
push eax
push str.Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_5.2__.NET_CLR_1.1.4322__.NET_CLR_2.0.50727_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 0x54], eax
test eax, eax
jne 0x1001cb6d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x68], eax
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, esi
call fcn.1001ca60
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1001cfe0
Capabilities:
Reference cloudflare dns server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100352f1
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x10046ca0]
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 eax, dword [0x10046a68]
mov edx, dword [eax + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov ecx, 0x10046a68
mov dword [ebp - 0x41c], ebx
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x414], esi
push 0x3ff
lea eax, [ebp - 0x40f]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x420], ebx
mov byte [ebp - 0x410], bl
call fcn.10021fb0
add esp, 0xc
push ebx
lea ecx, [ebp - 0x420]
push ecx
push 0x3ff
lea edx, [ebp - 0x410]
push edx
push 0x10000001
call sub.urlmon.dll_UrlMkGetSessionOption
cmp eax, 0x8007000e
je 0x1001d082
cmp eax, ebx
jne 0x1001d172
mov eax, dword [0x10046a68]
mov edx, dword [eax + 0xc]
mov ecx, 0x10046a68
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x418], esi
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x1001d0d9
mov ecx, eax
movzx eax, cx
push ebx
push eax
mov dword [ebp - 0x41c], eax
call fcn.10008680
add esp, 8
cmp eax, ebx
je 0x1001d0f1
mov edx, dword [ebp - 0x41c]
push edx
push eax
lea ecx, [ebp - 0x418]
call fcn.10008080
jmp 0x1001d0eb
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x418]
call fcn.1000b6d0
mov esi, dword [ebp - 0x418]
push 0xb
push str.User_Agent:
lea ecx, [ebp - 0x414]
mov byte [ebp - 4], 2
call fcn.100082b0
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [ebp - 0x414]
call fcn.10008430
push 0xa
push str._Funshion_
lea ecx, [ebp - 0x414]
call fcn.10008430
push 7
push str.1.0.0.1
lea ecx, [ebp - 0x414]
call fcn.10008430
push 2
push 0x1003979c
lea ecx, [ebp - 0x414]
call fcn.10008430
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001d16c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x414]
xor ecx, ecx
mov eax, esi
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1001d186
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, edi
call fcn.1000d640
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x1001d1c1
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, edi
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.100202b1
mov esp, ebp
pop ebp
ret
Function at 0x1001d3f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2018
call fcn.10022500
mov eax, dword [0x10046ca0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov edi, 0x2000
push edi
mov dword [ebp - 0x2014], ebx
mov dword [ebp - 0x2018], eax
mov dword [ebp - 0x2010], ecx
mov dword [ebp - 0x200c], 0
call fcn.10020a82
mov ecx, dword [ebx]
add esp, 4
lea edx, [ebp - 0x200c]
push edx
mov esi, eax
mov eax, dword [ebp - 0x2010]
push esi
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x200c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp ebx, 0xea
jne 0x1001d4b4
lea ebx, [ebx]
add edi, 0x1000
push edi
push esi
call fcn.1002271f
mov ecx, dword [ebp - 0x2014]
add esp, 8
lea edx, [ebp - 0x200c]
push edx
mov edx, dword [ecx]
mov esi, eax
mov eax, dword [ebp - 0x2010]
push esi
push 0
push 0
push eax
push edx
mov dword [ebp - 0x200c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp ebx, 0xea
je 0x1001d470
xor eax, eax
push 0x2000
push eax
lea ecx, [ebp - 0x2006]
push ecx
mov word [ebp - 0x2008], ax
call fcn.10021fb0
add esp, 0xc
test ebx, ebx
jne 0x1001d4ed
mov edx, dword [ebp - 0x200c]
push edx
lea eax, [ebp - 0x2008]
push esi
push eax
call fcn.100215a0
add esp, 0xc
push esi
call fcn.10020903
mov esi, dword [ebp - 0x2018]
add esp, 4
lea ecx, [ebp - 0x2008]
push ecx
mov ecx, esi
call fcn.10007be0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.100202b1
mov esp, ebp
pop ebp
ret 8

Function at 0x1001f9c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1001fa0a
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [ebp + 8]
push ecx
push edx
push eax
push esi
mov dword [ebp + 8], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x100202b1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10046ca0]
jne 0x100202bb
repz ret
jmp fcn.100244fa