joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41010e
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48938a
mov eax, dword fs:[0]
push eax
mov eax, 0x1150
call fcn.0046e690
mov eax, dword [0x4ba760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0044e928
lea eax, [ebp - 0x114c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push ecx
mov esi, eax
lea ecx, [ebp - 0x94]
xor eax, eax
mov ebx, 0x4a2a51
push ebx
mov word [ebp - 0x98], ax
mov byte [ebp - 0x96], al
call fcn.00410b9f
and dword [ebp - 4], 0
push ecx
push ebx
lea ecx, [ebp - 0x60]
call fcn.00410b9f
xor ebx, ebx
mov word [ebp - 0x2c], bx
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x114c]
mov ecx, esi
push eax
call fcn.00410327
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [ebp - 0x98], bl
je 0x4101c2
call fcn.00410715
push str.aswhookx.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x4101fc
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x1154], eax
add eax, dword [ecx + eax + 0x28]
mov dword [ebp - 0x1150], eax
mov eax, dword [ebp - 0x1154]
push eax
mov eax, 0
push eax
xor eax, eax
push eax
mov eax, dword [ebp - 0x1150]
call eax
cmp byte [ebp - 0x97], 0
jne 0x41023c
call fcn.00432a21
test eax, eax
jne 0x41023c
push dword [ebp - 0x114c]
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.004108c1
pop ecx
lea edx, [ebp - 0x28]
call fcn.00410821
push ebx
test eax, eax
je 0x410232
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 1
lea ecx, [ebp - 0x28]
call fcn.00405131
push ebx
push ebx
push ebx
push 4
push 6
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x115c]
mov dword [ebp - 0x115c], 8
push eax
mov dword [ebp - 0x1158], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, edi
call fcn.0044ba01
push ebx
call fcn.0044d4df
pop ecx
lea eax, [ebp - 0x98]
mov dword [ebp - 0x1138], ebx
xorps xmm0, xmm0
mov dword [ebp - 0x1134], ebx
push eax
movdqu xmmword [ebp - 0x1148], xmm0
call fcn.004507c9
lea ecx, [ebp - 0x1130]
push dword [eax + 8]
call fcn.0040606d
mov dword [ebp - 0x9c], 1
lea ecx, [ebp - 0x1148]
mov byte [ebp - 4], 2
call fcn.0043571e
lea ecx, [ebp - 0x1130]
call fcn.004063ad
lea ecx, [ebp - 0x60]
call fcn.00410d9a
lea ecx, [ebp - 0x94]
call fcn.00410d9a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046933f
mov esp, ebp
pop ebp
ret
Function at 0x410715
Capabilities:
Terminate process

