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

Disassembly:
push 0xffffffffffffffff
push 0x607c1b
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.005ec0e0
mov dword [esi], vtable.CEdit.0
mov eax, dword [0x69cfe8]
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.005ebb1a
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.005f8074
test eax, eax
je 0x444667
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.005f377c
test eax, eax
je 0x444574
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.005ef1de
mov ecx, esi
call fcn.005ef363
lea eax, [ebp - 1]
cmp eax, 0x27
ja case.0x4445a6.4
xor ecx, ecx
mov cl, byte [eax + 0x4446a0]
jmp dword [ecx*4 + 0x444690]
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 0x444667
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 0x444640
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 0x444667
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 0x444658
mov ecx, dword [esi + 0x1c]
push 0x102
push ecx
jmp 0x444661
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.005eb9e1
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 0x45fae0
Capabilities:
Check for peb ntglobalflag flag
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x60a932
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 0x45fb3b
push edi
lea edi, [esi + 0x84]
mov ecx, edi
call fcn.005eb141
test eax, eax
je 0x45fb30
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
mov eax, dword [esi + 0x88]
test eax, eax
jne 0x45fb1c
pop edi
lea ecx, [esi + 0x1e8]
mov byte [esp + 0x10], 0x1d
call fcn.005eb9e1
lea ecx, [esi + 0x1e4]
mov byte [esp + 0x10], 0x1c
call fcn.005eb9e1
lea ecx, [esi + 0x188]
mov byte [esp + 0x10], 0x1b
call fcn.0046c4a0
lea ecx, [esi + 0x184]
mov byte [esp + 0x10], 0x1a
call fcn.005eb9e1
lea ecx, [esi + 0x180]
mov byte [esp + 0x10], 0x19
call fcn.005eb9e1
lea ecx, [esi + 0x17c]
mov byte [esp + 0x10], 0x18
call fcn.005eb9e1
lea ecx, [esi + 0x178]
mov byte [esp + 0x10], 0x17
call fcn.005eb9e1
lea ecx, [esi + 0x174]
mov byte [esp + 0x10], 0x16
call fcn.005eb9e1
lea ecx, [esi + 0x170]
mov byte [esp + 0x10], 0x15
call fcn.005eb9e1
lea ecx, [esi + 0x16c]
mov byte [esp + 0x10], 0x14
call fcn.005eb9e1
lea ecx, [esi + 0x168]
mov byte [esp + 0x10], 0x13
call fcn.005eb9e1
lea ecx, [esi + 0x14c]
mov byte [esp + 0x10], 0x12
call fcn.005e9f35
lea ecx, [esi + 0x144]
mov byte [esp + 0x10], 0x11
call fcn.004f8dc0
lea ecx, [esi + 0xdc]
mov byte [esp + 0x10], 0x10
call fcn.004df540
lea ecx, [esi + 0xa0]
mov byte [esp + 0x10], 0xf
call fcn.004edbb0
lea ecx, [esi + 0x84]
mov byte [esp + 0x10], 0xe
call fcn.005ea443
lea ecx, [esi + 0x7c]
mov byte [esp + 0x10], 0xd
call fcn.005eb9e1
lea ecx, [esi + 0x70]
mov byte [esp + 0x10], 0xc
call fcn.005eb9e1
lea ecx, [esi + 0x6c]
mov byte [esp + 0x10], 0xb
call fcn.005eb9e1
lea ecx, [esi + 0x68]
mov byte [esp + 0x10], 0xa
call fcn.005eb9e1
lea ecx, [esi + 0x64]
mov byte [esp + 0x10], 9
call fcn.005eb9e1
lea ecx, [esi + 0x60]
mov byte [esp + 0x10], 8
call fcn.005eb9e1
lea ecx, [esi + 0x5c]
mov byte [esp + 0x10], 7
call fcn.005eb9e1
lea ecx, [esi + 0x48]
mov byte [esp + 0x10], 6
call fcn.005eb9e1
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 5
call fcn.005eb9e1
lea ecx, [esi + 0x3c]
mov byte [esp + 0x10], 4
call fcn.005eb9e1
lea ecx, [esi + 0x38]
mov byte [esp + 0x10], 3
call fcn.005eb9e1
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 2
call fcn.005eb9e1
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 1
call fcn.005eb9e1
lea ecx, [esi + 4]
mov byte [esp + 0x10], 0
call fcn.005eb9e1
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x466950
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x60b428
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x6a20f4]
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.005f2d37
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.005eb756
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.005eb756
mov dword [esp + 0x74], 0xffffffff
call fcn.0041d0c0
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 0x466a81
je 0x466a63
test eax, eax
je 0x466a63
cmp eax, 0x5a
jne 0x466aa6
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 0x466a97
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 0x466aa4
cmp eax, 0x10e
jne 0x466aa6
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 [0x6a20f4]
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 0x46c050
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x60bc23
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 0x6a1e40
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.005eba4f
push 0xa
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 1
call fcn.005ea404
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 0x46e940
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x60bfb8
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 0x46e973
cmp dword [esi + 4], ebx
je 0x46e973
mov ecx, esi
call fcn.005f37e8
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.005eba4f
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 0x46e9e3
mov eax, 0x1f
push eax
lea eax, [esp + 0x30]
push ecx
push eax
call fcn.005d1645
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, esi
call fcn.005f3791
lea ecx, [esp + 0xc]
mov dword [esp + 0x54], 0xffffffff
call fcn.005eb9e1
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret

