Function at 0x5142e0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6b2858
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 1
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea edi, [esi + 0x2c]
mov dword [esi], 0x6c4ae4
mov dword [esp + 0x1c], ebx
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
lea ebp, [esi + 0x3c]
mov dword [ebp + 4], ebx
mov dword [ebp], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
lea ecx, [esi + 0x5c]
mov byte [esp + 0x1c], 3
call fcn.00527000
push fcn.00527170
push fcn.00527000
push 2
lea eax, [esi + 0x634]
push 0x5d8
push eax
mov byte [esp + 0x30], 4
call fcn.005ce6bb
push fcn.00527170
push fcn.00527000
push 6
push 0x5d8
lea eax, [esi + 0x11e4]
push eax
mov byte [esp + 0x30], 5
call fcn.005ce6bb
lea ecx, [esi + 0x34f4]
mov byte [esp + 0x1c], 6
call fcn.0052b880
push 0x200
push 0x400
push str.union_party.tga
push str.data_interface
mov ecx, edi
mov byte [esp + 0x2c], 7
mov dword [esi + 0x4750], ebx
mov dword [esi + 4], 0x106
mov dword [esi + 8], 0x69
mov dword [esi + 0xc], 0x6f
mov dword [esi + 0x10], 0x25
call fcn.005497a0
push 0x100
push 0x80
push str.party2.tga
push str.data_interface
mov ecx, ebp
call fcn.005497a0
push 0x20
push 2
push str.party_graph.tga
push str.data_interface
lea ecx, [esi + 0x4c]
call fcn.005497a0
fld dword [0x70b134]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x3f800000
push ebx
push 0x3f400000
push 0x3f000000
push 0x3f800000
push ebx
push 0x3f000000
push 0x3e800000
push 0x3f800000
push ebx
push 0x3e800000
push ebx
push 1
push 0x20
push 0x80
push str.talk1_close_button.tga
push ebx
push 0x16
push 0x16
push 0x20
push 0x20
call fcn.005cd414
fld dword [0x70b130]
push eax
call fcn.005cd414
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
lea ecx, [esi + 0x5c]
call fcn.00528830
push ebx
push 0x3f800000
push 0x3f400000
push 0x3f800000
push ebx
push 0x3f400000
push 0x3f000000
push 0x3f800000
push ebx
push 0x3f400000
push 0x3f000000
push 0x3f800000
push ebx
push 0x3f000000
push 0x3e800000
push 0x3f800000
push ebx
push 0x3e800000
push ebx
push 0x3f800000
push ebx
mov eax, dword [esi + 8]
push 1
push 0x80
push 0x80
push str.ok_button.tga
push ebx
push 0x19
push 0x41
push 0x20
push 0x80
push 0x192
push 0x17c
mov ecx, dword [esi + 4]
push eax
push ecx
lea ecx, [esi + 0x634]
call fcn.00528830
push ebx
push 0x3f800000
push 0x3f400000
push 0x3f800000
push ebx
push 0x3f400000
push 0x3f000000
push 0x3f800000
push ebx
push 0x3f400000
push 0x3f000000
push 0x3f800000
push ebx
push 0x3f000000
push 0x3e800000
push 0x3f800000
push ebx
push 0x3e800000
push ebx
push 0x3f800000
push ebx
mov edx, dword [esi + 8]
push 1
mov eax, dword [esi + 4]
push 0x80
push 0x80
push str.cancel_button.tga
push ebx
push 0x19
push 0x41
push 0x20
push 0x80
push 0x192
push 0x1d3
push edx
push eax
lea ecx, [esi + 0xc0c]
call fcn.00528830
xor edi, edi
lea ebp, [esi + 0x1287]
push ebx
push ebx
push ebx
push ebx
push 0x3f800000
push ebx
push 0x3f800000
push ebx
push 0x3f800000
push ebx
push 0x3f800000
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, dword [esi + 8]
push ebx
mov edx, dword [esi + 4]
push ebx
push 3
push 0x10
push 0x10
push str.chat_check.tga
push ebx
push 0x10
push 0x10
push ebx
push ebx
push ecx
push edx
lea ecx, [ebp - 0xa3]
call fcn.00528700
cmp edi, 4
je 0x51460d
cmp edi, 5
je 0x51460d
mov byte [ebp], bl
jmp 0x514611
mov byte [ebp], 1
inc edi
add ebp, 0x5d8
cmp edi, 6
jl 0x5145b5
push 1
push 0x3f580000
push ebx
push 0x3f800000
push 0x3f000000
push 0x3f580000
push ebx
push 0x3f000000
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x42000000
push 0x42000000
push str.option_graphic_slider.tga
mov eax, dword [esi + 8]
push 0x41e00000
mov ecx, dword [esi + 4]
push 0x43808000
push ebx
push 0x41700000
push ebx
push 0x1c
push 0xf
push 0x1c
push 0x11f
push ebx
push ebx
push eax
push ecx
lea edi, [esi + 0x34f4]
mov ecx, edi
call fcn.0052c8f0
push 0x10
push 0x64
push ebx
mov ecx, edi
call fcn.0052ba10
push 1
mov ecx, edi
call fcn.0052ad70
push 1
mov ecx, edi
call fcn.0052ad80
push ebx
push ebx
push str.party_icon.tga
mov ecx, 0x220364c
mov dword [esi + 0x4754], ebx
call fcn.0052aaa0
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0x4754], eax
call dword [edx + 0xc]
mov ecx, esi
call fcn.00526820
cmp dword [0x21fd8c4], ebx
mov eax, esi
jne 0x5146de
mov byte [esi + 0x29e7], bl
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret