joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c72c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d928
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c7304
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.Internet_Explorer
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.0045a3a0
mov eax, dword [ebp - 0x10]
mov edx, 1
mov byte [ebp - 4], 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
jge 0x4c7351
push 0x104
lea ecx, [ebp - 0x10]
call fcn.0045b530
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
push 0x104
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp - 0x10]
push dword [eax - 8]
push eax
call fcn.00526d13
mov edx, eax
add esp, 8
test edx, edx
js 0x4c74ab
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ecx - 8]
jg 0x4c74ab
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2], cx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
lea eax, [ebp - 0x18]
push eax
call fcn.0045b030
mov eax, dword [eax]
mov ecx, str.Internet_Explorer
jmp 0x4c73b0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c73d6
test dx, dx
je 0x4c73d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c73d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4c73b0
xor esi, esi
jmp 0x4c73db
sbb esi, esi
or esi, 1
mov edx, dword [ebp - 0x18]
or edi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 1
mov eax, edi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4c73fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x4c7452
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x420
push ebx
call esi
test eax, eax
je 0x4c7452
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
test eax, eax
je 0x4c7452
push 0x421
push dword [ebp + 8]
call esi
test eax, eax
je 0x4c7452
push eax
call ebx
test eax, eax
je 0x4c7452
push 0xa403
push dword [ebp + 8]
call esi
test eax, eax
je 0x4c7452
push eax
call ebx
test eax, eax
je 0x4c7452
mov ebx, 1
jmp 0x4c7454
xor ebx, ebx
mov edx, dword [ebp - 0x14]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c7474
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4c7495
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 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
push 0x80070057
call fcn.0045a8f0
int3
Function at 0x4c74c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d979
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.0045a950
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c7529
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 1
jne 0x4c7555
push 0x14
push str.Internet_Explorer_11
lea ecx, [ebp - 0x10]
call fcn.0045b6e0
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x20], ecx
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
jge 0x4c7587
push 0x104
lea ecx, [ebp + 0xc]
call fcn.0045b530
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
push 0x104
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 1
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4c75d2
xor eax, eax
test esi, esi
setne al
test eax, eax
jne 0x4c75bd
push 0x80004005
call fcn.0045a8f0
push esi
push dword [ebp + 0xc]
call fcn.00526fc5
add esp, 8
test eax, eax
jne 0x4c75d2
lea edi, [eax + 1]
jmp 0x4c75d4
xor edi, edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 1
push dword [eax - 8]
push eax
call fcn.00526d13
mov edx, eax
add esp, 8
test edx, edx
js 0x4c765a
mov ecx, dword [ebp + 0xc]
cmp edx, dword [ecx - 8]
jg 0x4c765a
mov dword [ecx - 0xc], edx
or ebx, 0xffffffff
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov byte [ebp - 4], cl
mov word [eax + edx*2], cx
mov eax, ebx
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4c7626
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4c7644
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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
push 0x80070057
call fcn.0045a8f0
int3
Function at 0x4c7ec0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [str.Start_Page]
lea ecx, [ebp - 0x10]
push ebx
push esi
push edi
push 2
push dword [0x5d67f0]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov ebx, dword [eax]
mov dword [ebp - 8], 0
call fcn.0045b220
mov esi, dword [ebp - 0x10]
mov edi, eax
test edi, edi
jne 0x4c7f24
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push ebx
push 1
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test esi, esi
je 0x4c7f2f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4c7f40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x4c7f59
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c7f65
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x4c7f60
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4c82d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56da98
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.SoftwareMicrosoftWindowsCurrentVersionExtSettings_
lea ecx, [ebp - 0x10]
call fcn.0045a3a0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00472540
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
mov ecx, esi
call fcn.004c4ff0
push 0x20019
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.0045b220
mov edi, dword [ebp - 0x28]
test eax, eax
jne 0x4c839c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push str.Flags
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c839c
cmp dword [ebp - 0x1c], 4
jne 0x4c839c
test dword [ebp - 0x14], 0x441
jne 0x4c83a2
cmp dword [ebp + 8], 8
jg 0x4c83a9
mov esi, 1
jmp 0x4c83ab
xor esi, esi
test edi, edi
je 0x4c83b6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x10]
or ecx, 0xffffffff
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c83da
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4c9180
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5d6b80]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x120], 0x11c
push 0xfe
push eax
mov word [ebp - 0x10c], ax
lea eax, [ebp - 0x10a]
push eax
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
call fcn.00525ee0
xor eax, eax
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4c9214
cmp dword [ebp - 0x11c], 0xa
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00525878
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00525878
mov esp, ebp
pop ebp
ret
Function at 0x4c9800
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [str.ie_last_hpr]
lea ecx, [ebp - 0x10]
push ebx
push esi
push edi
push 2
push dword [0x5d67d4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov ebx, dword [eax]
mov dword [ebp - 8], 0
call fcn.0045b220
mov esi, dword [ebp - 0x10]
mov edi, eax
test edi, edi
jne 0x4c9864
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push ebx
push 1
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test esi, esi
je 0x4c986f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4c9b10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d9f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4c9b54
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
push dword [eax]
lea eax, [ebp - 0x10]
push dword [0x5d67d4]
push 0x57e340
push eax
call fcn.0045acb0
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
add esp, 0x10
mov ebx, dword [str.hpr_ie_set]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x1c], 0
push 2
push esi
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0045b220
mov edi, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
test eax, eax
jne 0x4c9bd7
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp + 8], eax
test edi, edi
je 0x4c9be2
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 8], ebx
sete bl
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4c9c0b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 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 8
Function at 0x4cb430
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4cb474
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
push dword [eax]
lea eax, [ebp - 0x10]
push dword [0x5d67d4]
push 0x57e340
push eax
call fcn.0045acb0
mov eax, dword [str.hpr_ie]
lea ecx, [ebp - 0x20]
mov esi, dword [ebp - 0x10]
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], 0
push 2
push esi
mov ebx, dword [eax]
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.0045b220
mov edi, dword [ebp - 0x20]
mov dword [ebp + 8], eax
test eax, eax
jne 0x4cb4ff
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push ebx
push 1
push 0
push dword [ebp - 0x14]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp + 8], eax
test edi, edi
je 0x4cb50a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 8], ebx
sete bl
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4cb533
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 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 8
Function at 0x4cb550
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4cb594
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
push dword [eax]
lea eax, [ebp - 0x10]
push dword [0x5d67d4]
push 0x57e340
push eax
call fcn.0045acb0
add esp, 0x10
mov ecx, 0x57c808
cmp dword [ebp + 0xc], 0
mov eax, 0x57da10
cmove eax, ecx
lea ecx, [ebp + 0xc]
push eax
call fcn.0045a3a0
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
mov eax, dword [str.sa_ie]
mov ebx, dword [ebp + 0xc]
push 2
push esi
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.0045b220
mov edi, dword [ebp - 0x20]
mov dword [ebp + 8], eax
test eax, eax
jne 0x4cb637
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push ebx
push 1
push 0
push dword [ebp - 0x14]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp + 8], eax
test edi, edi
je 0x4cb642
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [ebp + 8], ebx
sete bl
add edx, 0xfffffff0
or edi, 0xffffffff
mov eax, edi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4cb669
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4cb687
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 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 8
Function at 0x4cb6a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d9f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4cb6e4
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
push dword [eax]
lea eax, [ebp - 0x10]
push dword [0x5d67d4]
push 0x57e340
push eax
call fcn.0045acb0
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
add esp, 0x10
mov ebx, dword [str.chrome_ie_set]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x1c], 0
push 2
push esi
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0045b220
mov edi, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
test eax, eax
jne 0x4cb767
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp + 8], eax
test edi, edi
je 0x4cb772
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 8], ebx
sete bl
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4cb79b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 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 8
Function at 0x4cb7c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d9f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4cb804
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
push dword [eax]
lea eax, [ebp - 0x10]
push dword [0x5d67d4]
push 0x57e340
push eax
call fcn.0045acb0
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
add esp, 0x10
mov ebx, dword [str.nthp_ie_set]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x1c], 0
push 2
push esi
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0045b220
mov edi, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
test eax, eax
jne 0x4cb887
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp + 8], eax
test edi, edi
je 0x4cb892
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 8], ebx
sete bl
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4cb8bb
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 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 8
Function at 0x4cb8e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d9f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4cb924
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
push dword [eax]
lea eax, [ebp - 0x10]
push dword [0x5d67d4]
push 0x57e340
push eax
call fcn.0045acb0
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
add esp, 0x10
mov ebx, dword [str.sa_ie_set]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x1c], 0
push 2
push esi
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0045b220
mov edi, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
test eax, eax
jne 0x4cb9a7
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp + 8], eax
test edi, edi
je 0x4cb9b2
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 8], ebx
sete bl
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4cb9db
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 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 8
Function at 0x4cbb80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e093
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0x11
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0xa
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x10], 0x3f400000
mov dword [edi + 0x14], 0x3e800000
mov dword [edi + 0x18], 0x40100000
mov dword [edi + 0x1c], 0x26
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 0
mov dword [edi], vtable.APNU::CEventContext.0
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4cbc28
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x44], eax
mov ebx, dword [ebp + 8]
mov ecx, edi
push ebx
mov byte [ebp - 4], 1
call fcn.00487710
mov eax, dword [ebx + 0x34]
lea ecx, [edi + 0x44]
mov dword [edi + 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [ebx + 0x40]
mov dword [edi + 0x40], eax
lea eax, [ebx + 0x44]
push eax
call fcn.0045a580
cmp dword [edi + 0x48], 0
lea eax, [edi + 0x48]
je 0x4cbc8d
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 0
push 0
push eax
call esi
push eax
push dword [ebx + 0x48]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
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 4