joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e086e8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fdf2e7
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov edi, ecx
add edi, 0x1c
xor ebx, ebx
cmp byte [edi + 0x50], bl
jne 0x45e08757
lea eax, [esp + 0x74]
call fcn.45e16f25
mov dword [esp + 0xa8], ebx
push 1
lea eax, [esp + 0x78]
push eax
mov ecx, edi
call fcn.45dec9dc
or dword [esp + 0xa8], 0xffffffff
lea esi, [esp + 0x74]
call fcn.45e16d86
add edi, 0x38
mov dword [esp + 0x18], ebx
mov dword [esp + 0xa8], 2
push 0x45dba53c
lea eax, [esp + 0x1c]
push eax
call fcn.45e179c3
mov eax, dword [edi + 8]
neg eax
sbb eax, eax
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x45e08876
lea eax, [esp + 0x48]
push eax
call fcn.45e2853c
mov byte [esp + 0xa8], 3
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.45e13fdc
push 1
push ebx
lea eax, [esp + 0x30]
push eax
call fcn.45e3040f
mov byte [esp + 0xa8], 4
lea esi, [esp + 0x28]
lea ecx, [esp + 0x48]
call fcn.45e088e4
test al, al
je 0x45e0881a
mov ecx, esi
call fcn.45f4852e
test al, al
je 0x45e0881a
push dword [esp + 0x3c]
lea eax, [esp + 0x20]
push eax
call fcn.45e1243a
mov byte [esp + 0xa8], 5
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x45e08808
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov byte [esp + 0xa8], 4
lea eax, [esp + 0x1c]
push eax
call fcn.45df1a56
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x48]
add esi, 0xc
call dword [eax + 0x28]
push eax
push dword [esp + 0x18]
call dword [esi]
mov esi, eax
cmp esi, ebx
jl 0x45e0889e
mov al, byte [0x4603ba3d]
test al, al
jne 0x45e0881a
mov byte [esp + 0xa8], 3
lea eax, [esp + 0x28]
push eax
call fcn.45de28b4
mov byte [esp + 0xa8], 2
lea eax, [esp + 0x48]
push eax
call fcn.45e284c6
cmp dword [esp + 0x20], ebx
jne 0x45e0878b
or dword [esp + 0xa8], 0xffffffff
lea eax, [esp + 0x18]
push eax
call fcn.45df1a56
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
push eax
push 0x2ec
push 0x45dbceb0
push esi
mov dword [esp + 0x24], ebx
call fcn.45f85675
add esp, 0x10
push ebx
push dword [esp + 0x18]
lea ecx, [esp + 0x94]
push esi
call fcn.45e280b7
push 0x45ff0f98
lea eax, [esp + 0x90]
push eax
call fcn.45fb1416
int3
Function at 0x45e0cb66
Capabilities:
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 4
push esi
push 0x45e0cbc4
push 0
push 0
call dword [fcn.45db1438]
add esp, 0x18
mov dword [esi + 0x1c], eax
test eax, eax
je 0x45e0cbbd
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
push dword [ebp - 4]
call fcn.45e0cea6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
leave
ret

