joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60738b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esp + 0x1c], ebx
call fcn.005eb7f4
mov dword [esi], vtable.CEdit.0
mov eax, dword [0x69c108]
lea edi, [esi + 0x44]
mov dword [edi], eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1c], 2
push ecx
mov ecx, edi
mov dword [esi], vtable.CInPlaceEdit.0
call fcn.005eb22e
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
xor ecx, ecx
cmp ebp, 1
mov dword [esi + 0x40], eax
setne cl
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0x28]
mov eax, ecx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x48], ebx
lea edx, [esi + 0x50]
mov ebx, dword [eax]
mov dword [edx], ebx
mov ebx, dword [eax + 4]
mov dword [edx + 4], ebx
mov ebx, dword [eax + 8]
mov dword [edx + 8], ebx
mov ebx, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
or eax, 0x50800080
push ebx
push ecx
push eax
mov ecx, esi
call fcn.005f77ca
test eax, eax
je 0x4448e7
mov eax, dword [ebx + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x31
push eax
call ebx
push eax
call fcn.005f2ed2
test eax, eax
je 0x4447f4
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x1c]
push 1
push eax
push 0x30
push ecx
call ebx
mov edx, dword [esp + 0x3c]
mov ecx, esi
push edx
call fcn.005ee8f1
mov ecx, esi
call fcn.005eea76
lea eax, [ebp - 1]
cmp eax, 0x27
ja case.0x444826.4
xor ecx, ecx
mov cl, byte [eax + 0x444920]
jmp dword [ecx*4 + 0x444910]
mov edi, dword [edi]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0x1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0xffffffffffffffff
push ecx
push 0xb1
push edx
call ebx
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebx
jmp 0x4448e7
mov edi, dword [edi]
or ecx, 0xffffffff
xor eax, eax
push 0xffffffffffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esi + 0x1c]
push 0xb1
push ecx
call ebx
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push edx
jmp 0x4448c0
mov eax, dword [esi + 0x1c]
push 0xffffffffffffffff
push 0
push 0xb1
push eax
call ebx
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push ecx
call ebx
jmp 0x4448e7
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
push 0
push 0xb1
push edx
call ebx
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebx
cmp ebp, 0x80
push 0
push ebp
jae 0x4448d8
mov ecx, dword [esi + 0x1c]
push 0x102
push ecx
jmp 0x4448e1
mov edx, dword [esi + 0x1c]
push 0x286
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005eb0f5
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x20
Function at 0x45fa00
Capabilities:
Check for peb ntglobalflag flag
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x609f12
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], vtable.CAutoPlayProjectInfo.0
mov eax, dword [esi + 0x88]
mov dword [esp + 0x10], 0x1e
test eax, eax
je 0x45fa5b
push edi
lea edi, [esi + 0x84]
mov ecx, edi
call fcn.005e9f95
test eax, eax
je 0x45fa50
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
mov eax, dword [esi + 0x88]
test eax, eax
jne 0x45fa3c
pop edi
lea ecx, [esi + 0x1e8]
mov byte [esp + 0x10], 0x1d
call fcn.005eb0f5
lea ecx, [esi + 0x1e4]
mov byte [esp + 0x10], 0x1c
call fcn.005eb0f5
lea ecx, [esi + 0x188]
mov byte [esp + 0x10], 0x1b
call fcn.0046c0b0
lea ecx, [esi + 0x184]
mov byte [esp + 0x10], 0x1a
call fcn.005eb0f5
lea ecx, [esi + 0x180]
mov byte [esp + 0x10], 0x19
call fcn.005eb0f5
lea ecx, [esi + 0x17c]
mov byte [esp + 0x10], 0x18
call fcn.005eb0f5
lea ecx, [esi + 0x178]
mov byte [esp + 0x10], 0x17
call fcn.005eb0f5
lea ecx, [esi + 0x174]
mov byte [esp + 0x10], 0x16
call fcn.005eb0f5
lea ecx, [esi + 0x170]
mov byte [esp + 0x10], 0x15
call fcn.005eb0f5
lea ecx, [esi + 0x16c]
mov byte [esp + 0x10], 0x14
call fcn.005eb0f5
lea ecx, [esi + 0x168]
mov byte [esp + 0x10], 0x13
call fcn.005eb0f5
lea ecx, [esi + 0x14c]
mov byte [esp + 0x10], 0x12
call fcn.005e9625
lea ecx, [esi + 0x144]
mov byte [esp + 0x10], 0x11
call fcn.004f8800
lea ecx, [esi + 0xdc]
mov byte [esp + 0x10], 0x10
call fcn.004decf0
lea ecx, [esi + 0xa0]
mov byte [esp + 0x10], 0xf
call fcn.004ed790
lea ecx, [esi + 0x84]
mov byte [esp + 0x10], 0xe
call fcn.005e9b33
lea ecx, [esi + 0x7c]
mov byte [esp + 0x10], 0xd
call fcn.005eb0f5
lea ecx, [esi + 0x70]
mov byte [esp + 0x10], 0xc
call fcn.005eb0f5
lea ecx, [esi + 0x6c]
mov byte [esp + 0x10], 0xb
call fcn.005eb0f5
lea ecx, [esi + 0x68]
mov byte [esp + 0x10], 0xa
call fcn.005eb0f5
lea ecx, [esi + 0x64]
mov byte [esp + 0x10], 9
call fcn.005eb0f5
lea ecx, [esi + 0x60]
mov byte [esp + 0x10], 8
call fcn.005eb0f5
lea ecx, [esi + 0x5c]
mov byte [esp + 0x10], 7
call fcn.005eb0f5
lea ecx, [esi + 0x48]
mov byte [esp + 0x10], 6
call fcn.005eb0f5
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 5
call fcn.005eb0f5
lea ecx, [esi + 0x3c]
mov byte [esp + 0x10], 4
call fcn.005eb0f5
lea ecx, [esi + 0x38]
mov byte [esp + 0x10], 3
call fcn.005eb0f5
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 2
call fcn.005eb0f5
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 1
call fcn.005eb0f5
lea ecx, [esi + 4]
mov byte [esp + 0x10], 0
call fcn.005eb0f5
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4666f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x60a978
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x6a1214]
push ebx
push ebp
push esi
mov eax, dword [eax + 0x1c]
push edi
mov esi, ecx
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.005f244b
lea ebp, [esi + 0xc]
push 1
mov ecx, ebp
push 0
mov dword [esp + 0x18], eax
mov edx, dword [ecx]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x24]
mov ecx, dword [ecx + 0xc]
push edx
push eax
push ecx
mov dword [esp + 0x3c], ecx
lea eax, [esi + 0xcc]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.005eae6a
xor ecx, ecx
xor edx, edx
mov cl, byte [esi + 0xcb]
mov dl, byte [esi + 0xca]
push ecx
xor eax, eax
mov al, byte [esi + 0xc9]
xor ecx, ecx
mov cl, byte [esi + 0xc8]
push edx
mov edx, dword [esi + 0xc4]
push eax
mov eax, dword [esi + 0xc0]
push ecx
push edx
push eax
push ecx
lea edx, [esi + 0xa8]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov dword [esp + 0x78], 0
call fcn.005eae6a
mov dword [esp + 0x74], 0xffffffff
call fcn.0041d000
mov eax, ebp
add esp, 0x30
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov edi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov eax, dword [esi + 0xf4]
cmp eax, 0xb4
jg 0x466821
je 0x466803
test eax, eax
je 0x466803
cmp eax, 0x5a
jne 0x466846
mov esi, dword [esi + 0x18]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
sub esi, edi
add esi, edx
mov dword [esp + 0x30], esi
jmp 0x466837
mov ebx, dword [esi + 0x10]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov edi, dword [ebp]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
sub ebx, esi
add ebx, edx
sub edi, ecx
jmp 0x466844
cmp eax, 0x10e
jne 0x466846
mov ebx, dword [esi + 0x10]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
sub ebx, esi
add ebx, edx
mov edi, dword [ebp]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
sub edi, ecx
add edi, eax
mov eax, dword [esp + 0x10]
mov edx, dword [0x6a1214]
mov ecx, dword [eax + 4]
mov eax, dword [edx + 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 4], edx
mov dword [ecx + 8], edi
pop edi
pop esi
pop ebp
mov dword [ecx + 0xc], ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret 4
Function at 0x46bc60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x60b143
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
xor edi, edi
push 0x6a0f60
lea ecx, [esi + 0x10]
mov dword [esp + 0x18], edi
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi + 0xc], edi
call fcn.005eb163
push 0xa
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 1
call fcn.005e9af4
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x30], 0xffffffff
mov dword [esi], vtable.CIRMenuItem.0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x46e400
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x60b4d8
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
lea esi, [ecx + 0xb4]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x46e433
cmp dword [esi + 4], ebx
je 0x46e433
mov ecx, esi
call fcn.005f2f3e
mov al, 4
push str.Marlett
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0xfffffff3
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0x190
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], 1
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], al
mov byte [esp + 0x2f], 0x54
call fcn.005eb163
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x54], ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
cmp eax, 0x1f
jle 0x46e4a3
mov eax, 0x1f
push eax
lea eax, [esp + 0x30]
push ecx
push eax
call fcn.005d0d45
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, esi
call fcn.005f2ee7
lea ecx, [esp + 0xc]
mov dword [esp + 0x54], 0xffffffff
call fcn.005eb0f5
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret

Function at 0x470100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60b56f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x69c108]
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov ecx, dword [ecx + 0x1c]
lea eax, [esp + 0xc]
push eax
push 2
lea edx, [esp + 0xc]
push 0x44a
push ecx
mov dword [esp + 0x30], 1
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], 0x46f7c0
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x28]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.005eae6a
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x20], 0
call fcn.005eb0f5
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x472270
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x60b8c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.005eb7f4
mov dword [esi], vtable.CEdit.0
lea edi, [esi + 0x3c]
push 0xa
mov ecx, edi
mov dword [esp + 0x20], 0
call fcn.005e9af4
mov dword [edi], vtable.CTypedPtrList_class_CObList__class_CMaskData__.0
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
xor ecx, ecx
lea ebx, [esi + 0x5d]
push ecx
lea ebp, [esi + 0x5e]
push ebx
mov eax, 1
push 0xe
push 0x400
mov byte [esp + 0x2c], al
mov dword [esi + 0x58], eax
mov byte [esi + 0x5c], 0x20
mov byte [ebx], 0x2e
mov byte [ebp], 0x2c
mov byte [esi + 0x5f], 0x3a
mov byte [esi + 0x60], 0x2f
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], eax
mov dword [esi], vtable.COXMaskedEdit.0
call edi
test eax, eax
je 0x47230b
push eax
push ebx
push 0xe
push 0x400
call edi
push 0
push ebp
push 0xf
push 0x400
call edi
test eax, eax
je 0x472326
push eax
push ebp
push 0xf
push 0x400
call edi
lea ebx, [esi + 0x5f]
push 0
push ebx
push 0x1e
push 0x400
call edi
test eax, eax
je 0x472344
push eax
push ebx
push 0x1e
push 0x400
call edi
lea ebx, [esi + 0x60]
push 0
push ebx
push 0x1d
push 0x400
call edi
test eax, eax
je 0x472362
push eax
push ebx
push 0x1d
push 0x400
call edi
mov eax, dword [esp + 0x24]
mov ecx, esi
push eax
call fcn.00472480
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4747c0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x60bb68
push eax
mov dword fs:[0], esp
sub esp, 8
lea eax, [esp]
push esi
mov esi, ecx
push edi
push eax
mov dword [esi + 0x28], 0
call fcn.00474440
mov ecx, dword [eax]
xor edx, edx
mov edi, dword [ecx - 8]
lea ecx, [esp + 8]
test edi, edi
sete dl
mov edi, edx
call fcn.005eb0f5
test edi, edi
je 0x4748e5
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.00474410
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], 0
test eax, eax
jne 0x474862
mov ecx, esi
call fcn.00475e00
test eax, eax
jne 0x474862
mov eax, dword [esi + 0x28]
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call fcn.005eb0f5
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4748a0
mov eax, ecx
lea edx, [esp + 0xc]
add eax, 0xfffffffe
lea ecx, [esp + 8]
push eax
push 1
push edx
call fcn.005e711c
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call fcn.005eb22e
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.005eb0f5
mov ecx, esi
call fcn.00475f20
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x4748c8
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x4748ca
xor edi, edi
mov ecx, esi
call fcn.004749a0
mov dword [esi + 0x28], edi
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 8]
jmp 0x47497c
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.00474440
mov eax, dword [0x61fd48]
mov dword [esp + 0x18], 2
push eax
mov eax, dword [esp + 0x10]
push eax
call fcn.005ce8ce
add esp, 8
test eax, eax
jne 0x474919
lea ecx, [esp + 0xc]
call fcn.005eb080
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x47494c
push 0
push 0
push 0
push 0
push 0xf003f
push 0
mov ecx, esi
call fcn.00474610
test eax, eax
jne 0x47494c
push eax
push eax
push eax
push eax
push 2
push eax
mov ecx, esi
call fcn.00474610
test eax, eax
je 0x474970
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x24]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x47496b
and eax, 0xffff
or eax, 0x80070000
jmp 0x47496d
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.005eb0f5
mov ecx, dword [esi + 0x28]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x10]
pop edi
setge al
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x474b30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60bbe7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x14], ebx
mov eax, dword [0x69c108]
mov dword [esp + 0x20], 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
push ebx
push 7
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x34], 2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
call fcn.00474e60
test eax, eax
jne 0x474b97
lea eax, [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
call fcn.005eb22e
cmp dword [esp + 0x10], ebx
je 0x474bcd
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x474bcd
push eax
call fcn.00476010
mov ecx, dword [esp + 0xc]
add esp, 4
push ecx
lea ecx, [esp + 0x10]
call fcn.005eb27e
mov edx, dword [esp + 8]
push edx
call fcn.005eae5f
add esp, 4
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x28]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.005eae6a
mov dword [esp + 0x14], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call fcn.005eb0f5
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], bl
call fcn.005eb0f5
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x474e60
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x60bc10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x20]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push eax
lea ecx, [esp + 0x2c]
mov dword [esi + 0x28], ebx
call fcn.005eb163
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
cmp dword [ecx - 8], ebx
jne 0x474ec4
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.00474440
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 1
call fcn.005eb22e
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call fcn.005eb0f5
mov eax, dword [0x61fd48]
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.005ce8ce
add esp, 8
test eax, eax
jne 0x474ee4
lea ecx, [esp + 0x28]
call fcn.005eb080
mov eax, dword [esi + 0x24]
push ebp
push edi
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
jne 0x474f22
push ebx
push ebx
push ebx
push ebx
push 0xf003f
push ebx
mov ecx, esi
call fcn.00474610
test eax, eax
jne 0x474f22
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
mov ecx, esi
call fcn.00474610
test eax, eax
je 0x474fe6
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push ebx
push edx
push ebx
push ebx
lea ecx, [esp + 0x44]
call fcn.005eb525
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
mov eax, dword [esi + 0x24]
push eax
call ebp
cmp eax, ebx
je 0x474f55
and eax, 0xffff
or eax, 0x80070000
jmp 0x474f57
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
mov dword [esi + 0x28], eax
call fcn.005eb574
cmp dword [esi + 0x28], ebx
jl 0x474fe6
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x474f7f
cmp eax, dword [esp + 0x10]
je 0x474f7f
mov dword [esi + 0x28], 0x8007000d
cmp dword [esi + 0x28], ebx
jl 0x474fe6
cmp dword [esp + 0x2c], ebx
je 0x474ff0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005eae36
add esp, 4
lea edx, [esp + 0x14]
mov edi, eax
lea eax, [esp + 0x10]
push edx
push edi
push eax
push ebx
push ebx
lea ecx, [esp + 0x44]
call fcn.005eb525
mov ecx, dword [esi + 0x24]
push eax
push ecx
call ebp
cmp eax, ebx
je 0x474fc6
and eax, 0xffff
or eax, 0x80070000
jmp 0x474fc8
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
mov dword [esi + 0x28], eax
call fcn.005eb574
cmp dword [esi + 0x28], ebx
jge 0x474fe6
push edi
call fcn.005eae5f
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x474ff0
mov dword [eax], edi
mov eax, dword [esp + 0x38]
pop edi
cmp eax, ebx
pop ebp
je 0x475000
mov edx, dword [esp + 8]
mov dword [eax], edx
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x47500e
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
mov eax, dword [esi + 0x28]
xor edx, edx
cmp eax, ebx
lea ecx, [esp + 0x28]
setge dl
mov esi, edx
mov dword [esp + 0x1c], 0xffffffff
call fcn.005eb0f5
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
Function at 0x475040
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x60bc30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
mov esi, ecx
push eax
lea ecx, [esp + 0x1c]
mov dword [esi + 0x28], 0
call fcn.005eb163
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], 0
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4750aa
lea edx, [esp + 4]
mov ecx, esi
push edx
call fcn.00474440
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 1
call fcn.005eb22e
lea ecx, [esp + 4]
mov byte [esp + 0x10], 0
call fcn.005eb0f5
mov eax, dword [0x61fd48]
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.005ce8ce
add esp, 8
test eax, eax
jne 0x4750ca
lea ecx, [esp + 0x18]
call fcn.005eb080
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x4750fe
push 0
push 0
push 0
push 0
push 0xf003f
push 1
mov ecx, esi
call fcn.00474610
test eax, eax
jne 0x4750fe
push eax
push eax
push eax
push eax
push 2
push 1
mov ecx, esi
call fcn.00474610
test eax, eax
je 0x475133
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esi + 0x24]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x47512e
and eax, 0xffff
or eax, 0x80070000
jmp 0x475130
xor eax, eax
mov dword [esi + 0x28], eax
mov ecx, dword [esi + 0x28]
xor eax, eax
test ecx, ecx
setge al
lea ecx, [esp + 0x18]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
call fcn.005eb0f5
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x475170
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x60bc48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push esi
xor esi, esi
push edi
push esi
push esi
push ebx
mov dword [esp + 0x1c], esi
call ebp
mov edi, eax
cmp edi, esi
jbe 0x4751f8
mov eax, dword [0x69c108]
mov dword [esp + 0x28], eax
push edi
mov dword [esp + 0x20], esi
call fcn.005eae36
add esp, 4
mov esi, eax
push edi
push esi
push ebx
call ebp
push esi
lea ecx, [esp + 0x2c]
call fcn.005eb27e
push esi
call fcn.005eae5f
mov esi, dword [esp + 0x28]
add esp, 4
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.005eae6a
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005eb0f5
jmp 0x475208
mov esi, dword [esp + 0x24]
push 0x6a0f60
mov ecx, esi
call fcn.005eb163
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4753d0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x60bc7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esi + 0x28], ebx
mov eax, dword [0x69c108]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x1c], 1
cmp eax, ebx
jne 0x475436
push ebx
push ebx
push ebx
push ebx
push 0xf003f
push ebx
call fcn.00474610
test eax, eax
jne 0x475436
push ebx
push ebx
push ebx
push ebx
push 8
push ebx
mov ecx, esi
call fcn.00474610
test eax, eax
je 0x4754e7
push ebp
push edi
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ebx
push ecx
push 0x12c
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 0x12c
call fcn.005eb525
mov edi, dword [esp + 0x44]
mov edx, dword [esi + 0x24]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push edi
push edx
call ebp
cmp eax, ebx
je 0x475479
and eax, 0xffff
or eax, 0x80070000
jmp 0x47547b
xor eax, eax
mov dword [esi + 0x28], eax
and eax, 0xffff
cmp eax, 0xea
jne 0x4754d0
push ebx
lea ecx, [esp + 0x14]
call fcn.005eb574
mov ecx, esi
call fcn.00475310
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
inc eax
push ebx
push ecx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], eax
call fcn.005eb525
mov edx, dword [esi + 0x24]
push eax
push edi
push edx
call ebp
cmp eax, ebx
je 0x4754cb
and eax, 0xffff
or eax, 0x80070000
jmp 0x4754cd
xor eax, eax
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x28]
pop edi
cmp eax, ebx
pop ebp
jl 0x4754dd
push 0xffffffffffffffff
jmp 0x4754de
push ebx
lea ecx, [esp + 0xc]
call fcn.005eb574
cmp dword [esi + 0x28], ebx
jl 0x475506
mov esi, dword [esp + 0x24]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.005eae6a
mov dword [esp + 0x10], 1
jmp 0x47551e
mov esi, dword [esp + 0x24]
push 0x6a0f60
mov ecx, esi
call fcn.005eb163
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
mov byte [esp + 0x1c], bl
call fcn.005eb0f5
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8