joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dc300
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, ecx
test edi, edi
jne 0x4dc30c
xor eax, eax
jmp 0x4dc320
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4dc311
sub eax, edx
sar eax, 1
push eax
push edi
mov ecx, 0x6b966c
call fcn.0040c9d0
mov esi, dword [0x6b9660]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push edi
push 1
push 0x650edc
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
pop edi
sbb eax, eax
inc eax
pop esi
ret

Function at 0x4dc390
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
push 0
push str.type
push dword [0x6b9660]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4dc3d0
mov eax, dword [ebp - 4]
cmp eax, 2
jbe 0x4dc3d2
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4dc3e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600a0d
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x220], esi
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], esi
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
push eax
push 0
push str.token
push dword [0x6b9660]
mov dword [ebp - 0x220], 0x208
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4dc468
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0040c380
jmp 0x4dc47d
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4dc4aa
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040b250
int3
Function at 0x4dc4c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600aa4
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x224], edi
lea eax, [ebp - 0x224]
mov dword [ebp - 0x228], edi
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0
push eax
push 0
push 0x650edc
push dword [0x6b9660]
mov dword [ebp - 0x224], 0x208
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4dc627
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4dc66a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040c5a0
test al, al
jne 0x4dc5a2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4dc580
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040c9d0
mov dword [ebp - 4], 2
mov esi, dword [ebp - 0x21c]
cmp dword [esi - 0xc], 0
jle 0x4dc608
push 0x40
push esi
call fcn.00588565
add esp, 8
test eax, eax
je 0x4dc608
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4dc608
add esi, 0xfffffff0
mov ecx, esi
call fcn.0040c950
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x220], 1
mov dword [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4dc64d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x4dc64d
mov dword [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4dc627
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4dc674
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040b250
push 0x80004005
call fcn.0040b250
int3
Function at 0x4dc680
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x639ee0]
push esi
push edi
push 0x206
mov word [ebp - 0x450], ax
lea eax, [ebp - 0x44e]
push 0
push eax
call fcn.00588800
add esp, 0xc
mov dword [ebp - 0x454], 0x208
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x450]
push eax
push 0
push 0x658f20
push dword [0x6b9660]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4dc72b
cmp dword [ebp - 0x454], eax
jbe 0x4dc72b
lea ecx, [ebp - 0x450]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4dc700
sub ecx, edx
lea eax, [ebp - 0x450]
sar ecx, 1
push ecx
push eax
mov ecx, 0x6b9694
call fcn.0040c9d0
mov eax, 1
jmp 0x4dc834
push 0x200
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.00588800
add esp, 0xc
lea ecx, [ebp - 0x248]
call fcn.00469470
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x4dc76f
push 0x64e5ec
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x40
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.00588800
lea ecx, [ebp - 0x248]
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4dc790
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x4dc7dc
lea edi, [ecx + ecx]
mov eax, edi
call fcn.005dd590
mov esi, esp
test esi, esi
je 0x4dc7dc
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x248]
mov byte [esi], 0
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4dc7de
xor eax, eax
push 0x40
lea edx, [ebp - 0x48]
mov ecx, eax
call fcn.004665f0
add esp, 4
mov byte [ebp - 0x38], 0
lea eax, [ebp - 0x48]
push eax
call fcn.005c3d4f
add esp, 4
lea eax, [ebp - 0x48]
mov ecx, 0x6b9694
push eax
call fcn.0040c670
mov eax, dword [0x6b9694]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push 0x658f20
push dword [0x6b9660]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
lea esp, [ebp - 0x460]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret
Function at 0x4dd360
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600cd0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x6b000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
push 3
push 0
push 0
push dword [ebp + 8]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x4dd3be
push 3
push 0
push dword [ebp + 8]
push str.iexplore.exe
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4dd3e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ddb80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x6b000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x64], 0x44
push eax
lea eax, [ebp - 0x64]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push ebx
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
jne 0x4ddc5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4ddc8d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x10]
push esi
push ebx
push str.CreateProcess__s_Failed__d
push eax
call fcn.0040d300
mov esi, dword [ebp - 0x10]
push esi
call fcn.004131f0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4ddc5e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
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
push 0x80004005
call fcn.0040b250
int3
Function at 0x4ddca0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600f18
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x6b000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x64], 0x44
mov word [ebp - 0x22], ax
xorps xmm0, xmm0
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
movlpd qword [ebp - 0x60], xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push edx
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x32], xmm0
movlpd qword [ebp - 0x2a], xmm0
mov dword [ebp - 0x38], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
jne 0x4ddd86
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4dddb4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x10]
push esi
push str.CreateProcess_Failed__d
push eax
call fcn.0040d300
mov esi, dword [ebp - 0x10]
push esi
call fcn.004131f0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4ddd86
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
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
push 0x80004005
call fcn.0040b250
int3
Function at 0x4e0370
Capabilities:
Get file version info
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601633
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x6b000c]
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 esi, ecx
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x428], 0
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4e05b6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x428], 1
mov dword [ebp - 0x42c], 0x34
call fcn.00588800
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x4e04a1
push ebx
call fcn.00560596
add esp, 4
mov edi, eax
lea eax, [ebp - 0x218]
push edi
push ebx
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4e0496
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x430]
push eax
push 0x64f4f8
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4e0496
mov ecx, dword [ebp - 0x430]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push esi
call fcn.0040d300
add esp, 0x18
push 1
push edi
call fcn.005603ff
add esp, 8
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x4e0598
mov ax, word [0x639ee0]
push 0x206
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push 0
push eax
call fcn.00588800
add esp, 0xc
mov dword [ebp - 0x434], 0x208
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push 0x659380
push 0x650fc8
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4e0598
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x424]
call fcn.0040c380
mov dword [ebp - 4], 2
or ebx, 0xffffffff
mov edx, dword [eax]
mov edi, dword [esi]
sub edi, 0x10
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4e0576
cmp dword [edi + 0xc], 0
jl 0x4e056b
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4e056b
call fcn.0040c950
mov dword [ebp - 0x438], eax
lea ecx, [edi + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4e055e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x438]
add eax, 0x10
mov dword [esi], eax
jmp 0x4e0576
push dword [edx - 0xc]
mov ecx, esi
push edx
call fcn.0040c9d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4e0598
mov ecx, dword [eax]
push eax
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
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040b250
int3
Function at 0x4e0640
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6016cd
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x6b000c]
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 esi, ecx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x220], 0
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4e078f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x224], 0x34
call fcn.00588800
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x4e0771
push ebx
call fcn.00560596
add esp, 4
mov edi, eax
lea eax, [ebp - 0x218]
push edi
push ebx
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4e0766
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x64f4f8
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4e0766
mov ecx, dword [ebp - 0x21c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d_d
push esi
call fcn.0040d300
add esp, 0x18
push 1
push edi
call fcn.005603ff
add esp, 8
mov eax, esi
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.0055f9be
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040b250
int3

Function at 0x4e0850
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601718
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6b000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4e08f9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._I64d
push eax
call fcn.0040d300
mov esi, dword [ebp - 0x10]
add esp, 0x10
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.SSTime
push dword [0x6b9660]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4e08e9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040b250
int3
Function at 0x4e0910
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x639ee0]
xorps xmm0, xmm0
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push 0
push eax
movlpd qword [ebp - 0x218], xmm0
call fcn.00588800
add esp, 0xc
mov dword [ebp - 0x224], 0x208
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push str.SSTime
push dword [0x6b9660]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4e09d7
lea eax, [ebp - 0x210]
push eax
call fcn.005a751e
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 0x21c], edx
call fcn.005b8667
add esp, 8
test eax, eax
je 0x4e09d7
mov eax, dword [eax + 0x14]
sub eax, 0x74
cmp eax, 0x1e3
ja 0x4e09d7
mov eax, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x218]
xor ecx, ebp
mov edx, dword [ebp - 0x214]
call fcn.0055f9be
mov esp, ebp
pop ebp
ret
Function at 0x4e28e0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601d4d
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x6b000c]
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 dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], esi
xor ebx, ebx
mov dword [ebp - 0x220], ebx
push 0x208
push ebx
lea eax, [ebp - 0x21c]
push eax
call fcn.00588800
add esp, 0xc
mov dword [ebp - 0x224], 0x208
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push str.adid
push 0x650fc8
push SysReAllocString
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call edi
test eax, eax
jne 0x4e2990
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.0040c380
mov dword [ebp - 4], ebx
mov dword [ebp - 0x220], 1
jmp 0x4e2a73
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push str.InstallerName
push 0x650fc8
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x4e2a4e
mov dword [ebp - 4], 1
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x4e2a2c
push 0x2d
push eax
call fcn.00588565
add esp, 8
mov edi, eax
test edi, edi
je 0x4e2a2c
add edi, 2
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x4e2a2c
add eax, eax
push eax
push edi
push 1
push str.adid
push 0x650fc8
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push edi
mov ecx, esi
call fcn.0040c380
mov dword [ebp - 0x220], 1
jmp 0x4e2a73
mov dword [ebp - 4], 0
jmp 0x4e2a4e
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4e2a91
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
or ebx, 1
mov dword [ebp - 0x220], ebx
mov eax, esi
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.0055f9be
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040b250
int3
Function at 0x4e4430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6021b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x6b000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 4
push eax
push 0
push str.type
push dword [0x6b9660]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4e4497
cmp dword [ebp - 0x10], 2
jne 0x4e4497
push str.btnSendVeryfyCode2
jmp 0x4e449c
push str.btnSendVeryfyCode
lea ecx, [esi + 0x34]
call dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov dword [esi + 0x948], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push str.type
push dword [0x6b9660]
mov dword [ebp - 0x14], 4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4e44e9
mov eax, dword [ebp - 0x10]
cmp eax, 2
ja 0x4e44e9
test eax, eax
jne 0x4e4529
lea ecx, [ebp - 0x14]
call fcn.004dbd20
mov dword [ebp - 4], 0
mov ecx, esi
push dword [eax]
push str.userNameLogin
call dword [sym.imp.ycomuiu.dll_public:_int___thiscall_DuiLib::WindowImplBase::SetDlgItemTextW_wchar_t_const___wchar_t_const__]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e4529
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esi + 0x928]
mov ecx, esi
call fcn.004e5550
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4