joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, 4
lea edx, [ebp - 0x14]
mov dword [edx], eax
lea esi, [ebp - 0x18]
mov dword [esi], eax
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov ebx, dword [ebp + 8]
push esi
push edi
push edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45f1b3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x45f19d
cmp dword [ebp - 0x18], 4
jne 0x45f19d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504596
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, eax
jmp 0x45f19d

Function at 0x45f1e0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.005056b0
mov esi, ecx
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, 0x800
lea edi, [ebp - 0x810]
push ebx
push 0xff
push edi
call fcn.00508060
add esp, 0xc
lea eax, [ebp - 0x1014]
mov dword [eax], 1
lea ecx, [ebp - 0x1018]
mov dword [ecx], ebx
push ecx
push edi
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45f26f
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 1
jne 0x45f273
mov ecx, esi
push edi
call fcn.00442dc0
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504596
mov eax, esi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, eax
jmp 0x45f256
cmp eax, 2
jne 0x45f2b1
lea ebx, [ebp - 0x1010]
push 0x800
push 0xff
push ebx
call fcn.00508060
add esp, 0xc
push 0x400
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
dec eax
cmp eax, 0x3ff
ja 0x45f2b8
mov ecx, esi
push ebx
jmp 0x45f24f
mov esi, 0x3f4
jmp 0x45f256
mov esi, 0xea
jmp 0x45f256

Function at 0x45f2c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov eax, dword [ebp + 8]
mov edx, dword [0x5ff014]
xor edx, ebp
mov dword [ebp - 8], edx
mov edx, 4
lea esi, [ebp + 0xc]
push edx
push esi
push edx
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00504596
mov eax, esi
add esp, 4
pop esi
pop ebp
ret 8

Function at 0x45f300
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.0051f544
add esp, 4
add eax, eax
add eax, 2
push eax
push ebx
push 1
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x45f460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, ecx
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ecx], 0
je 0x45f520
cmp dword [esi + 4], 0
js 0x45f520
lea ecx, [esi + 8]
cmp byte [esi + 0x13], 0
jns 0x45f53f
mov edx, SysReAllocString
and edx, dword [esi + 0x10]
dec edx
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x14]
mov dword [eax], edx
lea eax, [esi + 0x14]
mov dword [ebp - 0x24], eax
mov edi, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
sub eax, edi
add eax, 0xfffffffe
lea ebx, [esi + 0x20]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [ebp - 0x1c], eax
push edx
push ecx
mov dword [ebp - 0x2c], ecx
call fcn.0045e520
add esp, 8
mov dword [ebp - 0x20], ebx
push ebx
push edi
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0xea
je 0x45f549
test eax, eax
jne 0x45f520
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
inc eax
and eax, 0xfffffffe
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
mov word [ecx + eax], 0
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504596
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esi + 8]
cmp byte [esi + 0x13], 0
jns 0x45f52b
mov eax, dword [eax]
xor ebx, ebx
mov word [eax], bx
mov eax, dword [esi + 0x14]
mov word [eax], bx
mov dword [esi + 0x20], 0
jmp 0x45f50c
mov edx, 4
jmp 0x45f49e
mov eax, dword [esi + 0x20]
inc eax
shr eax, 1
mov ebx, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov edx, ecx
mov edi, ebx
sub edx, ebx
sar edx, 1
sub eax, edx
jb 0x45f57a
lea edx, [ebp - 0x16]
mov word [edx], 0
inc eax
mov ecx, dword [ebp - 0x24]
push edx
push eax
call fcn.0045f900
mov edi, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov ebx, edi
sub ecx, edi
add ecx, 0xfffffffe
mov dword [esi + 0x20], ecx
mov edi, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
mov eax, 0x4000
cmovne eax, edi
mov dword [ebp - 0x14], eax
push eax
push dword [ebp - 0x2c]
call fcn.0045e520
add esp, 8
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x1c]
push 0
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x45f4f2

