joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b740
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cfbb8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x52de08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x44
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.004aab30
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
sub eax, 0x10
push eax
mov dword [ebp - 0x64], 0x44
call fcn.00406ee0
lea esi, [eax + 0x10]
add esp, 0x10
mov dword [ebp + 0xc], esi
mov dword [ebp - 4], 1
mov ecx, dword [0x52f500]
lea edx, [ebp - 0x10]
push edx
call fcn.00412c80
mov byte [ebp - 4], 2
cmp dword [esi - 4], 1
mov edi, dword [eax]
jle 0x41b7d1
mov eax, dword [esi - 0xc]
push eax
lea ecx, [ebp + 0xc]
call fcn.00406b40
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x64]
push ecx
push edi
push 0
push 0
push 1
push 0
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b814
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004ab44b
add esp, 8
test eax, eax
js 0x41b878
cmp eax, dword [esi - 8]
jg 0x41b878
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b863
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00406170
int3
Function at 0x41f620
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d08a9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x52de08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
mov ecx, 0x52ddd4
call edx
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x10], 1
test edi, edi
jne 0x41f67f
mov edi, 0x104
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
mov ecx, 0x52ddd4
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
mov eax, dword [ebx + 0x34]
mov dword [ebp + 0x14], eax
test edi, edi
jns 0x41f6af
push 0x80070057
call fcn.00406170
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or eax, ecx
jge 0x41f6ca
push edi
mov ecx, esi
call fcn.00406e80
push dword [ebp + 0x14]
mov eax, dword [esi]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
push edi
mov edi, dword [ebp - 0x14]
push eax
push edi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebx + 0x30], eax
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x41f701
push ecx
push eax
call fcn.004ab44b
add esp, 8
test eax, eax
js 0x41f6a5
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x41f6a5
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov dword [ebp - 4], edx
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f732
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 0x10
Function at 0x41f810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db821
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x52de08]
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 [0x52ddd4]
mov edx, dword [eax + 0xc]
mov ecx, 0x52ddd4
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, 0x1d
sub eax, edi
or eax, ecx
jge 0x41f87b
push edi
mov ecx, esi
call fcn.00406e80
mov eax, dword [esi]
cmp dword [eax - 8], edi
jge 0x41f88c
push 0x80070057
call fcn.00406170
mov dword [eax - 0xc], edi
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + 0x3a], dx
mov ecx, 0x4e8830
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 0x41f8a0
mov eax, dword [esi]
cmp dword [eax - 8], edi
jl 0x41f882
mov dword [eax - 0xc], edi
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + 0x3a], 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 0x41fa80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db821
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x52de08]
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 [0x52ddd4]
mov edx, dword [eax + 0xc]
mov ecx, 0x52ddd4
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], edi
mov eax, dword [esi]
mov edi, 0x10
sub eax, edi
mov ecx, 1
mov dword [ebp - 0x10], ecx
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, edi
or eax, ecx
jge 0x41faed
push edi
mov ecx, esi
call fcn.00406e80
mov eax, dword [esi]
cmp dword [eax - 8], edi
jge 0x41fafe
push 0x80070057
call fcn.00406170
mov dword [eax - 0xc], edi
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + 0x20], dx
mov ecx, 0x4e8890
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 0x41fb12
mov eax, dword [esi]
cmp dword [eax - 8], edi
jl 0x41faf4
mov dword [eax - 0xc], edi
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + 0x20], 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 0x421f80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x421f9a
xor al, al
pop ebp
ret 8
cmp byte [ebp + 0xc], 0
jne 0x421fa6
mov al, 1
pop ebp
ret 8
shr al, 4
and al, 1
pop ebp
ret 8
Function at 0x427150
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1351
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x52de08]
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 0x4271e9
call fcn.0040b660
cmp eax, ebx
jge 0x4271ee
mov esi, dword [ebp + 8]
push 0x4e6ea0
mov ecx, esi
call fcn.00409830
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 0x42724c
call fcn.0040b660
cmp eax, ebx
jge 0x427249
mov edi, dword [ebp + 8]
push 0x4e6ea0
mov ecx, edi
call fcn.00409830
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x427233
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 0x42726b
mov edi, dword [ebp + 8]
push 0x4e6ea0
mov ecx, edi
call fcn.00409830
mov dword [ebp - 0x14], 1
jmp 0x427222
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
mov ecx, 0x52ddd4
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.004223c0
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 0x4272ab
call fcn.0040b660
mov edi, eax
jmp 0x4272ad
xor edi, edi
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
jne 0x4272c5
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004acba7
add esp, 8
cmp eax, ebx
jl 0x42732a
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x42732a
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
cmp edi, ebx
mov edi, dword [ebp + 8]
mov byte [eax + edx], bl
jge 0x427305
push 0x4e6ea0
mov ecx, edi
call fcn.00409830
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00406650
jmp 0x427222
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.00422510
add esp, 8
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00406650
jmp 0x427222
push 0x80070057
call fcn.00406170
int3
Function at 0x42e020
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2b18
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x52de08]
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 0x42e0a4
call fcn.0040b660
cmp eax, ebx
jge 0x42e0a9
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 0x42e0f3
call fcn.0040b660
cmp eax, ebx
jge 0x42e0f0
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x42e090
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 0x42e0fc
jmp 0x42e0c7
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
mov ecx, 0x52ddd4
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.004223c0
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 0x42e13c
call fcn.0040b660
mov edi, eax
jmp 0x42e13e
xor edi, edi
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
jne 0x42e156
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004acba7
add esp, 8
cmp eax, ebx
jl 0x42e1f3
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x42e1f3
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
mov byte [eax + edx], bl
cmp edi, ebx
jge 0x42e188
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00406650
jmp 0x42e0c7
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 0x42e1a7
push 0x4e8230
lea ecx, [edi + 0x34]
call fcn.00412bb0
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp + 8]
push edx
call fcn.00422510
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.004104a0
mov byte [ebp - 4], 8
lea ecx, [ebp + 8]
call fcn.00406650
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.00406da0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00406650
jmp 0x42e0c7
push 0x80070057
call fcn.00406170
int3
Function at 0x438090
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 0x43810d
mov edx, dword [esi + 0xc]
test edx, edx
je 0x43810d
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x60]
cmp eax, 0x2ef1
jne 0x4380de
cmp dword [ecx + 0x64], 0x130
jne 0x4380f5
cmp eax, eax
je 0x4380f5
test eax, eax
je 0x4380f5
jmp 0x4380e2
test eax, eax
jne 0x4380f5
cmp dword [ecx + 0x64], 0x130
je 0x4380f5
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 0x43810d
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 0x438310
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3e93
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x52de08]
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 0x34
call fcn.004ab3a1
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
cmp eax, edi
je 0x438366
mov ecx, eax
call fcn.00438120
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 0x438390
call fcn.0040b710
jmp 0x438396
call dword [sym.imp.KERNEL32.dll_CreateFileW]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x4383ab
call fcn.0040b660
test eax, eax
jns 0x4383ae
movzx esi, ax
jmp 0x43840b
mov dword [edi + 4], eax
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 4]
push 0x4e808c
lea ecx, [ebp + 8]
call fcn.00409830
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.00417a50
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 0x43840b
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 0x43842a
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 0x439df0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d44bc
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x52de08]
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 0x439e57
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 0x439e6b
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 0x439e93
push eax
call fcn.004aa2c6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df5f3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x52de08]
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 [0x4f4b38]
mov dword [esi + 4], eax
mov ecx, dword [0x4f4b3c]
mov dword [esi + 8], ecx
mov edx, dword [0x4f4b40]
mov dword [esi + 0xc], edx
mov eax, dword [0x4f4b44]
mov dword [esi + 0x10], eax
mov ecx, dword [0x4f4b38]
mov dword [esi + 0x14], ecx
mov edx, dword [0x4f4b3c]
mov dword [esi + 0x18], edx
mov eax, dword [0x4f4b40]
mov dword [esi + 0x1c], eax
mov ecx, dword [0x4f4b44]
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 0x443710
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5887
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x52de08]
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.00406ee0
mov edx, dword [ebp + 0xc]
add eax, 0x10
mov dword [edx], eax
mov byte [ebp - 4], 7
push 0x8c
call fcn.004ab3a1
add esp, 8
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x4437f0
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 0x4437df
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.00442860
jmp 0x4437f2
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 0x443c20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d597b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x52de08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x52f508]
mov al, byte [eax + 0x38]
test al, al
jne 0x443ca9
push 0x24
call fcn.004ab3a1
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x443c70
mov ecx, eax
call fcn.00443960
jmp 0x443c72
xor eax, eax
mov dword [ebp - 4], 0xffffffff
push 0
push 0
push 0
push 0x443c00
push 0
push 0
mov dword [0x52f400], eax
call fcn.004ac218
mov ecx, dword [0x52f404]
add esp, 0x18
push 0xffffffffffffffff
push ecx
mov dword [0x52f408], 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 0x4440e0
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 0x444111
test edi, edi
jns 0x444111
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 0x4ebb78
push 0x17
push 0
push 0x4ebd74
mov byte [esi + 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x4441db
mov eax, dword [ebx]
test eax, eax
je 0x4441db
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 0x4441c5
mov eax, dword [ebx]
test eax, eax
je 0x4441c5
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 0x4441af
cmp dword [ebx], 0
je 0x4441af
lea edi, [esi + 0x18]
push edi
push 0x4ebb88
push 0x17
push 0
push 0x4ebd64
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x444192
cmp dword [edi], 0
jne 0x4441a9
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.00443f60
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 0x4ebbc0
push edi
call eax
pop ebx
mov eax, edi
pop edi
pop esi
ret