Function at 0x488f20
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4ee411
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
call fcn.0045ae70
push fcn.004cece0
push fcn.004cec40
push 0xa
lea eax, [esi + 0xa8]
xor ebp, ebp
push 0x10
push eax
mov dword [esp + 0x48], ebp
mov dword [esi + 0x9c], ebp
mov dword [esi + 0xa0], ebp
mov dword [esi + 0xa4], ebp
call fcn.004de47c
push fcn.004cece0
push fcn.004cec40
push 0xa
lea ecx, [esi + 0x148]
push 0x10
push ecx
mov byte [esp + 0x48], 1
call fcn.004de47c
lea ecx, [esi + 0x1e8]
mov byte [esp + 0x34], 2
call fcn.004cec40
mov ecx, esi
mov byte [esp + 0x34], 3
mov dword [esi + 0x1f8], 0xffffffff
mov dword [esi + 0x200], ebp
mov dword [esi + 0x204], ebp
mov dword [esi + 0x208], ebp
mov dword [esi + 0x20c], ebp
mov dword [esi + 0x210], ebp
mov dword [esi + 0x214], ebp
mov dword [esi + 0x218], ebp
mov dword [esi + 0x21c], ebp
mov dword [esi], 0x4f9134
mov dword [esi + 0x254], ebp
mov dword [esi + 0x258], ebp
mov dword [esi + 8], str.OptionsGump
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], 1
call fcn.0048b410
lea edx, [esp + 0x20]
lea eax, [esp + 0xc]
push edx
push eax
push 0xca
call fcn.004447f0
lea ecx, [esp + 0x28]
lea edx, [esp + 0x24]
push ecx
push edx
push 0xc8
call fcn.004447f0
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x28]
push eax
push ecx
push 0xcb
call fcn.004447f0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esi + 0x1fc], 0x17c
mov dword [esi + 0x24], 0x1e0
lea ecx, [eax + edx + 0x22b]
mov dword [esi + 0x20], ecx
mov eax, dword [0x541bec]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x30], eax
mov ecx, dword [0x541bf0]
push str.framedata_for_OptionsGump
lea eax, [ecx - 0x1e0]
cdq
sub eax, edx
mov edx, dword [esi + 0x18]
shl edx, 3
sar eax, 1
push edx
mov dword [esi + 0x34], eax
call fcn.00479630
mov ecx, dword [esi + 0x18]
mov edi, eax
shl ecx, 3
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x3c], edi
push str.OptionsGump_frame0
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x24]
imul eax, dword [esi + 0x20]
lea ecx, [eax + eax + 4]
push ecx
call fcn.00479630
mov edx, dword [esi + 0x3c]
add esp, 0x34
mov dword [edx + 4], eax
mov ecx, dword [esi + 0x24]
imul ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x3c]
xor eax, eax
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 [esi + 0x3c]
mov dx, word [esi + 0x20]
mov ecx, dword [eax + 4]
mov word [ecx], dx
mov eax, dword [esi + 0x3c]
mov dx, word [esi + 0x24]
mov ecx, dword [eax + 4]
mov word [ecx + 2], dx
mov ecx, esi
call fcn.00489420
mov ecx, esi
call fcn.00489e30
mov ecx, esi
call fcn.0048a880
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x101
call fcn.004447f0
lea edx, [esp + 0x24]
lea eax, [esp + 0x20]
push edx
push eax
push 0x100
call fcn.004447f0
lea ecx, [esp + 0x38]
lea edx, [esp + 0x34]
push ecx
push edx
push 0xff
call fcn.004447f0
mov eax, dword [esp + 0x34]
add esp, 0x24
cmp eax, ebp
jne 0x489194
cmp dword [esp + 0xc], ebp
jne 0x489194
cmp dword [esp + 0x14], ebp
jne 0x489194
cmp dword [esp + 0x18], ebp
jne 0x489194
cmp dword [esp + 0x1c], ebp
jne 0x489194
cmp dword [esp + 0x20], ebp
je 0x4891d8
push 0xb0
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebp
mov byte [esp + 0x34], 4
je 0x4891b8
push esi
mov ecx, eax
call fcn.0048fd40
jmp 0x4891ba
xor eax, eax
push 0x168
push 0x2d
push 0x235
mov ecx, eax
mov byte [esp + 0x40], 3
mov dword [esi + 0x21c], eax
call fcn.00490030
push ebp
mov ecx, esi
call fcn.0048bba0
mov ecx, esi
call fcn.0048b080
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x2c
ret