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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525271
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
mov ecx, 0x587944
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], edi
mov eax, dword [esi]
mov ecx, 1
mov dword [ebp - 0x10], ecx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
mov edi, 0x1f
sub eax, edi
or eax, ecx
jge 0x41ed4b
push edi
mov ecx, esi
call fcn.00406e00
mov eax, dword [esi]
cmp dword [eax - 8], edi
jge 0x41ed5c
push 0x80070057
call fcn.00406170
mov dword [eax - 0xc], edi
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + 0x3e], dx
mov ecx, 0x533384
sub ecx, eax
mov edx, edi
mov ebx, 0xe620
xor bx, word [ecx + eax]
add eax, 2
dec edx
mov word [eax - 2], bx
jne 0x41ed70
mov eax, dword [esi]
cmp dword [eax - 8], edi
jl 0x41ed52
mov dword [eax - 0xc], edi
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + 0x3e], cx
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 0x41edb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525271
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
mov ecx, 0x587944
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], edi
mov eax, dword [esi]
mov ecx, 1
mov dword [ebp - 0x10], ecx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
mov edi, 0xb
sub eax, edi
or eax, ecx
jge 0x41ee1b
push edi
mov ecx, esi
call fcn.00406e00
mov eax, dword [esi]
cmp dword [eax - 8], edi
jge 0x41ee2c
push 0x80070057
call fcn.00406170
mov dword [eax - 0xc], edi
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + 0x16], dx
mov ecx, 0x533634
sub ecx, eax
mov edx, edi
mov ebx, 0xe620
xor bx, word [ecx + eax]
add eax, 2
dec edx
mov word [eax - 2], bx
jne 0x41ee40
mov eax, dword [esi]
cmp dword [eax - 8], edi
jl 0x41ee22
mov dword [eax - 0xc], edi
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + 0x16], cx
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 0x423ab0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a36b
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x587978]
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 edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
cmp edi, ebx
je 0x423c1f
mov dword [ebp - 0x94], ebx
mov dword [ebp - 4], ebx
xor eax, eax
cmp eax, ebx
ja 0x423b01
cmp edi, 0xffffffff
jbe 0x423b0b
push 0x80070216
call fcn.00406170
cmp edi, 0x80
jbe 0x423b21
push edi
lea ecx, [ebp - 0x94]
call fcn.0044fef0
jmp 0x423b2d
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
mov eax, dword [esi + 0x6c]
lea ecx, [ebp - 0x98]
push ecx
push edi
push edx
push eax
mov dword [ebp - 0x98], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x423b7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x423b5d
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x6c]
cmp eax, ebx
je 0x423b7b
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esi + 0x6c], ebx
mov eax, dword [ebp - 0x98]
cmp eax, edi
je 0x423b97
push eax
lea ecx, [ebp - 0x94]
call fcn.00423a00
mov eax, dword [ebp - 0x98]
mov ecx, dword [esi + 0x90]
cmp ecx, ebx
je 0x423bc8
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push eax
mov eax, dword [ebp - 0x94]
push eax
call edx
mov ecx, dword [esi + 0x98]
cmp ecx, ebx
je 0x423bc8
mov eax, dword [ecx]
mov edx, dword [ebp - 0x98]
mov eax, dword [eax + 4]
push edx
call eax
mov eax, dword [esi + 0x6c]
lea ecx, [ebp - 0x9c]
push ecx
push eax
mov dword [ebp - 0x9c], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x423bfd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x423bf0
mov dword [esi + 0x60], eax
mov esi, dword [esi + 0x94]
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x90]
cmp dword [ebp - 0x94], edx
je 0x423c3d
lea ecx, [ebp - 0x94]
call fcn.0044fee0
jmp 0x423c3d
mov ecx, dword [esi + 0x90]
cmp ecx, ebx
je 0x423c30
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [esi + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
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.004eaf3b
mov esp, ebp
pop ebp
ret 4
Function at 0x425500
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a901
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], esi
mov edi, 1
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 2
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
push 0x80
push 3
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x425599
call fcn.0040b2f0
cmp eax, ebx
jge 0x42559e
mov esi, dword [ebp + 8]
push 0x530e54
mov ecx, esi
call fcn.004095e0
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], ebx
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 8
mov esi, eax
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x24]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [ebp - 0x28], edi
cmp edi, 0xffffffff
jne 0x4255fc
call fcn.0040b2f0
cmp eax, ebx
jge 0x4255f9
mov edi, dword [ebp + 8]
push 0x530e54
mov ecx, edi
call fcn.004095e0
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x4255e3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp - 0x28]
mov edx, edi
or edx, dword [ebp - 0x24]
jne 0x42561b
mov edi, dword [ebp + 8]
push 0x530e54
mov ecx, edi
call fcn.004095e0
mov dword [ebp - 0x14], 1
jmp 0x4255d2
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
mov ecx, 0x587944
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 7
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], ebx
call fcn.0041e630
push ebx
lea ecx, [ebp - 0x18]
push ecx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x42565b
call fcn.0040b2f0
mov edi, eax
jmp 0x42565d
xor edi, edi
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
jne 0x425675
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004ecc38
add esp, 8
cmp eax, ebx
jl 0x4256da
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x4256da
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
cmp edi, ebx
mov edi, dword [ebp + 8]
mov byte [eax + edx], bl
jge 0x4256b5
push 0x530e54
mov ecx, edi
call fcn.004095e0
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004064c0
jmp 0x4255d2
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.0041ef40
add esp, 8
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004064c0
jmp 0x4255d2
push 0x80070057
call fcn.00406170
int3
Function at 0x42c600
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51c198
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push 0x80
push 3
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x42c684
call fcn.0040b2f0
cmp eax, ebx
jge 0x42c689
mov dword [ebp - 4], 0xffffffff
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
mov esi, eax
mov dword [ebp - 0x28], esi
lea ecx, [ebp - 0x1c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [ebp - 0x20], edi
cmp edi, 0xffffffff
jne 0x42c6d3
call fcn.0040b2f0
cmp eax, ebx
jge 0x42c6d0
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x42c670
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], ebx
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
mov edi, dword [ebp - 0x20]
mov edx, edi
or edx, dword [ebp - 0x1c]
jne 0x42c6dc
jmp 0x42c6a7
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
mov ecx, 0x587944
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 6
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call fcn.0041e630
push ebx
lea ecx, [ebp - 0x14]
push ecx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x42c71c
call fcn.0040b2f0
mov edi, eax
jmp 0x42c71e
xor edi, edi
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
jne 0x42c736
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004ecc38
add esp, 8
cmp eax, ebx
jl 0x42c7d3
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x42c7d3
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
mov byte [eax + edx], bl
cmp edi, ebx
jge 0x42c768
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004064c0
jmp 0x42c6a7
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 8
mov edi, dword [ebp - 0x18]
mov eax, dword [edi + 0x34]
cmp dword [eax - 0xc], ebx
je 0x42c787
push 0x531f38
lea ecx, [edi + 0x34]
call fcn.004118e0
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp + 8]
push edx
call fcn.0041ef40
add esp, 8
mov byte [ebp - 4], 9
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [edi + 0x34]
call fcn.0040f630
mov byte [ebp - 4], 8
lea ecx, [ebp + 8]
call fcn.004064c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.00406d00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004064c0
jmp 0x42c6a7
push 0x80070057
call fcn.00406170
int3
Function at 0x436960
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x94]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
setne bl
test bl, bl
je 0x4369dd
mov edx, dword [esi + 0xc]
test edx, edx
je 0x4369dd
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x60]
cmp eax, 0x2ef1
jne 0x4369ae
cmp dword [ecx + 0x64], 0x130
jne 0x4369c5
cmp eax, eax
je 0x4369c5
test eax, eax
je 0x4369c5
jmp 0x4369b2
test eax, eax
jne 0x4369c5
cmp dword [ecx + 0x64], 0x130
je 0x4369c5
mov edx, dword [edx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, dword [esi + 0xc]
mov eax, dword [esi + 4]
test eax, eax
je 0x4369dd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
pop esi
mov al, bl
pop ebx
pop ebp
ret 4

Function at 0x436bb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d4e3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0x20
call fcn.004eb841
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
cmp eax, edi
je 0x436c06
mov ecx, eax
call fcn.004369f0
mov edi, eax
mov byte [ebp - 4], 0
push 0
push 0x80
push 4
push 0
mov dword [esi + 0xc], edi
mov ecx, dword [edi + 8]
mov eax, dword [ebx]
push 0
push 0x10000000
push eax
test ecx, ecx
je 0x436c30
call fcn.0040b3a0
jmp 0x436c36
call dword [sym.imp.KERNEL32.dll_CreateFileW]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x436c4b
call fcn.0040b2f0
test eax, eax
jns 0x436c4e
movzx esi, ax
jmp 0x436cab
mov dword [edi + 4], eax
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 4]
push 0x533ed4
lea ecx, [ebp + 8]
call fcn.004095e0
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push 0
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
lea eax, [ebp + 0x14]
push eax
push edi
push ecx
push edx
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00426670
mov esi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436cab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x436cca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x18
Function at 0x438840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51dbfc
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.html_dlg.1.0
mov dword [esi + 0x20], vtable.html_dlg.0
mov dword [ebp - 4], 1
lea eax, [esi + 0x30]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [eax]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4388a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x4388bb
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4388e3
push eax
call fcn.004ea785
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x438a10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529273
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [0x53eaa0]
mov dword [esi + 4], eax
mov ecx, dword [0x53eaa4]
mov dword [esi + 8], ecx
mov edx, dword [0x53eaa8]
mov dword [esi + 0xc], edx
mov eax, dword [0x53eaac]
mov dword [esi + 0x10], eax
mov ecx, dword [0x53eaa0]
mov dword [esi + 0x14], ecx
mov edx, dword [0x53eaa4]
mov dword [esi + 0x18], edx
mov eax, dword [0x53eaa8]
mov dword [esi + 0x1c], eax
mov ecx, dword [0x53eaac]
xor edx, edx
lea eax, [esi + 0x2c]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], 0xfefefefe
mov dword [esi], vtable.CWebBrowser2Impl_class_CHtmlWindow__0_.0
mov dword [ebp - 0x14], eax
mov dword [eax], edx
mov dword [ebp - 4], 1
push edx
push 2
push 5
mov dword [esi + 0x34], edx
mov dword [esi + 0x30], edx
call sub.urlmon.dll_CoInternetSetFeatureEnabled
push 1
push 2
push 0x14
call sub.urlmon.dll_CoInternetSetFeatureEnabled
push 0
push 2
push 1
call sub.urlmon.dll_CoInternetSetFeatureEnabled
push 1
push 2
push 0x15
call sub.urlmon.dll_CoInternetSetFeatureEnabled
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x442750
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f297
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
lea eax, [esi + 8]
mov dword [esi + 4], ebx
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], ebx
mov dword [ebp - 4], 1
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [ebp - 4], 4
lea edi, [esi + 0x20]
mov dword [edi], vtable.fn_base.0
mov dword [esi], vtable.html_dlg.1.0
mov dword [edi], vtable.html_dlg.0
mov dword [esi + 0x24], ebx
mov byte [ebp - 4], 5
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [esi + 0x28], ecx
mov edx, dword [eax + 4]
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x30]
mov dword [ebp + 0xc], eax
mov dword [esi + 0x2c], edx
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.00406e60
mov edx, dword [ebp + 0xc]
add eax, 0x10
mov dword [edx], eax
mov byte [ebp - 4], 7
push 0x8c
call fcn.004eb841
add esp, 8
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x442830
mov ecx, dword [ebp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
mov dword [ebp + 0x10], ecx
mov dword [ecx], edi
cmp edi, ebx
je 0x44281f
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 8
mov ecx, eax
call fcn.00441650
jmp 0x442832
xor eax, eax
mov byte [ebp - 4], 7
mov dword [esi + 0x24], eax
mov dword [ebp - 4], 0xffffffff
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 0xc

Function at 0x442c60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f38b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x589080]
mov al, byte [eax + 0x39]
test al, al
jne 0x442ce9
push 0x24
call fcn.004eb841
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x442cb0
mov ecx, eax
call fcn.004429a0
jmp 0x442cb2
xor eax, eax
mov dword [ebp - 4], 0xffffffff
push 0
push 0
push 0
push 0x442c40
push 0
push 0
mov dword [0x588f7c], eax
call fcn.004ec6b8
mov ecx, dword [0x588f80]
add esp, 0x18
push 0xffffffffffffffff
push ecx
mov dword [0x588f84], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x443140
Capabilities:
Access firewall policy via inetfwpolicy2
Access firewall settings via inetfwmgr