Disassembly:
push 0x294
mov eax, 0x489424
call fcn.0046d731
push 0x104
lea eax, [ebp - 0x218]
xor edi, edi
push eax
mov ebx, edi
push edi
mov dword [ebp - 0x29c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xc
call fcn.0043c30a
mov esi, eax
pop ecx
mov dword [ebp - 0x2a0], esi
mov dword [ebp - 4], edi
test esi, esi
je 0x410787
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x264]
call fcn.00410c0a
inc ebx
lea eax, [ebp - 0x264]
mov byte [ebp - 4], bl
mov ecx, esi
push eax
mov dword [ebp - 0x29c], ebx
call fcn.0040f984
mov esi, eax
jmp 0x410789
mov esi, edi
or dword [ebp - 4], 0xffffffff
test bl, 1
je 0x41079d
lea ecx, [ebp - 0x264]
call fcn.00410d9a
lea eax, [ebp - 0x298]
mov ecx, esi
push eax
call fcn.0040fb20
push str._test
lea edx, [eax + 0x18]
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x230]
call fcn.00405703
pop ecx
lea ecx, [ebp - 0x298]
call fcn.00410d9a
test esi, esi
je 0x4107e3
mov ecx, esi
call fcn.004037d4
push esi
call fcn.0043c337
pop ecx
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
push 0x80
push 2
push edi
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
test eax, eax
je 0x410818
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffffb
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x410821
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4ba760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x20c]
mov esi, edx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4108b0
push 0x3c
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.0046b9e0
and dword [ebp - 0x240], 0
lea eax, [ebp - 0x20c]
add esp, 0xc
mov dword [ebp - 0x248], 0x3c
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x23c], 0x4a3028
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x22c], 1
jb 0x41089b
mov esi, dword [esi]
lea eax, [ebp - 0x248]
mov dword [ebp - 0x234], esi
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x4108b2
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046933f
mov esp, ebp
pop ebp
ret
Function at 0x421bdf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc
mov eax, 0x48c25c
call fcn.0046d6fe
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x4a2528
mov dword [ebp - 0x14], ebx
call fcn.00404eab
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x100
movzx ecx, si
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov dword [ebp - 0x18], eax
push ecx
push ecx
push ebx
push eax
push ecx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
jle 0x421ca5
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043c33c
pop ecx
push edi
mov esi, eax
push esi
push ebx
push dword [ebp - 0x18]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
call fcn.00403def
mov edi, dword [ebp - 0x10]
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0040531a
push esi
call fcn.0043c337
pop ecx
jmp 0x421ca8
mov edi, dword [ebp - 0x10]
mov eax, edi
call fcn.0046d6cc
ret
Function at 0x421d55
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c2ca
mov eax, dword fs:[0]
push eax
mov eax, 0x1078
call fcn.0046e690
mov eax, dword [0x4ba760]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x1084], esi
mov ebx, ecx
mov dword [ebp - 0x1080], ebx
and dword [ebp - 4], 0
lea eax, [ebp - 0x1014]
push 0x800
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x421e09
push ecx
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1048]
call fcn.00410c0a
push esi
lea edx, [ebp - 0x1048]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x107c]
call fcn.00421cb0
add eax, 0x18
pop ecx
cmp dword [eax + 0x14], 8
jb 0x421de7
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x107c]
call fcn.00410d9a
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 0
call fcn.00410d9a
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
jmp 0x421e9f
push dword [esi]
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x421e96
push 0x800
lea eax, [ebp - 0x814]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x421e96
push ecx
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x1048]
call fcn.00410c0a
push dword [ebp - 0x1084]
lea edx, [ebp - 0x1048]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x107c]
call fcn.00421cb0
add eax, 0x18
pop ecx
cmp dword [eax + 0x14], 8
jb 0x421e74
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x107c]
call fcn.00410d9a
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 0
call fcn.00410d9a
mov ebx, dword [ebp - 0x1080]
add esi, 4
cmp esi, edi
jne 0x421e14
lea ecx, [ebp + 8]
call fcn.00405034
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046933f
mov esp, ebp
pop ebp
ret
Function at 0x42240d
Capabilities:
Connect to http server
Create http request

