joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4519d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 4]
push ebx
push esi
mov esi, 0x65a050
mov eax, 0x659e50
sub esi, ecx
xor edx, edx
mov dx, word [eax]
and edx, 0x800000ff
jns 0x4519f7
dec edx
or edx, 0xffffff00
inc edx
mov bl, byte [esi + ecx]
add eax, 2
xor dl, bl
mov byte [ecx], dl
inc ecx
cmp eax, 0x65a04e
jle 0x4519e2
pop esi
pop ebx
ret 4

Function at 0x451b90
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov si, word [eax]
mov dx, word [eax + 2]
mov cx, word [eax + 4]
mov ax, word [eax + 6]
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
lea ebp, [edi + 0x7c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebp
mov di, ax
mov bx, cx
jmp 0x451bd9
mov ebp, dword [esp + 0x20]
shl eax, 0xb
shr di, 5
or eax, edi
mov edi, ecx
not edi
and edi, esi
sub eax, edi
mov edi, ecx
and edi, edx
sub eax, edi
mov edi, edx
sub ax, word [ebp + 2]
shl ecx, 0xd
shr bx, 3
not edi
or ecx, ebx
and edi, eax
sub ecx, edi
mov edi, edx
and edi, esi
mov dword [esp + 0x10], eax
sub ecx, edi
mov edi, edx
mov dx, word [esp + 0x1c]
sub cx, word [ebp]
shl edi, 0xe
shr dx, 2
or edi, edx
mov edx, esi
not edx
and edx, ecx
mov dword [esp + 0x14], ecx
sub edi, edx
mov edx, eax
and edx, esi
sub edi, edx
sub di, word [ebp - 2]
mov edx, edi
mov edi, esi
mov si, word [esp + 0x18]
mov dword [esp + 0x1c], edx
shl edi, 0xf
shr si, 1
or edi, esi
mov esi, eax
not esi
and esi, edx
sub edi, esi
mov esi, eax
and esi, ecx
sub edi, esi
sub di, word [ebp - 4]
mov ebp, dword [esp + 0x24]
cmp ebp, 0xb
mov esi, edi
mov dword [esp + 0x18], esi
je 0x451c74
cmp ebp, 5
jne 0x451cc8
mov di, word [esp + 0x10]
mov bx, word [esp + 0x14]
mov eax, ecx
mov ecx, dword [esp + 0x30]
and eax, 0x3f
and edx, 0x3f
and esi, 0x3f
sub di, word [ecx + eax*2]
sub bx, word [ecx + edx*2]
mov dx, word [ecx + esi*2]
sub word [esp + 0x1c], dx
mov word [esp + 0x10], di
mov eax, dword [esp + 0x10]
mov word [esp + 0x14], bx
mov edx, eax
and edx, 0x3f
mov cx, word [ecx + edx*2]
mov edx, dword [esp + 0x1c]
sub word [esp + 0x18], cx
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
jmp 0x451cd2
mov di, word [esp + 0x10]
mov bx, word [esp + 0x14]
dec ebp
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x20]
sub ebp, 8
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x24]
test ebp, ebp
jge 0x451bd5
mov eax, dword [esp + 0x2c]
mov dx, word [esp + 0x18]
mov cx, word [esp + 0x1c]
mov word [eax + 6], di
pop edi
pop esi
mov word [eax + 4], bx
pop ebp
mov word [eax], dx
mov word [eax + 2], cx
pop ebx
add esp, 0x18
ret 8
Function at 0x457640
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [0x6cdafc]
test eax, eax
je 0x457655
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
ret
mov ecx, dword [esp + 4]
push esi
lea edx, [esp + 8]
push ecx
push edx
call fcn.00402850
mov eax, dword [esp + 0x10]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [esp + 8]
mov esi, eax
call fcn.00622d8a
mov eax, esi
pop esi
ret

