Function at 0x497c60
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4fede4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
push edi
mov dword [esp + 0xc], ebp
call fcn.0046b880
xor ebx, ebx
mov dword [ebp], 0x50b1c8
mov dword [esp + 0x28], ebx
mov dword [ebp + 8], str.EditGroup_gump
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x58], 0x13a6
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x20], 0xc8
mov dword [ebp + 0x24], 0x78
call fcn.004ab320
mov ecx, eax
mov eax, dword [ebp + 0x20]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov dword [ebp + 0x30], ecx
call fcn.004ab330
mov ecx, eax
mov eax, dword [ebp + 0x24]
cdq
sub eax, edx
push str.framedata_for_CDumbGump
sar eax, 1
sub ecx, eax
push 8
mov dword [ebp + 0x34], ecx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], 1
call fcn.004b9f50
mov ecx, dword [ebp + 0x18]
mov edi, eax
shl ecx, 3
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebp + 0x40], edi
push str.dumb_frame0
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x20]
imul eax, dword [ebp + 0x24]
lea ecx, [eax + eax + 4]
push ecx
call fcn.004b9f50
mov edx, dword [ebp + 0x40]
mov dword [edx + 4], eax
mov eax, dword [ebp + 0x40]
mov dx, word [ebp + 0x20]
mov ecx, dword [eax + 4]
mov word [ecx], dx
mov eax, dword [ebp + 0x40]
mov dx, word [ebp + 0x24]
mov ecx, dword [eax + 4]
xor eax, eax
mov word [ecx + 2], dx
mov ecx, dword [ebp + 0x20]
imul ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x40]
shl ecx, 1
mov edi, dword [edx + 4]
mov edx, ecx
add edi, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x40]
push ebx
mov ecx, dword [eax + 4]
push ecx
push 0x13ec
call fcn.004456e0
mov edx, dword [esp + 0x4c]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
mov dword [ebp + 0xa4], edx
lea edx, [esp + 0x2c]
mov dword [esp + 0x34], eax
push edx
push eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 4]
add ecx, 4
push ecx
push str.Group_Name:
push 0x386
push 1
push 0x14
push 0x14
call fcn.004a7380
push 0x1d0
call fcn.004ed8ee
add esp, 0x40
mov dword [esp + 0x30], eax
cmp eax, ebx
mov byte [esp + 0x28], 1
je 0x497e11
push 0xa0
push ebx
push 1
push 0x386
push 1
push 0xc
push ebx
push 0x145d
push 0x145a
push ebp
push 0x1c
push 0x14
mov ecx, eax
call fcn.00443cb0
jmp 0x497e13
xor eax, eax
push esi
push 1
push ebp
mov ecx, eax
mov byte [esp + 0x34], bl
mov dword [ebp + 0xa8], eax
call fcn.0046af30
mov edx, dword [ebp + 0xa8]
push 0xe023
mov dword [0x80c34c], edx
mov eax, dword [ebp + 0xa4]
mov edx, dword [ebp + 0xa8]
mov ecx, eax
shl ecx, 4
add edx, 0xfc
lea edi, [ecx + eax + 0x8d0cf0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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 ecx, dword [ebp + 0xa8]
mov edx, dword [ecx]
call dword [edx + 0x44]
mov ecx, dword [ebp + 0xa8]
mov eax, dword [ecx]
call dword [eax + 0x17c]
mov eax, dword [ebp + 0x40]
mov edx, dword [ebp + 0x20]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 4]
add ecx, 4
push edx
mov edx, dword [ebp + 0x24]
push ecx
push str.Rename
push 0x386
sub edx, 0x32
push 1
push edx
push 0x10
call fcn.004a7380
mov edx, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x20]
lea eax, [esp + 0x34]
push eax
mov eax, dword [edx + 4]
add eax, 4
push ecx
mov ecx, dword [ebp + 0x24]
push eax
push str.Delete
push 0x386
sub ecx, 0x32
push 1
push ecx
push 0x54
call fcn.004a7380
mov ecx, dword [ebp + 0x40]
mov eax, dword [ebp + 0x20]
add esp, 0x40
lea edx, [esp + 0x14]
push edx
mov edx, dword [ecx + 4]
add edx, 4
push eax
mov eax, dword [ebp + 0x24]
push edx
push str.Cancel
push 0x386
push 1
sub eax, 0x32
push eax
push 0x8c
call fcn.004a7380
push 0xf0
call fcn.004ed8ee
add esp, 0x24
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x2c], 2
pop esi
je 0x497f5a
mov ecx, dword [ebp + 0x24]
push ebx
push 0x13bb
push 0x13ba
push 0x49f9a0
push ebx
push ebx
sub ecx, 0x28
push ebp
push ecx
push 0x14
mov ecx, eax
call fcn.0043ba10
jmp 0x497f5c
xor eax, eax
push 1
push ebp
mov ecx, eax
mov byte [esp + 0x30], bl
call fcn.0046af30
push 0xf0
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebx
mov byte [esp + 0x28], 3
je 0x497fa9
mov edx, dword [ebp + 0x24]
push ebx
push 0x13bd
push 0x13bc
push 0x49fa20
push ebx
push ebx
sub edx, 0x28
push ebp
push edx
push 0x54
mov ecx, eax
call fcn.0043ba10
jmp 0x497fab
xor eax, eax
push 1
push ebp
mov ecx, eax
mov byte [esp + 0x30], bl
call fcn.0046af30
push 0xf0
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebx
mov byte [esp + 0x28], 4
je 0x497ffb
mov ecx, dword [ebp + 0x24]
push ebx
push 0x13bd
push 0x13bc
push 0x49d4b0
push ebx
push ebx
sub ecx, 0x28
push ebp
push ecx
push 0x90
mov ecx, eax
call fcn.0043ba10
jmp 0x497ffd
xor eax, eax
push 1
push ebp
mov ecx, eax
mov byte [esp + 0x30], bl
call fcn.0046af30
mov ecx, dword [esp + 0x20]
mov eax, ebp
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4