Disassembly:
push 0xbc
mov eax, 0x48c39d
call fcn.0046d731
mov esi, ecx
mov edx, esi
lea ecx, [ebp - 0x5c]
call fcn.00423f18
and dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
mov edx, esi
call fcn.00424047
mov byte [ebp - 4], 1
cmp dword [ebp - 0x4c], 0
je 0x4225cf
cmp dword [ebp - 0x34], 0
je 0x4225cf
and dword [ebp - 0x1c], 0
xorps xmm0, xmm0
xor bl, bl
movlpd qword [ebp - 0xc4], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
mov edx, 0x2715
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb4]
call fcn.00410941
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x422488
mov eax, dword [eax]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
lea ecx, [ebp - 0xb4]
mov edi, eax
call fcn.00410d9a
test edi, edi
je 0x422564
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
xor eax, eax
push eax
push eax
push 3
push eax
push eax
push 0x50
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x422547
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
xor edx, edx
push edx
push 0x400000
push edx
push edx
push edx
push ecx
push 0x4a3970
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x422525
lea ecx, [ebp - 0xb8]
call fcn.00423255
push dword [ebp - 0xb8]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], edx
call esi
jmp 0x42253d
mov ebx, str.Request_cannot_be_completed_on_current_url.
push ebx
call fcn.00402bda
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00403846
mov bl, 1
push dword [ebp - 0xc8]
call esi
jmp 0x42255f
mov ebx, str.Cannot_connect_to_server.
push ebx
call fcn.00402bda
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00403846
mov bl, 1
push edi
call esi
jmp 0x42257c
mov esi, str.Cannot_initialize_library.
push esi
call fcn.00402bda
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403846
mov bl, 1
test bl, bl
je 0x42259a
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x80]
call fcn.00422107
push 0x4b7644
lea eax, [ebp - 0x80]
push eax
call fcn.0046dcee
xor ebx, ebx
lea ecx, [ebp - 0x2c]
push ebx
push 1
call fcn.00403790
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00405131
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.00405131
mov eax, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xc0]
call fcn.0046d6e0
ret
push str.Cannot_get_file_size__bad_URL.
lea ecx, [ebp - 0x74]
call fcn.004035dc
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xa4]
call fcn.00422107
push 0x4b7644
lea eax, [ebp - 0xa4]
jmp 0x422594
Function at 0x423255
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
mov dword [ebp - 4], 8
push edi
push edi
mov esi, ecx
xorps xmm0, xmm0
push edi
push edi
movlpd qword [ebp - 0xc], xmm0
push dword [esi]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000005
push dword [esi]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42704a
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x874
mov eax, 0x48d55f
call fcn.0046d731
mov esi, edx
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x870], edi
mov dword [ebp - 0x864], eax
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov dword [edi], eax
mov dword [edi + 4], eax
call fcn.0042827c
mov dword [edi], eax
mov esi, dword [esi]
mov dword [ebp - 0x864], ebx
mov dword [ebp - 0x860], esi
mov eax, dword [esi]
mov dword [ebp - 0x858], eax
jmp 0x427210
mov ebx, dword [eax + 0x10]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x868]
mov dword [ebp - 0x854], ebx
push eax
push ecx
lea eax, [ebp - 0x85c]
mov dword [ebp - 0x850], ecx
push eax
lea eax, [ebp - 0x850]
mov dword [ebp - 0x85c], ecx
push eax
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 0x868], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4271ff
cmp dword [ebp - 0x850], eax
jbe 0x4271ff
mov esi, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x86c]
mov dword [ebp - 0x86c], 0x400
push eax
lea eax, [ebp - 0x814]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4271e9
push ecx
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x848]
call fcn.00410c0a
push ecx
lea edx, [ebp + 8]
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.004282fd
pop ecx
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 1
mov bl, al
call fcn.00410d9a
test bl, bl
mov ebx, dword [ebp - 0x854]
je 0x4271e9
and dword [ebp - 0x84c], 0
lea eax, [ebp - 0x84c]
push eax
push 0x20219
push 0
lea eax, [ebp - 0x814]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4271a3
cmp dword [ebp - 0x84c], eax
je 0x4271a3
movzx eax, byte [0x4c3717]
push eax
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x878]
jmp 0x4271e0
lea eax, [ebp - 0x84c]
push eax
push 0x20119
push 0
lea eax, [ebp - 0x814]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4271e9
cmp dword [ebp - 0x84c], eax
je 0x4271e9
movzx eax, byte [0x4c3717]
push eax
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x880]
push ecx
push eax
mov ecx, edi
call fcn.00428420
inc esi
push 0
pop eax
cmp esi, dword [ebp - 0x850]
jb 0x4270ef
mov esi, dword [ebp - 0x860]
lea ecx, [ebp - 0x858]
call fcn.004036c2
mov eax, dword [ebp - 0x858]
cmp eax, esi
jne 0x427098
lea ecx, [ebp + 8]
call fcn.004280e0
mov eax, edi
call fcn.0046d6e0
ret