Function at 0x4584b0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x40c
mov eax, dword [esp + 0x410]
push ebx
push esi
mov esi, dword [esp + 0x41c]
test eax, eax
push edi
mov dword [esp + 0x10], 0
je 0x4584e5
neg esi
sbb esi, esi
and esi, 0xf003e
inc esi
mov eax, esi
or ah, 1
jmp 0x4584f2
neg esi
sbb esi, esi
and esi, 0xf003e
inc esi
mov eax, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0xc]
push ecx
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionShell_ExtensionsBlocked
push 0x80000002
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45856a
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push 0
push str.CDC95B92_E27C_4745_A8C5_64A52A78855D
push ecx
mov dword [esp + 0x2c], 0x400
call ebx
test eax, eax
jne 0x458544
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x420]
test eax, eax
je 0x45855f
mov edx, dword [esp + 0xc]
push str.CDC95B92_E27C_4745_A8C5_64A52A78855D
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x41c]
test eax, eax
je 0x45857b
or esi, 0x100
lea ecx, [esp + 0xc]
push ecx
push esi
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionShell_ExtensionsBlocked
push 0x80000001
call edi
test eax, eax
jne 0x4585f4
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push 0
push str.CDC95B92_E27C_4745_A8C5_64A52A78855D
push ecx
mov dword [esp + 0x2c], 0x400
call ebx
test eax, eax
mov esi, 1
je 0x4585c2
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x420]
test eax, eax
je 0x4585dd
mov edx, dword [esp + 0xc]
push str.CDC95B92_E27C_4745_A8C5_64A52A78855D
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x40c
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
add esp, 0x40c
ret
Function at 0x4587c0
Capabilities:
Contain obfuscated stackstrings
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63d608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x10c8
call fcn.00609d40
push ebx
push esi
mov eax, dword [ebp + 8]
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
push 0x8000080
push 3
push ebx
push ebx
push 0x80000000
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x24], 0x42
mov byte [ebp - 0x23], 0x67
mov byte [ebp - 0x22], 0xe2
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0x2d
mov byte [ebp - 0x1f], 0x60
mov byte [ebp - 0x1e], 0x31
mov byte [ebp - 0x1d], 0x9d
mov byte [ebp - 0x1c], 0xdd
mov byte [ebp - 0x1b], 0xbb
mov byte [ebp - 0x1a], 0x4b
mov byte [ebp - 0x19], 0x82
mov byte [ebp - 0x18], 0x76
mov byte [ebp - 0x17], 0x6d
mov byte [ebp - 0x16], 0xb5
mov byte [ebp - 0x15], 0xdf
mov byte [ebp - 0x14], 0x35
mov byte [ebp - 0x13], 0xac
mov byte [ebp - 0x12], 0x7b
mov byte [ebp - 0x11], 9
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0x3c], edi
je 0x4589b4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push ebx
push esi
push ebx
push 2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x30], ebx
je 0x4589ad
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [ebp - 0x28], eax
je 0x4589a6
lea ecx, [esi + 1]
push ecx
call fcn.00622acb
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebp - 0x34], edi
je 0x458999
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x10d8]
push edx
push eax
call fcn.00530e70
mov ecx, dword [ebp - 0x28]
add esp, 8
lea edx, [ebp - 0x10d8]
push edi
push esi
push ecx
push edx
call fcn.005313c0
mov byte [edi + esi], 0
mov eax, dword [0x6f7b78]
add esp, 0x10
mov dword [ebp + 8], eax
push edi
lea ecx, [ebp + 8]
push 0x6c910c
push ecx
mov byte [ebp - 4], 1
call fcn.0061fae1
mov esi, dword [ebp + 8]
add esp, 0xc
push 0xa
push esi
call fcn.00609c00
add esp, 8
test eax, eax
je 0x458984
push str.FORMAT
push esi
mov byte [eax], 0
call fcn.00609cc0
push str.LINES
push esi
mov edi, eax
call fcn.00609cc0
push str.VERSION
push esi
mov ebx, eax
call fcn.00609cc0
add esp, 0x18
test edi, edi
je 0x45897e
test ebx, ebx
je 0x45897e
test eax, eax
je 0x45897e
lea edx, [ebp - 0x38]
add eax, 8
push edx
push 0x6c91b4
push eax
mov dword [ebp - 0x38], 0
call fcn.0060a0d0
add esp, 0xc
cmp eax, 1
jne 0x45897e
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x30]
push edi
call fcn.00622af4
add esp, 4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.00622d8a
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edi, dword [ebp - 0x3c]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x469db0
Capabilities:
Get geographical location

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
push 0
push 0x400
push esi
push edi
call fcn.0060bb90
mov dword [esp + 0x10], eax
mov ecx, esi
cdq
mov ebp, eax
mov eax, edi
sub eax, ebp
push 0
sbb ecx, edx
push 0x400
push ecx
push eax
mov dword [esp + 0x30], edx
call fcn.0060bae0
mov ebx, eax
and ebx, 0x800003ff
jns 0x469e00
dec ebx
or ebx, 0xfffffc00
inc ebx
mov eax, ebx
mov ecx, edi
shl eax, 0xa
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
sub ecx, ebp
mov ebp, dword [esp + 0x20]
push 0
sbb eax, ebp
push 0x100000
push eax
push ecx
call fcn.0060bae0
mov ebp, eax
and ebp, 0x800003ff
jns 0x469e36
dec ebp
or ebp, 0xfffffc00
inc ebp
push 0
push 0x40000000
push esi
push edi
call fcn.0060bae0
lea ecx, [esp + 0x1c]
push 3
push ecx
mov esi, eax
push 0xe
push 0x400
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x469e8a
mov edi, 0x6cd6b0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x469f6b
cmp ebp, 0x3e7
jg 0x469f6b
test ebp, ebp
jne 0x469f17
cmp ebx, 0x3e7
jg 0x469f17
test ebx, ebx
je 0x469ef0
mov eax, dword [esp + 0x10]
mov ecx, dword [0x6fd858]
push ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [esp + 0x20]
shr eax, 0x1f
add edx, eax
push edx
push ecx
push ebx
jmp 0x469fa6
mov eax, dword [0x6fd854]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
push eax
push ecx
push str._d___s
push edx
call fcn.0060a593
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov eax, dword [0x6fd85c]
push eax
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
imul ecx
sar edx, 2
mov ecx, edx
mov eax, dword [esp + 0x28]
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [esp + 0x24]
push edx
push ebp
push str._d_s_02d___s
push eax
call fcn.0060a593
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
lea ebp, [ebp + ebp*4]
mov ecx, dword [0x6fd860]
push ecx
lea eax, [ebp + ebp*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [esp + 0x20]
shr eax, 0x1f
add edx, eax
push edx
push ecx
push esi
mov edx, dword [esp + 0x34]
push str._d_s_02d___s
push edx
call fcn.0060a593
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x46a0d0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
test ecx, ecx
jle 0x46a0f6
push ebx
mov bl, byte [eax + edx]
xor bl, 0x1d
mov byte [eax + edx], bl
inc eax
cmp eax, ecx
jl 0x46a0e7
pop ebx
ret

Function at 0x46b000
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x6cdb00]
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
xor bl, bl
push edi
test eax, eax
mov edi, ecx
jne 0x46b0a7
mov eax, dword [0x6fcfd8]
test eax, eax
jne 0x46b0cf
mov edx, dword [0x6fcafc]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push 0
push str.nExpDt
push edx
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46b0a7
mov eax, dword [esp + 0x20]
test eax, eax
jbe 0x46b0a7
push ecx
mov esi, esp
push 0
call fcn.0060b449
add esp, 4
mov dword [esi], eax
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0046b120
mov ecx, eax
call fcn.0046b130
mov ecx, dword [eax]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 0xa
jge 0x46b0a7
cmp edx, 0xffffffe2
jle 0x46b0a7
mov bl, 1
mov eax, dword [0x6fcfd8]
test eax, eax
jne 0x46b0cf
mov eax, dword [0x6cdb00]
test eax, eax
jne 0x46b0cf
test bl, bl
jne 0x46b0cf
push str._fillregform.html_d
push ebp
call fcn.00609cc0
add esp, 8
test eax, eax
je 0x46b10c
push ebp
push 0x6c910c
push 0x6fca54
call fcn.0061fae1
mov eax, dword [0x6fcfd8]
add esp, 0xc
test eax, eax
je 0x46b105
push 0
push 0
push 0x2b45
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
mov ecx, edi
call fcn.00470e90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x46e260
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63eaa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x1360]
mov dword [ebp - 0x10], esp
cmp eax, ebx
je 0x46e2b4
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46e2ae
mov eax, dword [esi + 0x1360]
push ebx
push ebx
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x1360], ebx
lea edi, [esi + 0x146c]
mov ecx, esi
push edi
call fcn.006245d2
push ebx
mov ecx, esi
call fcn.006234df
mov ecx, dword [0x6fcafc]
push 0x2c
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
push ebx
push str.windowPlacementV6
push ecx
call edi
mov ecx, dword [0x6fcafc]
mov edx, dword [esi + 0x228]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push ebx
push str.sortOrder
push ecx
mov dword [ebp - 0x14], edx
call edi
lea ecx, [esi + 0x4dc]
call fcn.004c8920
call fcn.0044c4a0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4742a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov edx, dword [0x6fcafc]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.LastCheckQU
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x474320
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], esp
mov eax, esp
push edx
push 0
mov dword [eax], ecx
call fcn.0060b449
add esp, 4
lea ecx, [esp + 0x14]
push eax
call fcn.0046b120
mov ecx, eax
call fcn.0046b130
mov ecx, dword [eax]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
xor edx, edx
cmp edx, 7
jge 0x474320
test edx, edx
jl 0x474320
xor eax, eax
add esp, 0x10
ret
mov eax, 1
add esp, 0x10
ret
Function at 0x474e30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6fcafc]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.ShowDropTarget
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x474e65
xor al, al
add esp, 8
ret
mov eax, dword [esp + 4]
test eax, eax
setne al
add esp, 8
ret

Function at 0x474e80
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push ebx
push esi
mov edx, dword [0x6fcafc]
mov esi, ecx
lea eax, [esp + 8]
mov dword [esp + 8], 0x2c
lea ecx, [esi + 0x146c]
push eax
push ecx
push 0
push 0
push str.windowPlacementV6
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x474f90
xor bl, bl
call dword [sym.imp.USER32.dll_GetDesktopWindow]
test eax, eax
je 0x474ef9
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x474ef9
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x1488]
add edx, 0xfffffff6
cmp eax, edx
jg 0x474ef7
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x148c]
add eax, 0xffffffec
cmp ecx, eax
jle 0x474ef9
mov bl, 1
cmp dword [esi + 0x1490], 0xa
jl 0x474f7e
mov eax, dword [esi + 0x148c]
test eax, eax
jl 0x474f7e
test bl, bl
jne 0x474f7e
lea ecx, [esp + 0xc]
push 0
push ecx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x474f5c
mov eax, dword [esi + 0x148c]
mov edx, dword [esi + 0x1494]
mov ecx, dword [esi + 0x1488]
sub edx, eax
push 4
push edx
mov edx, dword [esi + 0x1490]
sub edx, ecx
push edx
mov edx, dword [esp + 0x1c]
add eax, edx
push eax
mov eax, dword [esp + 0x1c]
add ecx, eax
push ecx
push 0
mov ecx, esi
call fcn.00623490
cmp dword [esi + 0x1474], 3
jne 0x474f90
mov eax, dword [esi + 0x1d0]
test eax, eax
jne 0x474f90
push 3
mov ecx, esi
call fcn.006234df
pop esi
pop ebx
add esp, 0x14
ret
mov ecx, dword [0x6fcafc]
push str.windowPlacementV6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x4760a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x63f02b
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov ecx, 0x6fc9a8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x12c]
push edi
mov edi, dword [esp + 0x134]
lea eax, [edi + 1]
push eax
push esi
call fcn.00435900
mov ebp, dword [esp + 0x140]
test eax, eax
je 0x4760f6
mov ebx, dword [esp + 0x13c]
mov byte [ebx], 1
jmp 0x4761c0
mov ecx, dword [0x6f7b78]
mov dword [esp + 0x10], ecx
push esi
lea edx, [esp + 0x14]
push str.MIMEDatabaseContent_Type_s
push edx
mov dword [esp + 0x134], 0
call fcn.0061fae1
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 1
push 0
push ecx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, dword [esp + 0x13c]
test eax, eax
jne 0x4761ac
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push 0
push str.Extension
push ecx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4761a1
lea edx, [esp + 0x1c]
push edx
push edi
call fcn.0060a000
add esp, 8
test eax, eax
jne 0x476183
mov byte [ebx], 1
jmp 0x4761a1
mov ecx, dword [esp + 0x138]
lea eax, [esp + 0x1d]
push eax
push 0x6c910c
push ecx
call fcn.0061fae1
add esp, 0xc
mov byte [ebp], 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x128], 0xffffffff
call fcn.00622d8a
cmp byte [ebx], 0
jne 0x4761e6
cmp byte [ebp], 0
jne 0x4761e6
mov eax, dword [esp + 0x138]
mov ecx, 0x6fc9a8
push eax
push esi
call fcn.00435fe0
test eax, eax
je 0x4761e6
mov byte [ebp], 1
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret 0x14
Function at 0x47c9f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6fcafc]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.StartDlgShowing
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x47ca25
mov al, 1
add esp, 8
ret
mov eax, dword [esp + 4]
test eax, eax
setne al
add esp, 8
ret