Disassembly:
push esi
push edi
push 6
push 0
mov esi, ecx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov edi, eax
cmp edi, 0x80010106
je 0x443171
test edi, edi
jns 0x443171
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push str.CoInitializeEx_0__COINIT_APARTMENTTHREADED__COINIT_DISABLE_OLE1DDE__
push edi
call edx
mov eax, edi
pop edi
pop esi
ret
push ebx
lea ebx, [esi + 0xc]
push ebx
push 0x535a20
push 0x17
push 0
push 0x535c1c
mov byte [esi + 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x44323b
mov eax, dword [ebx]
test eax, eax
je 0x44323b
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
lea ebx, [esi + 0x10]
push ebx
push eax
call edx
mov edi, eax
test edi, edi
js 0x443225
mov eax, dword [ebx]
test eax, eax
je 0x443225
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
lea ebx, [esi + 0x14]
push ebx
push eax
call edx
mov edi, eax
test edi, edi
js 0x44320f
cmp dword [ebx], 0
je 0x44320f
lea edi, [esi + 0x18]
push edi
push 0x535a30
push 0x17
push 0
push 0x535c0c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4431f2
cmp dword [edi], 0
jne 0x443209
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
push str.Can_not_create_instance_of_INetFwPolicy2__it_is_normal_if_windows_version_lower_vistas_version_
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, edi
call fcn.00442fb0
pop ebx
pop edi
xor eax, eax
pop esi
ret
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push str.INetFwPolicy_get_CurrentProfile_failed
push edi
call eax
pop ebx
mov eax, edi
pop edi
pop esi
ret
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push str.INetFwMgr_get_LocalPolicy_failed
push edi
call eax
pop ebx
mov eax, edi
pop edi
pop esi
ret
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 0x535a68
push edi
call eax
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x44ff20
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520bfb
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x587978]
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 [ebp + 8]
xor esi, esi
mov edi, ecx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
mov dword [ebp - 4], esi
mov ecx, dword [edi + 4]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
push eax
push edx
lea ecx, [ebp - 0x21c]
call fcn.0041d8b0
mov ebx, eax
cmp ebx, esi
je 0x44ffb4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, esi
je 0x44ffad
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x21c], esi
mov eax, ebx
jmp 0x450087
lea eax, [ebp - 0x22c]
push eax
mov eax, dword [ebp - 0x21c]
push esi
push esi
push esi
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x210]
push edx
push esi
push eax
mov dword [ebp - 0x220], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x45003c
jmp 0x44fff0
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0044ff20
mov ebx, eax
cmp ebx, esi
jne 0x44ff8f
lea edx, [ebp - 0x22c]
push edx
mov edx, dword [ebp - 0x21c]
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x210]
push ecx
push esi
push edx
mov dword [ebp - 0x220], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x44fff0
mov eax, dword [ebp - 0x21c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x450055
push eax
call ebx
mov dword [ebp - 0x21c], esi
mov eax, dword [ebp - 0x224]
push eax
mov ecx, edi
mov dword [ebp - 0x218], esi
call fcn.0044f860
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, esi
je 0x450085
push eax
call ebx
mov dword [ebp - 0x21c], esi
mov eax, edi
mov dword [ebp - 0x218], esi
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.004eaf3b
mov esp, ebp
pop ebp
ret 4