Function at 0x427228
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
add edx, 0x18
push esi
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [edx + 0x14], 8
jb 0x42723d
mov edx, dword [edx]
push esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
test eax, eax
pop esi
cmove ecx, dword [ebp - 4]
mov eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x427421
Capabilities:
Resolve function by parsing pe exports
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48d62c
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4ba760]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x4ba760]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edi
call fcn.00410aa2
and dword [esp + 0x98], 0
xor ebx, ebx
mov eax, dword [esi + 8]
inc ebx
sub eax, dword [esi + 4]
push 0x34
pop ecx
cdq
idiv ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ecx
cmp eax, ebx
jbe 0x42750f
mov edi, ecx
mov eax, dword [esi + 4]
lea ecx, [esp + 0x20]
add eax, edi
push eax
call fcn.00410ea6
mov eax, dword [esi + 8]
sub eax, dword [esi + 4]
push 0x34
cdq
pop ecx
idiv ecx
mov ecx, dword [esp + 0x10]
dec eax
cmp ecx, eax
jae 0x4274f2
push ecx
push 0x4a2b28
lea ecx, [esp + 0x5c]
call fcn.00410b9f
lea eax, [esp + 0x54]
mov byte [esp + 0x98], bl
push eax
lea ecx, [esp + 0x24]
call fcn.00410ea6
lea ecx, [esp + 0x54]
mov byte [esp + 0x98], 0
call fcn.00410d9a
mov ecx, dword [esp + 0x10]
push 0x34
pop eax
add edi, eax
inc ecx
mov eax, dword [esi + 8]
sub eax, dword [esi + 4]
cdq
idiv dword [esp + 0x18]
mov dword [esp + 0x10], ecx
cmp ecx, eax
jb 0x427495
mov edi, dword [esp + 0x1c]
xor edx, edx
lea ecx, [esp + 0x14]
cmp dword [esp + 0x4c], 8
lea eax, [esp + 0x38]
push edx
cmovae eax, dword [esp + 0x3c]
push ecx
push edx
push 0xf003f
push edx
push edx
push edx
push eax
push dword [esi]
mov dword [esp + 0x38], edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42757d
mov eax, dword [edi + 0x10]
lea edx, [edi + 0x18]
cmp dword [edx + 0x14], 8
jb 0x42754d
mov edx, dword [edx]
lea ecx, [esi + 0x28]
cmp dword [ecx + 0x14], 8
jb 0x427558
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push edx
push ebx
push 0
push ecx
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x42757f
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
lea ecx, [esp + 0x20]
call fcn.00410d9a
mov al, bl
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0046933f
mov esp, ebp
pop ebp
ret 4
Function at 0x4275ad
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xa8
mov eax, 0x48d697
call fcn.0046d731
mov ebx, ecx
mov dword [ebp - 0xa0], ebx
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0xac], edi
mov dword [edi], esi
mov dword [edi + 4], esi
call fcn.0040ea7c
mov dword [edi], eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], esi
push eax
mov ecx, ebx
mov dword [ebp - 0x9c], 1
call fcn.00427d5e
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0xa8]
mov dword [ebp - 0x98], esi
mov eax, dword [esi]
mov dword [ebp - 0x8c], eax
jmp 0x427791
and dword [ebp - 0x80], 0
cmp dword [ebx + 0x3c], 8
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x84], eax
jb 0x42763d
mov ecx, dword [ebx + 0x28]
jmp 0x427640
lea ecx, [ebx + 0x28]
lea edx, [ebp - 0x80]
push edx
xor edx, edx
push edx
push edx
push edx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x427780
cmp dword [ebp - 0x80], eax
je 0x427780
push dword [ebp - 0x80]
call fcn.0043c33c
mov edx, dword [ebp - 0xa0]
pop ecx
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
lea edx, [edx + 0x10]
call fcn.00427228
test eax, eax
je 0x427774
cmp eax, 2
jbe 0x42769e
add eax, 0xfffffffa
cmp eax, 1
ja 0x427774
cmp dword [ebx + 0x3c], 8
jb 0x4276a9
mov eax, dword [ebx + 0x28]
jmp 0x4276ac
lea eax, [ebx + 0x28]
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp - 0x88]
push 0
push 0
push eax
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x427774
lea ecx, [ebp - 0x48]
call fcn.00410aa2
and dword [ebp - 0x90], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x80]
add eax, 0xfffffffe
test eax, 0xfffffffe
jbe 0x42774d
mov esi, dword [ebp - 0x90]
mov edi, dword [ebp - 0x88]
movzx ecx, byte [edi + esi*2 + 1]
movzx eax, byte [edi + esi*2]
shl cx, 8
or cx, ax
movzx eax, cx
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00410ceb
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x48]
call fcn.00410ea6
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.00410d9a
mov eax, dword [ebp - 0x80]
inc esi
add eax, 0xfffffffe
shr eax, 1
cmp esi, eax
jb 0x4276fb
mov esi, dword [ebp - 0x98]
mov edi, dword [ebp - 0x94]
movzx eax, byte [0x4c3717]
push eax
lea eax, [ebp - 0x48]
push eax
push ecx
lea eax, [ebp - 0xb4]
mov ecx, edi
push eax
call fcn.00428586
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00410d9a
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x8c]
call fcn.004036c2
mov eax, dword [ebp - 0x8c]
cmp eax, esi
jne 0x427625
lea ecx, [ebp - 0xa8]
call fcn.004280b7
mov eax, edi
call fcn.0046d6e0
ret 4
Function at 0x4277ae
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x48d6e0
call fcn.0046d6fe
mov edi, ecx
mov dword [ebp - 0x24], edi
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], esi
mov ebx, dword [ebp + 8]
mov dword [ebx], esi
mov dword [ebx + 4], esi
call fcn.0042827c
mov dword [ebx], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x2c]
inc esi
mov ecx, edi
push eax
mov dword [ebp - 0x20], esi
call fcn.00427d5e
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x427910
add edi, 0x28
mov ebx, dword [eax + 0x10]
xor edx, edx
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x10], edx
jb 0x427810
mov eax, dword [edi]
jmp 0x427812
mov eax, edi
lea ecx, [ebp - 0x10]
push ecx
push edx
push edx
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4278fa
cmp dword [ebp - 0x10], eax
je 0x4278fa
push dword [ebp - 0x10]
call fcn.0043c33c
mov edx, dword [ebp - 0x24]
and dword [ebp - 0x18], 0
pop ecx
mov ecx, ebx
mov dword [ebp - 0x14], eax
lea edx, [edx + 0x10]
call fcn.00427228
sub eax, 4
je 0x4278a4
dec eax
jne 0x4278f3
cmp dword [edi + 0x14], 8
jb 0x427865
mov eax, dword [edi]
jmp 0x427867
mov eax, edi
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x14]
push 0
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4278f3
cmp dword [ebp - 0x10], 4
jne 0x42788d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
bswap eax
jmp 0x427890
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
movzx eax, byte [0x4c3717]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
jmp 0x4278e9
cmp dword [edi + 0x14], 8
jb 0x4278ae
mov eax, dword [edi]
jmp 0x4278b0
mov eax, edi
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x14]
push 0
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4278f3
cmp dword [ebp - 0x10], 4
jne 0x4278d4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
jmp 0x4278d7
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
movzx eax, byte [0x4c3717]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.00428420
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
call fcn.004036c2
mov eax, dword [ebp - 0x1c]
cmp eax, esi
jne 0x4277fe
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.004280b7
mov eax, ebx
call fcn.0046d6cc
ret 4