Function at 0x45e0df98
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fd815e
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x1c]
push eax
call fcn.45e1125b
and dword [esp + 0x30], 0
movzx ebx, byte [edi + 0x2d]
push 4
push ecx
mov esi, esp
mov dword [esp + 0x1c], esp
push 0x45dba75c
call fcn.45f8f423
mov byte [esp + 0x38], 1
push ecx
mov esi, esp
mov dword [esp + 0x24], esp
push 0x45dba6a0
call fcn.45f8f423
mov byte [esp + 0x3c], 2
lea eax, [esp + 0x1f]
push eax
mov byte [esp + 0x40], 0
mov ecx, ebx
call fcn.45f868e3
movzx eax, byte [edi + 4]
push 0x45dba748
push dword [esp + 0x20]
call fcn.45ee4b76
movzx eax, byte [edi + 5]
push 0x45dba72c
push dword [esp + 0x28]
call fcn.45ee4b76
movzx eax, byte [edi + 6]
push 0x45dba798
push dword [esp + 0x30]
call fcn.45ee4b76
movzx eax, byte [edi + 7]
push 0x45dba7b8
push dword [esp + 0x38]
call fcn.45ee4b76
movzx eax, byte [edi + 8]
push 0x45dba7d4
push dword [esp + 0x40]
call fcn.45ee4b76
mov eax, dword [edi + 0xc]
push 0x45dba6e8
push dword [esp + 0x48]
call fcn.45ee4b76
movzx eax, byte [edi + 0x10]
push 0x45dba6bc
push dword [esp + 0x50]
call fcn.45ee4b76
mov eax, dword [edi + 0x14]
push 0x45dba708
push dword [esp + 0x58]
call fcn.45ee4b76
movzx eax, byte [edi + 0x18]
add esp, 0x40
push 0x45dba7f4
push dword [esp + 0x20]
call fcn.45ee4b76
movzx eax, byte [edi + 0x19]
push 0x45dba828
push dword [esp + 0x28]
call fcn.45ee4b76
movzx eax, byte [edi + 0x1a]
push 0x45dba854
push dword [esp + 0x30]
call fcn.45ee4b76
movzx eax, byte [edi + 0x1b]
push 0x45dba884
push dword [esp + 0x38]
call fcn.45ee4b76
movzx eax, byte [edi + 0x1c]
push 0x45dba8a8
push dword [esp + 0x40]
call fcn.45ee4b76
movzx eax, byte [edi + 0x2c]
push 0x45dba910
push dword [esp + 0x48]
call fcn.45ee4b76
mov eax, dword [edi + 0x20]
push 0x45dba8dc
push dword [esp + 0x50]
call fcn.45ee4b76
mov eax, dword [edi + 0x24]
push 0x45dba8f4
push dword [esp + 0x58]
call fcn.45ee4b76
add esp, 0x40
or dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0x1c]
push eax
call fcn.45df115e
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e11560
Capabilities:
Hide graphical window

Disassembly:
push 0x28
mov eax, 0x45fda25b
call fcn.45fb1a35
lea eax, [ebp - 0x30]
push eax
call fcn.45e2720b
and dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov edi, dword [ebp + 8]
add edi, 4
push edi
call fcn.45e24b86
push 0x1c6f
push dword [edi]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
call esi
push 0
push 1
push 0xf1
push eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
call ebx
mov eax, dword [0x4603911c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
push 0x938
push dword [edi]
call esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
call fcn.45f8dac8
mov byte [ebp - 4], 3
push dword [eax]
push 1
push 0x1ca6
lea eax, [ebp - 0x1c]
push eax
call fcn.45f8c705
add esp, 0x10
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
call fcn.45f8f411
push dword [ebp - 0x1c]
lea edx, [ebp - 0x20]
call fcn.45e25c20
push 0x1c72
push dword [edi]
call esi
mov dword [ebp - 0x20], eax
push 0
push 0x7f03
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
push 0x170
push dword [ebp - 0x20]
call ebx
xor ebx, ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10c], ebx
jne 0x45e116c8
push 0x1c71
push dword [edi]
call esi
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7149
push dword [edi]
call esi
mov dword [ebp - 0x24], eax
mov eax, dword [0x4603911c]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
push 0x1c73
lea eax, [ebp - 0x14]
push eax
call fcn.45f8c420
push dword [ebp - 0x14]
lea edx, [ebp - 0x24]
call fcn.45e25c20
push 0x1c6f
push dword [edi]
call esi
mov dword [ebp - 0x28], eax
push 0x1c9d
lea eax, [ebp - 0x14]
push eax
call fcn.45f8c420
push dword [ebp - 0x14]
lea edx, [ebp - 0x28]
call fcn.45e25c20
push 0x1c78
push dword [edi]
call esi
push ebx
push eax
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
call ebx
push 0x937
push dword [edi]
call esi
push 0
push eax
call ebx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
call fcn.45f8f411
xor ebx, ebx
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_GetSystemMenu]
cmp eax, ebx
je 0x45e116e3
push 3
push 0xf060
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c]
call fcn.45f8f411
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 8]
call fcn.45f93be8
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x30]
push eax
call fcn.45e27253
mov eax, esi
call fcn.45fb1ae9
ret 4
Function at 0x45e250d6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc
mov eax, 0x45fc687b
call fcn.45fb19fd
xor eax, eax
cmp byte [0x4603c5d0], al
sete al
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.45e25058
and dword [ebp - 4], 0
movzx eax, word [ebp + 0xc]
push 5
push eax
mov esi, 0x4603c598
push esi
call fcn.45f8bc3c
push eax
call dword [0x4603b2f8]
mov edi, eax
test edi, edi
jne 0x45e25129
push 0xb9
push 0x45dc0858
call fcn.45f85b90
push edi
push ecx
push esi
call fcn.45f8bc3c
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x45e25151
push 0xbd
push 0x45dc0858
push 0x8007000e
call fcn.45f85378
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x45e25166
push 0xc1
jmp 0x45e25142
push edi
push ecx
push esi
call fcn.45f8bc3c
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x45e251c6
and dword [ebp + 0xc], 0
mov edx, dword [ecx]
lea esi, [ebp + 0xc]
push esi
push dword [ebp - 0x14]
push eax
push ecx
call dword [edx + 0x18]
test eax, eax
jge 0x45e251a3
push 0xce
push 0x45dc0858
push eax
call fcn.45f857be
mov eax, dword [ebp + 0xc]
mov ecx, 0xffff
cmp word [eax + 2], cx
mov esi, eax
sete cl
test cl, cl
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
je 0x45e251c0
add eax, 0xc
push eax
call dword [edx + 0x14]
jmp 0x45e251d3
push eax
push dword [ebp - 0x14]
call fcn.45f35354
pop ecx
pop ecx
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.45e56773
mov eax, esi
call fcn.45fb1ae9
ret 8