Function at 0x47f6f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x63f938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
mov word [esp + 0x14], bp
mov ebx, dword [0x6fca90]
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], ebp
call fcn.00401070
mov esi, dword [esp + 0x48]
cmp esi, ebp
je 0x47f781
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x47f781
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebp
push ebp
push 0xffffffffffffffff
push esi
push ebp
push ebx
call edi
cmp eax, ebp
mov dword [esp + 0x18], eax
je 0x47f781
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
add esp, 4
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x47f789
mov ecx, dword [esp + 0x18]
push ecx
push eax
push 0xffffffffffffffff
push esi
push ebp
push ebx
call edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x47f78d
lea eax, [esp + 0x14]
push eax
call fcn.00609a4e
mov esi, eax
lea edx, [esi + esi + 4]
push edx
call fcn.00622acb
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x47f7cf
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00401070
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x47f7db
lea eax, [esp + 0x14]
push eax
push edi
call fcn.00609a95
add esp, 8
mov word [edi + esi*2 + 2], bp
mov esi, dword [esp + 0x40]
push edi
push ebp
mov eax, dword [esi]
push 0x44d
mov ecx, esi
call dword [eax + 0x98]
xor ecx, ecx
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
mov edx, dword [esi]
mov dword [esp + 0x20], ecx
mov ebx, eax
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], ecx
push eax
mov dword [esp + 0x30], ecx
push ebp
push 0x417
mov ecx, esi
call dword [edx + 0x98]
mov edx, dword [esi]
push 0
push ebp
push 0x416
mov ecx, esi
mov dword [esp + 0x38], ebx
call dword [edx + 0x98]
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push ebp
push 0x443
mov ecx, esi
call dword [eax + 0x98]
push edi
call fcn.00622af4
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret