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

Disassembly:
push 0xffffffffffffffff
push 0x4fe1b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
call fcn.0046b880
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
xor ebp, ebp
push ecx
push 0xca
mov dword [esp + 0x40], ebp
mov dword [esi], 0x508f88
mov dword [esi + 8], str.PartyGump
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], 2
mov dword [esi + 0xb0], ebp
call fcn.004a9760
lea edx, [esp + 0x2c]
lea eax, [esp + 0x30]
push edx
push eax
push 0xc8
call fcn.004a9760
lea ecx, [esp + 0x40]
lea edx, [esp + 0x28]
push ecx
push edx
push 0xcb
call fcn.004a9760
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esi + 0xac], 0x17c
mov dword [esi + 0x24], 0x1e0
lea ecx, [eax + ecx + 0x1c7]
push str.framedata_for_PartyGump
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 edx, dword [0x557ce8]
lea eax, [edx - 0x1e0]
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x18]
shl eax, 3
push 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.Party_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]
mov dword [edx + 4], eax
mov ecx, dword [esi + 0x24]
imul ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x40]
shl ecx, 1
mov edi, dword [edx + 4]
xor eax, eax
mov edx, ecx
add edi, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push str.Party_frame1
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 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, 0x3c
mov dword [edx + 0xc], 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 + 0xc]
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]
lea edi, [esi + 0xc0]
mov ecx, dword [eax + 0xc]
mov word [ecx], dx
mov eax, dword [esi + 0x40]
mov dx, word [esi + 0x24]
mov ecx, dword [eax + 0xc]
xor eax, eax
mov word [ecx + 2], dx
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov ecx, esi
mov dword [esi + 0xe8], ebp
call fcn.00481810
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x475
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call fcn.004a9760
mov ebx, dword [esp + 0x1c]
mov eax, 0x1c2
sub eax, ebx
add esp, 0xc
cdq
sub eax, edx
mov ebx, 0x32
mov edi, eax
sar edi, 1
add edi, 0x2d
mov edx, dword [esi + 0x40]
xor ecx, ecx
mov eax, dword [edx + 4]
xor edx, edx
mov cx, word [eax + 2]
mov dx, word [eax]
push ecx
add eax, 4
push edx
push eax
push ebx
push edi
push 0x475
push fcn.004d52c0
call fcn.004a97c0
add esp, 0x1c
mov ecx, esi
push ebp
call fcn.00481c00
add ebx, 0x19
inc ebp
cmp ebx, 0x12c
jl 0x480f92
push 1
push 0
mov ecx, esi
call fcn.0046af30
mov eax, dword [esi + 0x40]
push 0
mov ecx, dword [eax + 4]
push ecx
push 0xa28
push 0x1e0
push 0x1c2
push 0
push 0
call fcn.00446180
mov ecx, dword [esp + 0x48]
add esp, 0x1c
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret