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

Disassembly:
push 0xffffffffffffffff
push 0x4fdd01
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.0046b880
push fcn.004de3d0
push fcn.004de330
push 0xa
lea eax, [esi + 0xac]
xor ebp, ebp
push 0x10
push eax
mov dword [esp + 0x48], ebp
mov dword [esi + 0xa0], ebp
mov dword [esi + 0xa4], ebp
mov dword [esi + 0xa8], ebp
call fcn.004ee90e
push fcn.004de3d0
push fcn.004de330
push 0xa
lea ecx, [esi + 0x14c]
push 0x10
push ecx
mov byte [esp + 0x48], 1
call fcn.004ee90e
lea ecx, [esi + 0x1ec]
mov byte [esp + 0x34], 2
call fcn.004de330
mov ecx, esi
mov byte [esp + 0x34], 3
mov dword [esi + 0x1fc], 0xffffffff
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 + 0x220], ebp
mov dword [esi], 0x508d64
mov dword [esi + 0x258], ebp
mov dword [esi + 0x25c], ebp
mov dword [esi + 8], str.OptionsGump
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], 1
call fcn.0047e8f0
lea edx, [esp + 0x20]
lea eax, [esp + 0x10]
push edx
push eax
push 0xca
call fcn.004a9760
lea ecx, [esp + 0x28]
lea edx, [esp + 0x24]
push ecx
push edx
push 0xc8
call fcn.004a9760
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0xcb
call fcn.004a9760
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esi + 0x200], 0x17c
mov dword [esi + 0x24], 0x1e0
lea ecx, [edx + eax + 0x22b]
mov dword [esi + 0x20], ecx
mov eax, dword [0x557ce4]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x30], eax
mov ecx, dword [0x557ce8]
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.004b9f50
mov ecx, dword [esi + 0x18]
mov edi, eax
shl ecx, 3
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x40], 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.004b9f50
mov edx, dword [esi + 0x40]
add esp, 0x34
mov dword [edx + 4], eax
mov ecx, dword [esi + 0x24]
imul ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x40]
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 + 0x40]
mov dx, word [esi + 0x20]
mov ecx, dword [eax + 4]
mov word [ecx], dx
mov eax, dword [esi + 0x40]
mov dx, word [esi + 0x24]
mov ecx, dword [eax + 4]
mov word [ecx + 2], dx
mov ecx, esi
call fcn.0047c8b0
mov ecx, esi
call fcn.0047d2d0
mov ecx, esi
call fcn.0047dd20
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x101
call fcn.004a9760
lea edx, [esp + 0x24]
lea eax, [esp + 0x20]
push edx
push eax
push pe_nt_image_headers32
call fcn.004a9760
lea ecx, [esp + 0x38]
lea edx, [esp + 0x34]
push ecx
push edx
push 0xff
call fcn.004a9760
mov eax, dword [esp + 0x34]
add esp, 0x24
cmp eax, ebp
jne 0x47c624
cmp dword [esp + 0xc], ebp
jne 0x47c624
cmp dword [esp + 0x14], ebp
jne 0x47c624
cmp dword [esp + 0x18], ebp
jne 0x47c624
cmp dword [esp + 0x1c], ebp
jne 0x47c624
cmp dword [esp + 0x20], ebp
je 0x47c668
push 0xb4
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebp
mov byte [esp + 0x34], 4
je 0x47c648
push esi
mov ecx, eax
call fcn.004ce8e0
jmp 0x47c64a
xor eax, eax
push 0x168
push 0x2d
push 0x235
mov ecx, eax
mov byte [esp + 0x40], 3
mov dword [esi + 0x220], eax
call fcn.004cebd0
push ebp
mov ecx, esi
call fcn.0047f060
mov ecx, esi
call fcn.0047e570
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x2c
ret