Function at 0x45e26703
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fcd879
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
call fcn.45e27eb5
lea eax, [esp + 0xc]
push eax
call fcn.45e2774a
and dword [esp + 0x30], 0
add esi, 0x40
mov edi, eax
call fcn.45e26775
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.45e277ac
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45e2f527
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fc9907
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
push ebx
push esi
push edi
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x24]
push eax
call fcn.45e3a6b2
and dword [esp + 0x1b8], 0
push dword [ebp + 8]
lea ecx, [edi + 8]
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
mov ebx, dword [0x4603ba4c]
mov esi, eax
add ebx, 0xc0
lea eax, [esp + 0x24]
call fcn.45e3378e
test al, al
je 0x45e2f5ea
mov al, byte [0x4603ba3f]
test al, al
jne 0x45e2f56f
push dword [ebp + 8]
lea ecx, [edi + 0x20]
mov eax, dword [ecx]
call dword [eax]
lea ecx, [eax + 0xc]
mov eax, dword [ecx]
lea edx, [esp + 0x30]
push edx
call dword [eax + 0x170]
mov bl, al
or dword [esp + 0x1b8], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.45e3aa10
mov al, bl
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0x104
push 0x45dc18bc
mov esi, 0x80004005
push esi
call fcn.45f85675
mov eax, dword [esp + 0x20]
and dword [esp + 0x30], 0
add esp, 0x10
mov dword [esp + 0x1c], eax
push 0x45ff0f98
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x45dc096c
mov dword [esp + 0x20], esi
call fcn.45fb1416
int3
Function at 0x45e482fb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fd3e54
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push edi
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
xor edi, edi
push eax
mov dword [esp + 0x10], edi
call fcn.45e118e4
mov dword [esp + 0x78], edi
lea eax, [esp + 0x1c]
push eax
call fcn.45e27b6d
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0xffffe0b2
push eax
call dword [ecx + 0x58]
cmp eax, edi
jge 0x45e48373
push 0x24bd
push 0x45dc1bbc
push eax
call fcn.45f857be
cmp word [esp + 0x1c], 0xb
jne 0x45e483de
mov al, byte [0x4603ba3f]
test al, al
jne 0x45e48373
cmp word [esp + 0x24], di
jne 0x45e48496
lea eax, [esp + 0x40]
push eax
call fcn.45e2853c
mov byte [esp + 0x78], 2
lea ecx, [esp + 0x40]
call fcn.45efae55
lea ecx, [esp + 0x40]
call fcn.45f43ad5
test al, al
je 0x45e48429
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
call fcn.45f42c59
mov byte [esp + 0x78], 3
mov ecx, eax
mov dword [esp + 0xc], 1
call fcn.45f33187
test al, al
jne 0x45e48429
mov bl, 1
jmp 0x45e4842b
lea eax, [esp + 0x14]
push eax
push 0x24bf
push 0x45dc1bbc
push 0x80004005
mov dword [esp + 0x24], edi
call fcn.45f85675
mov eax, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x38], eax
push 0x45ff0f98
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x38], 0x45dc096c
mov dword [esp + 0x3c], 0x80004005
mov dword [esp + 0x44], edi
call fcn.45fb1416
xor bl, bl
mov dword [esp + 0x78], 2
test byte [esp + 0xc], 1
je 0x45e4844d
mov eax, dword [esp + 0x18]
and dword [esp + 0xc], 0xfffffffe
add eax, 0xfffffff4
push eax
call fcn.45f8f362
pop ecx
test bl, bl
je 0x45e48482
mov byte [esp + 0x78], 1
lea eax, [esp + 0x40]
push eax
call fcn.45e284c6
mov byte [esp + 0x78], 0
lea eax, [esp + 0x1c]
push eax
call fcn.45e27c74
or dword [esp + 0x78], 0xffffffff
lea eax, [esp + 0x10]
push eax
call fcn.45e56773
mov al, 1
jmp 0x45e484b9
mov byte [esp + 0x78], 1
lea eax, [esp + 0x40]
push eax
call fcn.45e284c6
cmp word [esp + 0x24], di
setne bl
mov byte [esp + 0x78], 0
lea eax, [esp + 0x1c]
push eax
call fcn.45e27c74
or dword [esp + 0x78], 0xffffffff
lea eax, [esp + 0x10]
push eax
call fcn.45e56773
mov al, bl
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e76274
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x4603d28c]
test eax, eax
je 0x45e762b6
cmp word [eax + 0x20c], 0
jne 0x45e762b0
push 0x103
call fcn.45e762c0
push eax
mov eax, dword [0x4603d28c]
add eax, 0x20c
push 0x104
push eax
call dword [fcn.45db1440]
mov eax, dword [0x4603d28c]
add esp, 0x10
add eax, 0x20c
ret
jmp fcn.45e762c0