Function at 0x45f620
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
dec dword [ecx + 4]
pop ebp
jmp fcn.0045f460
Function at 0x45f650
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x5ff014]
xor edx, ebp
mov dword [ebp - 0x10], edx
mov edx, 0x20019
or edx, dword [ebp + 0x10]
push esi
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45f70f
xor eax, eax
lea edx, [ebp - 0x1c]
mov dword [edx], eax
mov ecx, dword [esi]
sub esp, 0x30
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
xorps xmm0, xmm0
movups xmmword [esp + 0x14], xmm0
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x45f707
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [esi + 4], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x45f715
test eax, eax
js 0x45f715
lea edx, [ebp - 0x14]
mov dword [edx], 0x104
xor ebx, ebx
dec ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea ebx, [esi + 8]
xor edi, edi
lea edx, [ebp - 0x1c]
push edx
push edi
push edi
push edi
lea edx, [ebp - 0x14]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x45f71b
jmp 0x45f715
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], 0
mov word [esi + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504596
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x45f7e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ecx]
mov edx, dword [ecx + 4]
lea ecx, [edx - 1]
mov dword [esi + 4], ecx
test edi, edi
je 0x45f848
test edx, edx
jle 0x45f848
lea eax, [ebp - 0x14]
mov dword [eax], 0x104
xor eax, eax
dec eax
lea ebx, [ebp - 0x1c]
mov dword [ebx], eax
mov dword [ebx + 4], eax
lea edx, [esi + 8]
xor eax, eax
push ebx
push eax
push eax
push eax
lea eax, [ebp - 0x14]
push eax
push edx
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x45f848
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504596
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov word [esi + 8], 0
jmp 0x45f836
Function at 0x4632e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x4633ce
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x60], xmm0
mov word [esp + 0x50], 0x301
mov dword [esp + 0x54], ecx
mov eax, dword [eax]
mov dword [esp + 0x60], eax
sar eax, 0x1f
mov dword [esp + 0x64], eax
xor eax, eax
dec eax
lea ecx, [esp + 0x48]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [esp], ecx
call fcn.004e89f0
mov eax, dword [0x606f88]
mov ecx, dword [0x6033f4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4633e1
mov dword [esp], str.__metadata
call fcn.004e9120
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp], edi
lea edi, [esp + 0x50]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
pxor xmm0, xmm0
movdqu xmmword [esp + 0x28], xmm0
movaps xmm0, xmmword [0x5d82c0]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x4d
mov ecx, esi
call fcn.00486a90
sub esp, 0x44
cmp byte [edi], 0
jne 0x46341f
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00504596
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], 0x606f88
call fcn.00503e17
cmp dword [0x606f88], 0xffffffff
jne 0x463368
mov dword [esp], 0
mov ecx, 0x606d98
call fcn.00461b60
sub esp, 4
mov dword [esp], 0x606f88
call fcn.00503e8d
jmp 0x463368
mov al, byte [esp + ebx + 0x51]
cmp al, 8
je 0x463437
cmp al, 9
je 0x46345f
inc ebx
movzx eax, byte [esp + 0x50]
cmp ebx, eax
jae 0x4633ce
jmp 0x46341f
mov esi, dword [esp + ebx*8 + 0x60]
test esi, esi
je 0x46342b
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov dword [esp], 1
mov ecx, esi
call edi
sub esp, 4
mov al, byte [esp + ebx + 0x51]
jmp 0x463427
mov esi, dword [esp + ebx*8 + 0x60]
test esi, esi
je 0x46342b
lea ecx, [esi + 0x5c]
call fcn.004d5550
lea ecx, [esi + 0x28]
call fcn.004d3470
mov ecx, esi
call fcn.004d56d0
mov dword [esp], esi
call fcn.00503da5
jmp 0x46342b
Function at 0x463490
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x46357d
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x60], xmm0
mov word [esp + 0x50], 0x701
mov dword [esp + 0x54], ecx
cmp byte [eax + 0xb], 0
jns 0x4634df
mov eax, dword [eax]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x60], eax
xor eax, eax
dec eax
lea ecx, [esp + 0x48]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [esp], ecx
call fcn.004e89f0
mov eax, dword [0x606f88]
mov ecx, dword [0x6033f4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x463590
mov dword [esp], str.__metadata
call fcn.004e9120
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp], edi
lea edi, [esp + 0x50]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
pxor xmm0, xmm0
movdqu xmmword [esp + 0x28], xmm0
movaps xmm0, xmmword [0x5d82c0]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x4d
mov ecx, esi
call fcn.00486a90
sub esp, 0x44
cmp byte [edi], 0
jne 0x4635ce
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00504596
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], 0x606f88
call fcn.00503e17
cmp dword [0x606f88], 0xffffffff
jne 0x463517
mov dword [esp], 0
mov ecx, 0x606d98
call fcn.00461b60
sub esp, 4
mov dword [esp], 0x606f88
call fcn.00503e8d
jmp 0x463517
mov al, byte [esp + ebx + 0x51]
cmp al, 8
je 0x4635e6
cmp al, 9
je 0x46360e
inc ebx
movzx eax, byte [esp + 0x50]
cmp ebx, eax
jae 0x46357d
jmp 0x4635ce
mov esi, dword [esp + ebx*8 + 0x60]
test esi, esi
je 0x4635da
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov dword [esp], 1
mov ecx, esi
call edi
sub esp, 4
mov al, byte [esp + ebx + 0x51]
jmp 0x4635d6
mov esi, dword [esp + ebx*8 + 0x60]
test esi, esi
je 0x4635da
lea ecx, [esi + 0x5c]
call fcn.004d5550
lea ecx, [esi + 0x28]
call fcn.004d3470
mov ecx, esi
call fcn.004d56d0
mov dword [esp], esi
call fcn.00503da5
jmp 0x4635da
Function at 0x467c30
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov ebx, dword [ebp + 8]
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [esp + 0xd8], eax
xor eax, eax
mov dword [esp + 0xd0], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
cmp byte [ebx + 0xb], 0
mov ecx, ebx
jns 0x467c76
mov ecx, dword [ebx]
lea edx, [esp + 0xb0]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x467d10
push ebx
call fcn.0045b500
add esp, 4
movzx eax, al
xor eax, 5
cmp byte [ebx + 0xb], 0
mov ecx, ebx
jns 0x467ca7
mov ecx, dword [ebx]
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
test eax, eax
je 0x467d61
push 0x3a
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
call fcn.004deaf0
add esp, 8
test eax, eax
jle 0x467dbe
lea edi, [esp + 8]
mov ecx, edi
push 0xffffffffffffffff
push 0x5e
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
call fcn.00454e90
lea eax, [esp + 0x10]
push 0x18
push str.Scheduled_for_deletion:
push eax
call fcn.004d4870
add esp, 0xc
push ebx
push eax
call fcn.00455670
add esp, 8
mov ecx, edi
call fcn.00455270
jmp 0x467dbe
push 1
call fcn.004deac0
add esp, 4
test al, al
je 0x467d5d
call fcn.00551fb0
lea esi, [esp + 8]
mov ecx, esi
push eax
push 1
push 0x3f
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
call fcn.005520e0
lea eax, [esp + 0x10]
push ebx
push eax
call fcn.00455670
add esp, 8
push 0x10
push str._does_not_exist.
push eax
call fcn.004d4870
add esp, 0xc
mov ecx, esi
call fcn.00552140
xor ebx, ebx
jmp 0x467dc3
push 2
call fcn.004deac0
add esp, 4
test al, al
je 0x467dbe
call fcn.00551fb0
lea edi, [esp + 8]
mov ecx, edi
push eax
push 2
push 0x4a
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
call fcn.005520e0
lea eax, [esp + 0x10]
push 0x13
push str.Could_not_schedule
push eax
call fcn.004d4870
add esp, 0xc
push ebx
push eax
call fcn.00455670
add esp, 8
push 0xe
push str._for_deletion.
push eax
call fcn.004d4870
add esp, 0xc
mov ecx, edi
call fcn.00552140
test esi, esi
setne bl
mov ecx, dword [esp + 0xd8]
xor ecx, ebp
call fcn.00504596
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x468680
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov ecx, dword [ebp + 8]
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
cmp ebx, esi
je 0x4686ca
cmp byte [ebx - 1], 0
jns 0x4686b0
push dword [ebx - 0xc]
call fcn.00503da5
add esp, 4
lea edi, [ebx - 0x18]
cmp byte [ebx - 0xd], 0
jns 0x4686c4
push dword [ebx - 0x18]
call fcn.00503da5
add esp, 4
mov ebx, edi
cmp edi, esi
jne 0x46869f
mov eax, dword [ebp + 8]
mov dword [eax + 4], esi
xor eax, eax
dec eax
lea esi, [ebp - 0x1c]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
push 1
push 0x5e7240
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045ec60
mov eax, dword [esi]
test eax, eax
je 0x468770
mov dword [ebp - 0x34], eax
xor edi, edi
lea ebx, [ebp - 0x20]
mov dword [ebx], edi
lea esi, [ebp - 0x2c]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, esi
push 1
call fcn.0043a590
lea eax, [ebp - 0x30]
mov dword [eax], 0xffffffff
push ebx
mov ebx, eax
push dword [esi]
push eax
push edi
mov edi, dword [ebp - 0x34]
push str.PendingFileRenameOperations
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x468777
cmp eax, 0xea
jne 0x46879d
mov esi, 0x8000ffff
cmp dword [ebp - 0x30], 7
jne 0x4687ab
mov ecx, dword [ebp - 0x20]
test cl, 1
jne 0x4687ab
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
sub esi, eax
mov edx, ecx
sub edx, esi
jbe 0x46877e
lea esi, [ebp - 0x2c]
mov ecx, esi
push edx
call fcn.0043a590
mov eax, dword [esi]
jmp 0x468785
mov esi, 0x80070002
jmp 0x4687be
mov esi, 0x80070002
jmp 0x4687ab
jae 0x468785
add ecx, eax
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
push ebx
push 0
push str.PendingFileRenameOperations
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4687da
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4687be
mov dword [ebp - 0x28], eax
push eax
call fcn.00503da5
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.0045ee00
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504596
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
sub ecx, eax
push dword [ebp + 8]
push ecx
push eax
call fcn.004681f0
add esp, 0xc
mov esi, eax
jmp 0x4687ab
Function at 0x468fb0
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [esp + 0x38], eax
mov eax, dword [0x606fdc]
test eax, eax
je 0x4690e1
mov esi, ecx
push str.ShowHTMLDialog
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4690e1
mov edi, eax
mov dword [esp + 0x34], 0
lea eax, [esi + 4]
cmp byte [esi + 0xf], 0
jns 0x468fff
mov eax, dword [eax]
lea ebx, [esp + 0x34]
push 1
push ebx
push eax
push 0
call sub.urlmon.dll_CreateURLMonikerEx
cmp dword [ebx], 0
je 0x4690e1
mov ebx, dword [ebp + 8]
mov dword [esp + 0x30], 0
test ebx, ebx
je 0x469057
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
call fcn.0042a320
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x468f50
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x606fd8], eax
test eax, eax
je 0x469057
mov dword [0x606fe0], ebx
lea eax, [esi + 0x10]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
cmp byte [esi + 0x1b], 0
mov dword [esp + 0xc], edi
jns 0x469070
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push eax
call fcn.00574950
pcmpeqd xmm0, xmm0
lea eax, [esp + 0x10]
movdqa xmmword [eax], xmm0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
call dword [section..00cfg]
lea eax, [esp + 0x10]
push eax
push ebx
lea eax, [esp + 0x28]
push eax
push edi
push 0
call ecx
mov edi, eax
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push ebx
lea ebx, [esp + 0x14]
call ecx
movzx eax, word [ebx]
cmp ax, 8
je 0x4690e5
mov ecx, dword [ebp + 0xc]
cmp ax, 3
jne 0x469107
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
jmp 0x469107
xor ebx, ebx
jmp 0x469138
mov eax, dword [ebp + 0xc]
mov dword [eax], 6
add esi, 0x1c
push dword [esp + 0x18]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, esi
push eax
push dword [esp + 0x1c]
call fcn.00442c80
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [0x606fd8]
test eax, eax
je 0x46912a
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
xor eax, eax
mov dword [0x606fe0], eax
mov dword [0x606fd8], eax
test edi, edi
setns bl
lea ecx, [esp + 0x20]
call fcn.0048c3c0
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.00504596
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x46c030
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x208
mov esi, dword [ebp + 8]
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
call fcn.00477450
test al, al
je 0x46c146
mov edi, dword [ebp + 0xc]
push esi
call fcn.0046c170
add esp, 4
test al, al
je 0x46c091
call fcn.00463ea0
mov eax, dword [eax + 4]
mov ecx, edi
mov edx, esi
push 0
push dword [eax + 8]
call fcn.0046ff60
add esp, 8
test al, al
jne 0x46c146
lea ebx, [ebp - 0x210]
push 0x200
push 0xff
push ebx
call fcn.00508060
add esp, 0xc
lea eax, [ebp - 0x214]
mov dword [eax], 0x100
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x46c10c
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x46c10c
mov ecx, esi
push eax
call fcn.00442df0
mov ecx, esi
push 0x2e
push 1
call fcn.004432c0
mov eax, dword [ebp - 0x214]
dec eax
mov ecx, esi
push eax
push ebx
call fcn.004db260
call fcn.00463ea0
mov eax, dword [eax + 4]
mov ecx, edi
mov edx, esi
push 0
push dword [eax + 8]
call fcn.0046ff60
add esp, 8
test al, al
jne 0x46c146
cmp byte [esi + 0xb], 0
jns 0x46c15d
mov eax, dword [esi]
mov word [eax], 0
mov dword [esi + 4], 0
call fcn.00463ea0
mov eax, dword [eax + 4]
mov ecx, edi
mov edx, esi
push 0
push dword [eax + 8]
call fcn.0046ff60
add esp, 8
test al, al
jne 0x46c146
push esi
call fcn.0046c170
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504596
mov eax, esi
add esp, 0x208
pop esi
pop edi
pop ebx
pop ebp
ret
mov word [esi], 0
mov byte [esi + 0xb], 0
jmp 0x46c120
Function at 0x477b50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, dword [ebp + 0xc]
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp esi, 0x732
jg 0x477b85
cmp esi, 0x691
je 0x477b9c
cmp esi, 0x6e2
jne 0x477baf
mov esi, 0x5e88a0
jmp 0x477ba8
cmp esi, 0x733
je 0x477ba3
cmp esi, 0xaff
jne 0x477baf
mov esi, 0x5e88a8
jmp 0x477ba8
mov esi, 0x5e889c
jmp 0x477ba8
mov esi, 0x5e88a4
call fcn.00463ea0
mov esi, dword [esi]
mov edi, dword [0x6070d8]
test edi, edi
je 0x477be3
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push esi
mov esi, dword [ebp + 8]
push esi
call ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504596
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.005605d0
add esi, dword [eax + 0x18]
mov edi, dword [0x603424]
mov eax, esi
shr eax, 4
inc eax
movzx eax, ax
push 6
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x477c96
mov ebx, eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x477c96
mov dword [ebp - 0x20], edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x477c96
mov edi, eax
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
setg cl
and esi, 0xf
je 0x477c5e
test eax, eax
jle 0x477c5e
mov edx, edi
add edx, eax
dec esi
movzx eax, word [edi]
lea edi, [edi + eax*2]
add edi, 2
cmp edi, edx
setb cl
add esi, 0xffffffff
jae 0x477c5e
cmp edi, edx
jb 0x477c47
xor eax, eax
mov edx, 0
mov esi, 0
test cl, cl
je 0x477c9c
movzx ebx, word [edi]
xor eax, eax
test ebx, ebx
je 0x477c98
mov edx, 0
mov esi, 0
test edi, edi
je 0x477c9c
add edi, 2
cmp bx, 5
jae 0x477cb8
lea esi, [ebp - 0x1c]
mov byte [esi + 0xb], bl
jmp 0x477cdb
xor eax, eax
xor edx, edx
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [edi + 8], esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504596
mov eax, edi
jmp 0x477bdb
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.00503d75
add esp, 4
mov dword [ebp - 0x1c], eax
or esi, 0x80000000
mov dword [ebp - 0x14], esi
mov esi, eax
mov dword [ebp - 0x18], ebx
lea eax, [ebx + ebx]
push eax
push edi
push esi
call fcn.00507560
add esp, 0xc
mov word [esi + ebx*2], 0
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
jmp 0x477c9c