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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599d3d
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x63434c]
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, dword [ebp + 8]
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x23c], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x23c], 1
mov dword [ebp - 0x234], 0
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 1
push eax
push 0x20019
push 0
push str.SoftwareKingsoftOfficewpscloudsvr_refs
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43ffe8
push 0x208
xor edi, edi
mov dword [ebp - 0x238], 0x104
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0055c530
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x238]
add esp, 0xc
push edi
push edi
push edi
push edi
push eax
lea eax, [ebp - 0x218]
push eax
push edi
push dword [ebp - 0x234]
call ebx
test eax, eax
jne 0x43ffe8
xor eax, eax
mov dword [ebp - 0x230], 0
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0
lea edx, [eax + 2]
mov dword [ebp - 0x21c], 7
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43fef0
sub eax, edx
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0042e2d0
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 2
cmp ecx, dword [esi + 8]
je 0x43ff67
mov eax, dword [ebp - 0x230]
mov edx, 7
mov dword [ecx], eax
mov eax, dword [ebp - 0x22c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x228]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x224]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x220]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x21c]
mov dword [ecx + 0x14], eax
xor eax, eax
add dword [esi + 4], 0x18
mov word [ebp - 0x230], ax
jmp 0x43ff7c
lea eax, [ebp - 0x230]
push eax
push ecx
mov ecx, esi
call fcn.0043f410
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x43ffb6
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ffac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44001c
push edx
push ecx
call fcn.00558004
add esp, 8
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x238]
mov dword [ebp - 0x238], 0x104
push eax
lea eax, [ebp - 0x218]
inc edi
push eax
push edi
push dword [ebp - 0x234]
call ebx
test eax, eax
je 0x43fec0
mov ecx, dword [ebp - 0x234]
test ecx, ecx
je 0x43fffe
cmp ecx, 0xffffffff
je 0x43fffe
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.00557e89
mov esp, ebp
pop ebp
ret
call fcn.00566a14
int3
Function at 0x443270
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a261
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x63ec50]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x63cac8]
cmp eax, dword [ecx + 4]
jg 0x4432e3
jmp 0x4432c4
mov al, byte [ecx]
inc ecx
test al, al
je 0x4433eb
jmp 0x4432b7
mov eax, 0x63cab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret
push 0x63cac8
call fcn.00558348
add esp, 4
cmp dword [0x63cac8], 0xffffffff
jne 0x4432c4
mov byte [ebp - 0x34], 0x69
mov byte [ebp - 0x33], 0x6f
mov byte [ebp - 0x32], 0x4e
mov byte [ebp - 0x31], 0x69
mov byte [ebp - 0x30], 0x2c
mov byte [ebp - 0x2f], 0x11
mov byte [ebp - 0x2e], 0x25
mov byte [ebp - 0x2d], 0x4e
mov byte [ebp - 0x2c], 0x7d
mov byte [ebp - 0x2b], 0x2c
mov byte [ebp - 0x2a], 0x11
mov byte [ebp - 0x29], 0x2c
mov byte [ebp - 0x28], 0x54
mov byte [ebp - 0x27], 0x26
mov byte [ebp - 0x26], 0x18
mov byte [ebp - 0x25], 0x68
mov byte [ebp - 0x24], 0x3a
mov byte [ebp - 0x23], 0x18
mov byte [ebp - 0x22], 4
mov byte [ebp - 0x21], 0x3a
mov byte [ebp - 0x20], 0x25
mov byte [ebp - 0x1f], 0x4e
mov byte [ebp - 0x1e], 0x6f
mov byte [ebp - 0x1d], 0x6f
mov byte [ebp - 0x1c], 0x12
mov byte [ebp - 0x1b], 4
mov byte [ebp - 0x1a], 0x3a
mov byte [ebp - 0x19], 0x18
mov byte [ebp - 0x18], 0x7c
mov byte [ebp - 0x17], 4
mov byte [ebp - 0x16], 0x6f
mov byte [ebp - 0x15], 0x25
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x34]
mov byte [ebp - 0x13], 0
cmp byte [ebp - 0x13], 0
mov dword [ebp - 4], 0
jne 0x4433c2
xor ecx, ecx
mov byte [ebp - 0x13], 1
lea esi, [ecx + 0x7f]
jmp 0x4433a0
mov al, byte [ebp + ecx - 0x34]
movsx eax, al
sub eax, 0x6c
imul eax, eax, 0x13
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [ebp + ecx - 0x34], dl
inc ecx
cmp ecx, 0x20
jb 0x4433a0
jmp 0x4433c2
lea ecx, [ebp - 0x34]
mov dword [0x63cab0], 0
mov dword [0x63cac0], 0
lea edx, [ecx + 1]
mov dword [0x63cac4], 0xf
jmp 0x4432b7
sub ecx, edx
lea eax, [ebp - 0x34]
push ecx
push eax
mov ecx, 0x63cab0
call fcn.004385d0
push 0x5af960
call fcn.0055865a
push 0x63cac8
call fcn.005582fe
add esp, 8
jmp 0x4432c4
Function at 0x443e70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a3cd
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x63434c]
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
cmp dword [edi + 0x14], 0
je 0x444041
push 0x11
xor eax, eax
mov dword [ebp - 0x30], 0
push str.ciphertextversion
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.0042e2d0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004429a0
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
call fcn.00442f90
push eax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 2
push eax
call fcn.00442660
mov edx, dword [ebp - 0x34]
add esp, 0x18
cmp edx, 0x10
jb 0x443f45
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x443f3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44405c
push edx
push ecx
call fcn.00558004
add esp, 8
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x443f8b
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x443f81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44405c
push edx
push ecx
call fcn.00558004
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp edx, 8
jb 0x443fd7
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x443fcd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44405c
push edx
push ecx
call fcn.00558004
add esp, 8
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
mov ecx, esi
jb 0x443fe4
mov ecx, dword [esi]
cmp dword [ebp - 0x64], 8
lea eax, [ebp - 0x78]
push ecx
cmovae eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x18]
push 4
push ecx
push 0
push eax
push str.Support
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x444010
mov word [edi + 0x3c], 0x101
jmp 0x444039
cmp dword [esi + 0x14], 8
jb 0x444018
mov esi, dword [esi]
push esi
push 4
lea eax, [ebp - 0x18]
push eax
push 0
push str.ciphertextversion
push str.Support
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x444039
mov byte [edi + 0x3d], 1
lea ecx, [ebp - 0x78]
call fcn.0042aad0
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.00557e89
mov esp, ebp
pop ebp
ret
call fcn.00566a14
int3
Function at 0x445f40
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598985
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4460f5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x445fc1
test edi, 0xffff0000
jne 0x445fa3
movzx eax, di
lea ecx, [ebp - 0x10]
push eax
call fcn.00429d30
jmp 0x445fcd
mov ecx, edi
lea edx, [ecx + 2]
jmp 0x445fb0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445fb0
sub ecx, edx
sar ecx, 1
jmp 0x445fc3
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.0042a000
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4460c2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x4460c2
cmp eax, 0xb7
je 0x4460c2
push eax
push str.496_tKFuncAux::CreateDeepDirectory_tCreateDirectory_failed__error_code:__lu
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonapponlyonekfuncaux.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
lea eax, [ebp - 0x10]
push eax
call fcn.00448f40
mov esi, dword [ebp - 0x10]
add esp, 0x18
cmp dword [esi - 0xc], 0
jne 0x446059
push 0
push str.501_tKFuncAux::CreateDeepDirectory_tpath_is_empty_after_Remove_File_Spec__retCode:__d
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonapponlyonekfuncaux.cpp
push str._ERROR_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x14
xor edi, edi
jmp 0x4460ca
push esi
call fcn.00445f40
add esp, 4
push 0
test eax, eax
jne 0x446089
push esi
push str.509_tKFuncAux::CreateDeepDirectory_tCreate_Deep_Directory_failed__path:__ws__retCode:__d
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonapponlyonekfuncaux.cpp
push str._ERROR_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x18
xor edi, edi
jmp 0x4460ca
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x4460c5
cmp eax, 0xb7
je 0x4460c5
push eax
push str.517_tKFuncAux::CreateDeepDirectory_tCreateDirectory_failed__error_code:__lu
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonapponlyonekfuncaux.cpp
push str._ERROR_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x14
jmp 0x4460ca
mov esi, dword [ebp - 0x10]
mov edi, 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4460e2
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
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b00
int3
Function at 0x446100
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a7fd
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x446142
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x446163
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x44621f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [edi]
lea eax, [ebp + 8]
push str._s_d__x
push eax
call fcn.0042c6c0
add esp, 0x10
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [ebp + 8]
test eax, eax
je 0x4461bb
mov edi, 1
jmp 0x4461e1
cmp dword [ebp + 0xc], 0
je 0x4461df
push esi
push dword [edi]
call fcn.00567464
add esp, 8
push 4
push 0
test eax, eax
jne 0x44620c
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x446218
xor edi, edi
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4461f9
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
mov esp, ebp
pop ebp
ret
push dword [edi]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4461df
mov edi, 1
jmp 0x4461e1
push 0x80004005
call fcn.00429b00
int3
Function at 0x446660
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a8a5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SoftwarekingsoftOffice6.0Common
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4467ef
mov byte [ebp - 4], 1
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x44682d
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0
test eax, eax
je 0x44679d
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push str.hostprocname
push eax
call edi
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x446715
cmp eax, 2
jne 0x44679d
lea ecx, [ebp - 0x14]
call fcn.00429bc0
mov edx, dword [ebp - 0x18]
shr edx, 1
add edx, 1
js 0x446837
mov esi, dword [ebp - 0x14]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x44674b
push edx
lea ecx, [ebp - 0x14]
call fcn.00429e50
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push str.hostprocname
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x44679d
mov eax, dword [ebp - 0x18]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
test esi, esi
jne 0x446777
xor eax, eax
jmp 0x44678b
push dword [esi - 8]
push esi
call fcn.00566c13
add esp, 8
test eax, eax
js 0x446837
cmp eax, dword [esi - 8]
jg 0x446837
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
add esi, 0xfffffff0
cmp dword [esi + 4], 0
je 0x4467d6
push esi
call fcn.00429b20
mov edi, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [edi], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4467cc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x44681a
push eax
jmp 0x446814
mov byte [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4467ef
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp + 8]
push 0
push str.hostprocname
push str.SoftwarekingsoftOffice6.0Common
push 0x80000002
push edi
call fcn.00463fd0
mov ecx, dword [ebp - 0x10]
add esp, 0x14
test ecx, ecx
je 0x44681a
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.00429b00
push 0x80070057
call fcn.00429b00
int3
Function at 0x448050
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ac05
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
mov dword [ebp - 4], 0
xor edi, edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or esi, 0xffffffff
test eax, eax
je 0x448179
push 0x5b3734
push str.GetWinSpecialFoldersFromReg
push str.Support
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00461140
push str.True
push dword [ebp - 0x10]
call fcn.00566ed2
mov edx, dword [ebp - 0x10]
add esp, 0x1c
test eax, eax
mov byte [ebp - 4], 0
mov ecx, 1
mov eax, esi
cmove edi, ecx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4480e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x448179
mov edi, dword [ebp + 0x14]
xor ebx, ebx
mov ecx, 2
mov eax, edi
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.00558012
mov esi, eax
add esp, 4
test esi, esi
je 0x448120
push ebx
push 0
push esi
call fcn.0055c530
add esp, 0xc
jmp 0x448122
xor esi, esi
push 0xa
push 0xffffffffffffffff
push 0
push edi
push esi
push dword [ebp + 0xc]
call fcn.004481c0
mov edi, eax
add esp, 0x18
test edi, edi
je 0x448158
push edi
push str.1290_tKFuncAux::GetSpecialFolders_t_KFuncAux::GetSpecialFolders__GetWinSpecialFoldersFromReg_Failed:_0x_08x.
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonapponlyonekfuncaux.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x14
push dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
call fcn.0056b4b5
push esi
call fcn.0055801b
xor ebx, ebx
add esp, 0x10
test edi, edi
sete bl
or esi, 0xffffffff
jmp 0x44818b
push 0
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, eax
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4481a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 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
Function at 0x448fe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ad9d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x63434c]
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 eax, dword [ebp + 8]
mov ebx, 0x400
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
push 0x800
mov dword [ebp - 0x30], eax
call fcn.00558012
mov esi, eax
mov dword [ebp - 0x38], esi
push 0x800
push 0
push esi
mov dword [ebp - 4], 0
call fcn.0055c530
add esp, 0x10
mov dword [ebp - 0x2c], ebx
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x449055
mov eax, dword [edi]
lea ecx, [ebp - 0x2c]
push ecx
push esi
push 0
push 0
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, esi
cmp eax, 0xea
jne 0x4490f1
mov dword [ebp - 0x34], esi
mov edx, 2
lea ecx, [ecx]
add ebx, 0x800
xor ecx, ecx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00558012
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], esi
test eax, eax
je 0x4490b1
push eax
call fcn.0055801b
add esp, 4
lea eax, [ebx + ebx]
push eax
push 0
push esi
call fcn.0055c530
add esp, 0xc
mov dword [ebp - 0x2c], ebx
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4490cd
mov eax, dword [edi]
lea ecx, [ebp - 0x2c]
push ecx
push esi
push 0
push 0
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x34], esi
mov edx, 2
cmp eax, 0xea
je 0x449080
mov edx, esi
mov ecx, edx
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449111
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0042e2d0
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
mov byte [ebp - 4], 1
cmovae edi, dword [ebp - 0x28]
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x449208
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x3c]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 2
test edi, edi
je 0x449188
test edi, 0xffff0000
jne 0x449172
movzx eax, di
mov ecx, ebx
push eax
call fcn.00429d30
jmp 0x449193
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449177
sub ecx, edx
sar ecx, 1
jmp 0x44918a
xor ecx, ecx
push ecx
push edi
mov ecx, ebx
call fcn.0042a000
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4491c9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4491bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449212
push edx
push ecx
call fcn.00558004
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test esi, esi
je 0x4491ea
push esi
call fcn.0055801b
add esp, 4
mov eax, ebx
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.00557e89
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b00
call fcn.00566a14
int3
Function at 0x449840
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsWindows_Error_ReportingRuntimeExceptionHelperModules
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x44988d
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x44988d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x44a6a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59af5d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.00557fd4
mov edi, eax
add esp, 4
test edi, edi
je 0x44a73d
push 1
mov dword [ebp - 4], 0
call fcn.005598ab
add esp, 4
mov dword [edi + 4], eax
jmp 0x44a73f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.004447c0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x30]
mov ecx, eax
call edx
movzx ebx, ax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x44a79b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x44a79b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov word [esi + 0x40], bx
jne 0x44a7b8
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x44a7db
cmp byte [ebp + 0xc], 0
je 0x44a7c7
push esi
call fcn.00559f84
add esp, 4
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
test cl, 4
je 0x44a7e7
mov esi, str.ios_base::badbit_set
jmp 0x44a7f7
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.0044a820
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.004452a0
push 0x5f71c8
lea eax, [ebp - 0x28]
push eax
call fcn.0055ca0e
int3