Function at 0x45e762c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor eax, eax
push esi
push edi
mov word [0x4603d510], ax
mov eax, dword [0x4603d28c]
xor edi, edi
mov esi, 0x4603d510
cmp eax, edi
je 0x45e76384
add eax, 4
cmp word [eax], di
je 0x45e76384
lea ecx, [ebp - 8]
push ecx
push 0x20019
push edi
push eax
push SysReAllocStringLen
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45e7637b
lea eax, [ebp - 4]
push eax
push 0x20019
push edi
push 0x45dc58ec
push dword [ebp - 8]
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45e76372
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push edi
push 0x45dc58cc
push dword [ebp - 4]
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x10], 0x208
call ebx
test eax, eax
jne 0x45e76361
cmp dword [ebp - 0xc], 1
je 0x45e76369
xor eax, eax
mov word [0x4603d510], ax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [0x4603d510], di
jne 0x45e763e2
lea eax, [ebp - 8]
push eax
push 0x20019
push edi
push 0x45dc5928
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45e763e2
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push edi
push 0x45dc58cc
push dword [ebp - 8]
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x10], 0x208
call ebx
test eax, eax
jne 0x45e763d1
cmp dword [ebp - 0xc], 1
je 0x45e763d9
xor eax, eax
mov word [0x4603d510], ax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x45e83084
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
push esi
mov esi, dword [ebp + 8]
cmp byte [esi], 0
push edi
je 0x45e830e0
and dword [esp + 8], 0
lea eax, [esp + 8]
push eax
push 0x6a
push 0x45dc661c
mov esi, 0x80004005
push esi
call fcn.45f85675
mov eax, dword [esp + 0x18]
add esp, 0x10
and dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0x45dc096c
mov dword [esp + 0x24], esi
push 0x45ff0f98
lea eax, [esp + 0x24]
push eax
call fcn.45fb1416
cmp dword [ecx], 0x80000000
je 0x45e8317a
mov dl, byte [0x4603ba48]
test dl, dl
jne 0x45e830e0
xor edi, edi
cmp ebx, edi
je 0x45e831c0
mov dl, byte [0x4603ba48]
test dl, dl
jne 0x45e830f6
cmp eax, edi
je 0x45e83204
mov dl, byte [0x4603ba48]
test dl, dl
jne 0x45e8310a
mov edx, dword [ebx]
lea edi, [esi + 8]
push edi
add eax, 8
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x20]
test al, al
jne 0x45e83248
and dword [esp + 0x18], 0
lea eax, [esp + 0x18]
push eax
push 0x74
push 0x45dc661c
mov esi, 0x80004005
push esi
call fcn.45f85675
mov eax, dword [esp + 0x28]
add esp, 0x10
and dword [esp + 0x6c], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], 0x45dc096c
mov dword [esp + 0x64], esi
push 0x45ff0f98
lea eax, [esp + 0x64]
jmp 0x45e830da
and dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push 0x6d
push 0x45dc661c
mov esi, 0x80004005
push esi
call fcn.45f85675
mov eax, dword [esp + 0x1c]
add esp, 0x10
and dword [esp + 0x3c], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], 0x45dc096c
mov dword [esp + 0x34], esi
push 0x45ff0f98
lea eax, [esp + 0x34]
jmp 0x45e830da
lea eax, [esp + 0x10]
push eax
push 0x6e
push 0x45dc661c
mov esi, 0x80004005
push esi
mov dword [esp + 0x20], edi
call fcn.45f85675
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], 0x45dc096c
mov dword [esp + 0x44], esi
mov dword [esp + 0x4c], edi
push 0x45ff0f98
lea eax, [esp + 0x44]
jmp 0x45e830da
lea eax, [esp + 0x14]
push eax
push 0x6f
push 0x45dc661c
mov esi, 0x80004005
push esi
mov dword [esp + 0x24], edi
call fcn.45f85675
mov eax, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], 0x45dc096c
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], edi
push 0x45ff0f98
lea eax, [esp + 0x54]
jmp 0x45e830da
cmp dword [edi], 0
je 0x45e83264
mov al, byte [0x4603ba48]
test al, al
jne 0x45e83248
pop edi
mov dword [esi + 4], ebx
mov byte [esi], 1
pop esi
mov esp, ebp
pop ebp
ret 4
and dword [esp + 0x1c], 0
lea eax, [esp + 0x1c]
push eax
push 0x77
push 0x45dc661c
mov esi, 0x80004005
push esi
call fcn.45f85675
mov eax, dword [esp + 0x2c]
add esp, 0x10
and dword [esp + 0x7c], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x70], 0x45dc096c
mov dword [esp + 0x74], esi
push 0x45ff0f98
lea eax, [esp + 0x74]
jmp 0x45e830da
Function at 0x45eb719d
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x4603d28c]
test eax, eax
je 0x45eb71c7
push 0x103
push dword [ebp + 8]
add eax, 0x20c
push 0x104
push eax
call dword [fcn.45db1440]
add esp, 0x10
pop ebp
jmp fcn.45eb721a

