joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423bb0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a59b
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 0x423d1f
mov dword [ebp - 0x94], ebx
mov dword [ebp - 4], ebx
xor eax, eax
cmp eax, ebx
ja 0x423c01
cmp edi, 0xffffffff
jbe 0x423c0b
push 0x80070216
call fcn.00406170
cmp edi, 0x80
jbe 0x423c21
push edi
lea ecx, [ebp - 0x94]
call fcn.0044fc80
jmp 0x423c2d
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 0x423c7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x423c5d
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 0x423c7b
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esi + 0x6c], ebx
mov eax, dword [ebp - 0x98]
cmp eax, edi
je 0x423c97
push eax
lea ecx, [ebp - 0x94]
call fcn.00423b00
mov eax, dword [ebp - 0x98]
mov ecx, dword [esi + 0x90]
cmp ecx, ebx
je 0x423cc8
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 0x423cc8
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 0x423cfd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x423cf0
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 0x423d3d
lea ecx, [ebp - 0x94]
call fcn.0044fc70
jmp 0x423d3d
mov ecx, dword [esi + 0x90]
cmp ecx, ebx
je 0x423d30
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.004eb16b
mov esp, ebp
pop ebp
ret 4
Function at 0x425600
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51aaf1
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 0x425699
call fcn.0040b2d0
cmp eax, ebx
jge 0x42569e
mov esi, dword [ebp + 8]
push 0x530e54
mov ecx, esi
call fcn.00409590
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 0x4256fc
call fcn.0040b2d0
cmp eax, ebx
jge 0x4256f9
mov edi, dword [ebp + 8]
push 0x530e54
mov ecx, edi
call fcn.00409590
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x4256e3
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 0x42571b
mov edi, dword [ebp + 8]
push 0x530e54
mov ecx, edi
call fcn.00409590
mov dword [ebp - 0x14], 1
jmp 0x4256d2
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.0041e9c0
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 0x42575b
call fcn.0040b2d0
mov edi, eax
jmp 0x42575d
xor edi, edi
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
jne 0x425775
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004ece68
add esp, 8
cmp eax, ebx
jl 0x4257da
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x4257da
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
cmp edi, ebx
mov edi, dword [ebp + 8]
mov byte [eax + edx], bl
jge 0x4257b5
push 0x530e54
mov ecx, edi
call fcn.00409590
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00406ef0
jmp 0x4256d2
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.0041f230
add esp, 8
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00406ef0
jmp 0x4256d2
push 0x80070057
call fcn.00406170
int3
Function at 0x42c870
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51c308
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 0x42c8f4
call fcn.0040b2d0
cmp eax, ebx
jge 0x42c8f9
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 0x42c943
call fcn.0040b2d0
cmp eax, ebx
jge 0x42c940
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x42c8e0
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 0x42c94c
jmp 0x42c917
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.0041e9c0
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 0x42c98c
call fcn.0040b2d0
mov edi, eax
jmp 0x42c98e
xor edi, edi
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
jne 0x42c9a6
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004ece68
add esp, 8
cmp eax, ebx
jl 0x42ca43
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x42ca43
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
mov byte [eax + edx], bl
cmp edi, ebx
jge 0x42c9d8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00406ef0
jmp 0x42c917
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 0x42c9f7
push 0x531f38
lea ecx, [edi + 0x34]
call fcn.00411bc0
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp + 8]
push edx
call fcn.0041f230
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.0040f910
mov byte [ebp - 4], 8
lea ecx, [ebp + 8]
call fcn.00406ef0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.00406c40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00406ef0
jmp 0x42c917
push 0x80070057
call fcn.00406170
int3
Function at 0x4369e0
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 0x436a5d
mov edx, dword [esi + 0xc]
test edx, edx
je 0x436a5d
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x60]
cmp eax, 0x2ef1
jne 0x436a2e
cmp dword [ecx + 0x64], 0x130
jne 0x436a45
cmp eax, eax
je 0x436a45
test eax, eax
je 0x436a45
jmp 0x436a32
test eax, eax
jne 0x436a45
cmp dword [ecx + 0x64], 0x130
je 0x436a45
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 0x436a5d
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 0x436c30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d603
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.004eba15
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
cmp eax, edi
je 0x436c86
mov ecx, eax
call fcn.00436a70
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 0x436cb0
call fcn.0040b380
jmp 0x436cb6
call dword [sym.imp.KERNEL32.dll_CreateFileW]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x436ccb
call fcn.0040b2d0
test eax, eax
jns 0x436cce
movzx esi, ax
jmp 0x436d2b
mov dword [edi + 4], eax
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 4]
push 0x533ed4
lea ecx, [ebp + 8]
call fcn.00409590
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.00426780
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 0x436d2b
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 0x436d4a
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 0x4389d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51dc5c
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 0x438a37
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 0x438a4b
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 0x438a73
push eax
call fcn.004ea996
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51dc93
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 [0x53ea80]
mov dword [esi + 4], eax
mov ecx, dword [0x53ea84]
mov dword [esi + 8], ecx
mov edx, dword [0x53ea88]
mov dword [esi + 0xc], edx
mov eax, dword [0x53ea8c]
mov dword [esi + 0x10], eax
mov ecx, dword [0x53ea80]
mov dword [esi + 0x14], ecx
mov edx, dword [0x53ea84]
mov dword [esi + 0x18], edx
mov eax, dword [0x53ea88]
mov dword [esi + 0x1c], eax
mov ecx, dword [0x53ea8c]
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 0x442660
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f457
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.00406d80
mov edx, dword [ebp + 0xc]
add eax, 0x10
mov dword [edx], eax
mov byte [ebp - 4], 7
push 0x8c
call fcn.004eba15
add esp, 8
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x442740
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 0x44272f
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.004416e0
jmp 0x442742
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 0x442b70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f54b
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 0x442bf9
push 0x24
call fcn.004eba15
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x442bc0
mov ecx, eax
call fcn.004428b0
jmp 0x442bc2
xor eax, eax
mov dword [ebp - 4], 0xffffffff
push 0
push 0
push 0
push 0x442b50
push 0
push 0
mov dword [0x588f7c], eax
call fcn.004ec8e8
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 0x443040
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 0x443071
test edi, edi
jns 0x443071
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 0x5359f0
push 0x17
push 0
push 0x535bec
mov byte [esi + 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x44313b
mov eax, dword [ebx]
test eax, eax
je 0x44313b
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 0x443125
mov eax, dword [ebx]
test eax, eax
je 0x443125
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 0x44310f
cmp dword [ebx], 0
je 0x44310f
lea edi, [esi + 0x18]
push edi
push 0x535a00
push 0x17
push 0
push 0x535bdc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4430f2
cmp dword [edi], 0
jne 0x443109
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.00442eb0
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 0x535a38
push edi
call eax
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x44fcb0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520d9b
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.0041dc50
mov ebx, eax
cmp ebx, esi
je 0x44fd44
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, esi
je 0x44fd3d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x21c], esi
mov eax, ebx
jmp 0x44fe17
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 0x44fdcc
jmp 0x44fd80
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0044fcb0
mov ebx, eax
cmp ebx, esi
jne 0x44fd1f
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 0x44fd80
mov eax, dword [ebp - 0x21c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x44fde5
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.0044f5f0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, esi
je 0x44fe15
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.004eb16b
mov esp, ebp
pop ebp
ret 4
Function at 0x451bb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5210a6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x587978]
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 dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x418], edx
mov byte [ebp - 4], 1
push 2
push edx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x451c2d
call fcn.0040b2d0
mov edi, eax
jmp 0x451d12
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x451c46
call fcn.0040b2d0
jmp 0x451d09
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x451c64
call fcn.0040b2d0
jmp 0x451d09
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x451c85
mov edi, 0x8007000e
jmp 0x451d0b
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x418]
call fcn.00450730
mov dword [ebp - 4], 1
jmp 0x451cbd
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x451cce
mov edi, 0x8007000e
jmp 0x451d0b
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x451ce7
call fcn.0040b2d0
jmp 0x451d09
xor ecx, ecx
mov edx, dword [ebp - 0x418]
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x418]
push ecx
lea ecx, [ebp - 0x42c]
call fcn.00451860
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x451d2f
lea ecx, [ebp - 0x418]
call fcn.0044fc70
mov dword [ebp - 4], 0xffffffff
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 - 0x14]
xor ecx, ebp
call fcn.004eb16b
mov esp, ebp
pop ebp
ret 0x10