Function at 0x489d70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df5e1
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5021c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edi
xor eax, eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov word [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x1c], eax
mov dword [ebp - 4], eax
lea esi, [edi + 0x30]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov dword [edi + 0x2c], eax
xor eax, eax
push eax
push 0x4eb5ac
mov dword [edi], vtable.CSettingsDlg.0
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.00403450
xor eax, eax
mov byte [ebp - 4], 1
push 0x1d
push str.SoftwaregrepWinNP3editorcmd
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
call fcn.00403450
sub esp, 0xc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00418ec0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
lea ecx, [esi + 0x44]
mov dword [esi], vtable.CRegTypedBase_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_CRegStdBase_.0
push eax
call fcn.004024d0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
lea ecx, [esi + 0x5c]
push eax
call fcn.004024d0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0xffffffff
mov dword [esi + 0x84], 0
mov dword [esi], vtable.CRegStringCommon_class_CRegStdBase_.0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x489ed5
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x489ecb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48a0ad
push ecx
push edx
call fcn.004accfd
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x489f27
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x489f1d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48a0ad
push ecx
push edx
call fcn.004accfd
add esp, 8
lea esi, [edi + 0xb8]
mov dword [esi], 0
push 8
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004acccd
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
xor eax, eax
mov byte [ebp - 4], 8
push 0x1c
push str.SoftwaregrepWinNP3escclose
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], eax
lea esi, [edi + 0xd0]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.00403450
sub esp, 0xc
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00418ec0
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x5c], 0
mov dword [esi], vtable.CRegDWORDCommon_class_CRegStdBase_.0
cmp ecx, 7
jbe 0x48a00d
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48a003
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48a0b2
push ecx
push edx
call fcn.004accfd
add esp, 8
mov dword [edi + 0x130], 0
xor eax, eax
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x144], eax
mov dword [edi + 0x154], eax
mov dword [edi + 0x148], eax
mov dword [edi + 0x158], eax
mov dword [edi + 0x14c], eax
mov dword [edi + 0x15c], eax
mov dword [edi + 0x150], eax
mov dword [edi + 0x160], eax
mov dword [edi + 0x164], eax
mov dword [edi + 0x168], eax
mov eax, edi
mov dword [edi + 0x134], 0
mov dword [edi + 0x16c], 0
mov byte [edi + 0x170], 1
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.004accbf
mov esp, ebp
pop ebp
ret 4
call fcn.004b306f
call fcn.004b306f
int3