Function at 0x4704e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60c04f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x69cfe8]
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], 0x46fba0
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x28]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.005eb756
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x20], 0
call fcn.005eb9e1
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x472510
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x60c3a3
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.005ec0e0
mov dword [esi], vtable.CEdit.0
lea edi, [esi + 0x3c]
push 0xa
mov ecx, edi
mov dword [esp + 0x20], 0
call fcn.005ea404
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 0x4725ab
push eax
push ebx
push 0xe
push 0x400
call edi
push 0
push ebp
push 0xf
push 0x400
call edi
test eax, eax
je 0x4725c6
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 0x4725e4
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 0x472602
push eax
push ebx
push 0x1d
push 0x400
call edi
mov eax, dword [esp + 0x24]
mov ecx, esi
push eax
call fcn.00472720
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 0x474a70
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x60c648
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.004746f0
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.005eb9e1
test edi, edi
je 0x474b95
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.004746c0
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], 0
test eax, eax
jne 0x474b12
mov ecx, esi
call fcn.004760b0
test eax, eax
jne 0x474b12
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.005eb9e1
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 0x474b50
mov eax, ecx
lea edx, [esp + 0xc]
add eax, 0xfffffffe
lea ecx, [esp + 8]
push eax
push 1
push edx
call fcn.005e7a2c
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call fcn.005ebb1a
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.005eb9e1
mov ecx, esi
call fcn.004761d0
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 0x474b78
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x474b7a
xor edi, edi
mov ecx, esi
call fcn.00474c50
mov dword [esi + 0x28], edi
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 8]
jmp 0x474c2c
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.004746f0
mov eax, dword [0x61fd48]
mov dword [esp + 0x18], 2
push eax
mov eax, dword [esp + 0x10]
push eax
call fcn.005cf1ee
add esp, 8
test eax, eax
jne 0x474bc9
lea ecx, [esp + 0xc]
call fcn.005eb96c
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x474bfc
push 0
push 0
push 0
push 0
push 0xf003f
push 0
mov ecx, esi
call fcn.004748c0
test eax, eax
jne 0x474bfc
push eax
push eax
push eax
push eax
push 2
push eax
mov ecx, esi
call fcn.004748c0
test eax, eax
je 0x474c20
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 0x474c1b
and eax, 0xffff
or eax, 0x80070000
jmp 0x474c1d
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.005eb9e1
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 0x474de0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60c6c7
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 [0x69cfe8]
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.00475110
test eax, eax
jne 0x474e47
lea eax, [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
call fcn.005ebb1a
cmp dword [esp + 0x10], ebx
je 0x474e7d
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x474e7d
push eax
call fcn.004762c0
mov ecx, dword [esp + 0xc]
add esp, 4
push ecx
lea ecx, [esp + 0x10]
call fcn.005ebb6a
mov edx, dword [esp + 8]
push edx
call fcn.005eb74b
add esp, 4
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x28]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.005eb756
mov dword [esp + 0x14], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call fcn.005eb9e1
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], bl
call fcn.005eb9e1
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x475110
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x60c6f0
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.005eba4f
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
cmp dword [ecx - 8], ebx
jne 0x475174
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.004746f0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 1
call fcn.005ebb1a
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call fcn.005eb9e1
mov eax, dword [0x61fd48]
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.005cf1ee
add esp, 8
test eax, eax
jne 0x475194
lea ecx, [esp + 0x28]
call fcn.005eb96c
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 0x4751d2
push ebx
push ebx
push ebx
push ebx
push 0xf003f
push ebx
mov ecx, esi
call fcn.004748c0
test eax, eax
jne 0x4751d2
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
mov ecx, esi
call fcn.004748c0
test eax, eax
je 0x475296
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push ebx
push edx
push ebx
push ebx
lea ecx, [esp + 0x44]
call fcn.005ebe11
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
mov eax, dword [esi + 0x24]
push eax
call ebp
cmp eax, ebx
je 0x475205
and eax, 0xffff
or eax, 0x80070000
jmp 0x475207
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
mov dword [esi + 0x28], eax
call fcn.005ebe60
cmp dword [esi + 0x28], ebx
jl 0x475296
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x47522f
cmp eax, dword [esp + 0x10]
je 0x47522f
mov dword [esi + 0x28], 0x8007000d
cmp dword [esi + 0x28], ebx
jl 0x475296
cmp dword [esp + 0x2c], ebx
je 0x4752a0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005eb722
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.005ebe11
mov ecx, dword [esi + 0x24]
push eax
push ecx
call ebp
cmp eax, ebx
je 0x475276
and eax, 0xffff
or eax, 0x80070000
jmp 0x475278
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
mov dword [esi + 0x28], eax
call fcn.005ebe60
cmp dword [esi + 0x28], ebx
jge 0x475296
push edi
call fcn.005eb74b
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4752a0
mov dword [eax], edi
mov eax, dword [esp + 0x38]
pop edi
cmp eax, ebx
pop ebp
je 0x4752b0
mov edx, dword [esp + 8]
mov dword [eax], edx
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x4752be
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.005eb9e1
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
Function at 0x4752f0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x60c710
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.005eba4f
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], 0
mov eax, dword [ecx - 8]
test eax, eax
jne 0x47535a
lea edx, [esp + 4]
mov ecx, esi
push edx
call fcn.004746f0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 1
call fcn.005ebb1a
lea ecx, [esp + 4]
mov byte [esp + 0x10], 0
call fcn.005eb9e1
mov eax, dword [0x61fd48]
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.005cf1ee
add esp, 8
test eax, eax
jne 0x47537a
lea ecx, [esp + 0x18]
call fcn.005eb96c
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x4753ae
push 0
push 0
push 0
push 0
push 0xf003f
push 1
mov ecx, esi
call fcn.004748c0
test eax, eax
jne 0x4753ae
push eax
push eax
push eax
push eax
push 2
push 1
mov ecx, esi
call fcn.004748c0
test eax, eax
je 0x4753e3
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 0x4753de
and eax, 0xffff
or eax, 0x80070000
jmp 0x4753e0
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.005eb9e1
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x475420
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x60c728
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 0x4754a8
mov eax, dword [0x69cfe8]
mov dword [esp + 0x28], eax
push edi
mov dword [esp + 0x20], esi
call fcn.005eb722
add esp, 4
mov esi, eax
push edi
push esi
push ebx
call ebp
push esi
lea ecx, [esp + 0x2c]
call fcn.005ebb6a
push esi
call fcn.005eb74b
mov esi, dword [esp + 0x28]
add esp, 4
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.005eb756
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005eb9e1
jmp 0x4754b8
mov esi, dword [esp + 0x24]
push 0x6a1e40
mov ecx, esi
call fcn.005eba4f
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 0x475680
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x60c75f
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 [0x69cfe8]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x1c], 1
cmp eax, ebx
jne 0x4756e6
push ebx
push ebx
push ebx
push ebx
push 0xf003f
push ebx
call fcn.004748c0
test eax, eax
jne 0x4756e6
push ebx
push ebx
push ebx
push ebx
push 8
push ebx
mov ecx, esi
call fcn.004748c0
test eax, eax
je 0x475797
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.005ebe11
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 0x475729
and eax, 0xffff
or eax, 0x80070000
jmp 0x47572b
xor eax, eax
mov dword [esi + 0x28], eax
and eax, 0xffff
cmp eax, 0xea
jne 0x475780
push ebx
lea ecx, [esp + 0x14]
call fcn.005ebe60
mov ecx, esi
call fcn.004755c0
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.005ebe11
mov edx, dword [esi + 0x24]
push eax
push edi
push edx
call ebp
cmp eax, ebx
je 0x47577b
and eax, 0xffff
or eax, 0x80070000
jmp 0x47577d
xor eax, eax
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x28]
pop edi
cmp eax, ebx
pop ebp
jl 0x47578d
push 0xffffffffffffffff
jmp 0x47578e
push ebx
lea ecx, [esp + 0xc]
call fcn.005ebe60
cmp dword [esi + 0x28], ebx
jl 0x4757b6
mov esi, dword [esp + 0x24]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.005eb756
mov dword [esp + 0x10], 1
jmp 0x4757ce
mov esi, dword [esp + 0x24]
push 0x6a1e40
mov ecx, esi
call fcn.005eba4f
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
mov byte [esp + 0x1c], bl
call fcn.005eb9e1
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8