Function at 0x431f00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6e2f48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.006bf10c
xor ebp, ebp
mov dword [esi + 0x3c], vtable.t_adv_object_palette_metagroup_viewer.0
mov dword [esp + 0x44], ebp
mov eax, dword [esp + 0x50]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ebp
mov ecx, dword [esp + 0x4c]
push ebp
push ebp
lea edx, [esp + 0x18]
push ecx
push edx
push 0x50000000
mov bl, 2
push ebp
push ebp
mov ecx, esi
mov byte [esp + 0x60], bl
mov dword [esi], vtable.t_adv_object_palette_metagroup_window.1.0
mov dword [esi + 0x3c], vtable.t_adv_object_palette_metagroup_window.0
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
call fcn.006bfb9b
test eax, eax
jne 0x431fc1
lea ecx, [esp + 0x10]
call fcn.005bf580
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 3
call fcn.0041f410
push 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 5
call fcn.00407e50
lea eax, [esp + 0x20]
push 0x78acf8
push eax
mov dword [esp + 0x28], vtable.t_constructor_failure_class_t_adv_object_palette_metagroup_window__class_std::runtime_error_.0
mov byte [esp + 0x4c], bl
call fcn.006609b5
push edi
push 0x68
call fcn.00652710
mov edi, eax
add esp, 4
mov dword [esp + 0x54], edi
cmp edi, ebp
mov byte [esp + 0x48], 6
je 0x431fed
push 1
push esi
mov ecx, edi
call fcn.004316e0
mov dword [edi], vtable.t_adv_object_palette_metagroup_window::t_tab_ctrl.0
jmp 0x431fef
xor edi, edi
mov ecx, dword [esi + 0x44]
mov byte [esp + 0x48], bl
cmp ecx, ebp
mov dword [esi + 0x44], edi
je 0x432004
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esi + 0x40]
add eax, 4
mov edx, dword [eax + 4]
cmp edx, ebp
jne 0x432015
xor ebx, ebx
jmp 0x43202c
mov ecx, dword [eax + 8]
mov eax, 0x2aaaaaab
sub ecx, edx
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebx, edx
xor edi, edi
cmp ebx, ebp
jle 0x432049
mov ecx, dword [esi + 0x40]
push edi
push edi
call fcn.0042d1d0
push eax
mov ecx, esi
call fcn.00432450
inc edi
cmp edi, ebx
jl 0x432032
mov edi, dword [esi + 0x44]
mov eax, dword [edi + 0x4c]
cmp eax, ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
je 0x432092
mov ecx, dword [edi + 0x50]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
test edx, edx
jle 0x432092
mov edx, dword [edi + 0x1c]
push 0
push 0
push 0x130c
push edx
call ebp
mov ecx, edi
call fcn.00431e10
mov ecx, dword [esi + 0x44]
push 0
call fcn.00431cc0
mov eax, esi
lea ecx, [esi + 0x3c]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esi + 0x40]
push eax
call fcn.0042d160
call fcn.006d8f27
mov eax, dword [eax + 4]
push 0
push str.metagroup
push str.adv_object_palette
mov ecx, eax
call fcn.006d89b0
mov edi, eax
mov eax, dword [esi + 0x40]
add eax, 4
mov edx, dword [eax + 4]
test edx, edx
je 0x4320e5
mov ecx, dword [eax + 8]
mov eax, 0x2aaaaaab
sub ecx, edx
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, edi
jg 0x4320eb
xor edi, edi
mov ebx, dword [esi + 0x44]
push 0
push edi
push 0x130c
mov ecx, dword [ebx + 0x1c]
push ecx
call ebp
mov ecx, ebx
call fcn.00431e10
mov ebx, dword [esi + 0x44]
cmp edi, dword [ebx + 0x44]
je 0x43213d
cmp edi, 0xffffffff
je 0x432121
mov eax, dword [ebx + 0x4c]
lea edx, [edi + edi*2]
push 5
mov ecx, dword [eax + edx*4 + 8]
call fcn.006c2a3a
mov eax, dword [ebx + 0x44]
cmp eax, 0xffffffff
je 0x43213a
mov edx, dword [ebx + 0x4c]
lea ecx, [eax + eax*2]
push 0
mov ecx, dword [edx + ecx*4 + 8]
call fcn.006c2a3a
mov dword [ebx + 0x44], edi
mov ecx, dword [esp + 0x40]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8