Function at 0x45eb71d2
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x4603d28c]
test eax, eax
je 0x45eb7210
cmp dword [eax + 0x414], 0
jne 0x45eb7201
call fcn.45eb72bf
xor ecx, ecx
test al, al
mov eax, dword [0x4603d28c]
setne cl
inc ecx
mov dword [eax + 0x414], ecx
mov eax, dword [0x4603d28c]
xor ecx, ecx
cmp dword [eax + 0x414], 2
sete cl
mov al, cl
ret
jmp fcn.45eb72bf

Function at 0x45eb72bf
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4603d28c]
push ebx
xor ebx, ebx
push esi
push edi
mov byte [ebp - 1], bl
cmp eax, ebx
je 0x45eb7362
add eax, 4
cmp word [eax], bx
je 0x45eb7362
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0xc]
push ecx
mov edi, 0x20019
push edi
push ebx
push eax
push SysReAllocStringLen
mov dword [ebp - 0xc], ebx
call esi
test eax, eax
jne 0x45eb7362
lea eax, [ebp - 8]
push eax
push edi
push ebx
push 0x45dc58b0
push dword [ebp - 0xc]
mov dword [ebp - 8], ebx
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x45eb735d
push 4
pop esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x45dc588c
push dword [ebp - 8]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45eb7358
cmp dword [ebp - 0x10], esi
jne 0x45eb7358
cmp dword [ebp - 0x14], ebx
setne byte [ebp - 1]
push dword [ebp - 8]
call edi
push dword [ebp - 0xc]
call edi
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45eb736f
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4603d28c]
push esi
add eax, 4
xor esi, esi
cmp word [eax], si
je 0x45eb73f3
push edi
lea ecx, [ebp - 8]
push ecx
mov edi, 0x20006
push edi
push esi
push eax
push SysReAllocStringLen
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45eb73f2
push esi
lea eax, [ebp - 4]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x45dc58b0
push dword [ebp - 8]
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x45eb73ed
movzx eax, byte [ebp + 8]
push 4
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push esi
push 0x45dc588c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call edi
push dword [ebp - 8]
call edi
pop edi
pop esi
leave
ret 4