Function at 0x467039
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e570
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x108c
call fcn.0047eb90
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], esp
lea edx, [ebp - 0x84]
push 0x36
push edx
push eax
mov dword [ecx], 0
mov dword [ebp - 0x14], 0x36
call fcn.00446890
add esp, 0xc
cmp eax, 0x36
jne case.0x446a0c.3
cmp byte [ebp - 0x84], 0x42
je 0x4469a6
cmp byte [ebp - 0x83], 0x4d
jne case.0x446a0c.3
mov eax, dword [ebp - 0x72]
mov ecx, dword [ebp - 0x7a]
cdq
mov edi, eax
mov eax, dword [ebp - 0x6e]
xor edi, edx
mov ebx, dword [ebp - 0x68]
sub edi, edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x66]
mov word [ebp - 0x8a], bx
cdq
mov esi, eax
mov eax, dword [ebp - 0x56]
xor esi, edx
mov dword [ebp - 0x1c], eax
sub esi, edx
test ecx, ecx
jne case.0x446a0c.3
test eax, eax
jne 0x4469eb
mov eax, 1
mov cl, bl
shl eax, cl
mov dword [ebp - 0x1c], eax
and ebx, 0xffff
mov dword [ebp - 0x18], 0
lea eax, [ebx - 1]
cmp eax, 0x1f
ja case.0x446a0c.3
xor edx, edx
mov dl, byte [eax + 0x446e44]
jmp dword [edx*4 + 0x446e38]
mov eax, dword [ebp - 0x1c]
lea ecx, [eax*4]
push ecx
call fcn.0048f441
mov ecx, dword [ebp - 0x1c]
add esp, 4
test ecx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0
jle case.0x446a0c.2
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x84]
push 4
push edx
push eax
call fcn.00446890
add esp, 0xc
cmp eax, 4
jne 0x446aac
mov eax, dword [ebp - 0x14]
mov cl, byte [ebp - 0x82]
add eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov byte [eax + 1], cl
mov dl, byte [ebp - 0x83]
mov byte [eax], dl
mov cl, byte [ebp - 0x84]
mov byte [eax - 1], cl
mov ecx, dword [ebp - 0x28]
add eax, 4
inc ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
mov dword [ebp - 0x28], ecx
jl 0x446a3e
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jle 0x446ab5
mov eax, dword [ebp - 0x18]
test eax, eax
je case.0x446a0c.3
jmp 0x446ceb
mov edx, dword [ebp - 0x30]
push edx
jmp 0x446cec
jge 0x446aef
lea ecx, [ebp - 0x44]
call fcn.0048fca4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
push 1
mov dword [ebp - 4], 0
mov edx, dword [eax]
mov eax, dword [ebp - 0x20]
sub eax, ecx
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 1
call dword [edx + 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.0048fce2
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [edx], edi
mov dword [eax], esi
mov eax, esi
imul eax, edi
lea eax, [eax + eax*2]
push eax
call fcn.0048f441
shr ebx, 3
mov dword [ebp - 0x3c], ebx
imul ebx, edi
mov dword [ebp + 0x10], eax
add esp, 4
xor eax, eax
dec esi
mov dword [ebp - 0x1c], eax
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esi
test esi, esi
jl 0x446e06
lea ecx, [edi + edi*2]
imul esi, ecx
mov cx, word [ebp - 0x8a]
cmp cx, 0x18
je 0x446d07
cmp cx, 0x20
je 0x446d07
mov ecx, dword [ebp - 0x8a]
mov ebx, 1
and ecx, 0xffff
xor edx, edx
shl ebx, cl
mov dword [ebp - 0x34], ecx
mov byte [ebp - 0x38], dl
mov dword [ebp - 0x30], edx
dec ebx
test edi, edi
jle 0x446c6f
mov ecx, dword [ebp + 0x10]
lea esi, [esi + ecx + 1]
test edx, edx
jg 0x446bd7
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2c]
cmp edx, eax
jl 0x446bba
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x109c]
push 0x1000
push eax
push ecx
call fcn.00446890
add esp, 0xc
mov dword [ebp - 0x2c], eax
test eax, eax
mov dword [ebp + 0xc], 0
jle 0x446c56
mov eax, dword [ebp + 0xc]
mov edx, 8
mov cl, byte [ebp + eax - 0x109c]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x14]
inc eax
mov byte [ebp - 0x38], cl
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x34]
add esi, 3
sub edx, eax
mov eax, dword [ebp - 0x38]
and eax, 0xff
mov cl, dl
shr eax, cl
mov ecx, dword [ebp - 0x18]
and eax, ebx
mov cl, byte [ecx + eax*4]
mov byte [esi - 2], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + eax*4 + 1]
mov byte [esi - 3], cl
mov ecx, dword [ebp - 0x18]
mov al, byte [ecx + eax*4 + 2]
mov byte [esi - 4], al
mov eax, dword [ebp - 0x30]
inc eax
cmp eax, edi
mov dword [ebp - 0x30], eax
jl 0x446b82
jmp 0x446c6f
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0048f46a
mov eax, dword [ebp - 0x18]
add esp, 4
test eax, eax
je case.0x446a0c.3
jmp 0x446ceb
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
sub edx, ecx
test dl, 3
je 0x446cc3
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x2c]
cmp eax, ecx
jl 0x446cac
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x109c]
push 0x1000
push ecx
push edx
call fcn.00446890
add esp, 0xc
mov dword [ebp - 0x2c], eax
test eax, eax
mov dword [ebp + 0xc], 0
jle 0x446cd8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
inc ebx
inc eax
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x14], eax
sub eax, edx
test al, 3
jne 0x446c7c
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
jmp 0x446b2b
mov eax, dword [ebp + 0x10]
push eax
call fcn.0048f46a
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je case.0x446a0c.3
push eax
call fcn.0048f46a
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x446d17
push ebx
call fcn.0048f441
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
push ebx
push eax
push ecx
call fcn.00446890
add esp, 0xc
cmp eax, ebx
je 0x446d40
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0048f46a
mov eax, dword [ebp + 0x10]
push eax
call fcn.0048f46a
add esp, 8
jmp 0x446ce4
mov ecx, dword [ebp + 0x10]
test edi, edi
lea eax, [esi + ecx]
jle 0x446d7f
mov esi, dword [ebp - 0x1c]
mov edx, esi
lea ecx, [esi + 1]
sub edx, ecx
add edx, 2
sub esi, ecx
mov dword [ebp - 0x34], edx
mov edx, edi
mov ebx, dword [ebp - 0x34]
inc eax
inc eax
mov bl, byte [ebx + ecx]
mov byte [eax - 2], bl
mov bl, byte [ecx]
mov byte [eax - 1], bl
mov bl, byte [esi + ecx]
mov byte [eax], bl
mov ebx, dword [ebp - 0x3c]
inc eax
add ecx, ebx
dec edx
jne 0x446d5e
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x4c]
add esi, ebx
mov dword [ebp - 0x14], esi
call fcn.0048fca4
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x20]
mov eax, esi
sub eax, edx
test al, 3
je 0x446de8
mov ecx, dword [ebp + 8]
push 1
push 1
mov edx, dword [ecx]
call dword [edx + 0x28]
inc esi
mov dword [ebp - 0x14], esi
jmp 0x446d9a
mov dword [ebp - 4], 0xffffffff
call fcn.0048fce2
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
jmp 0x446b2b
test eax, eax
je 0x446e13
push eax
call fcn.0048f46a
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x446e23
push eax
call fcn.0048f46a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x30]
call fcn.004963b6
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x90], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0xd8]
lea ecx, [esp + 0x14]
push edx
push 1
push 0
call fcn.00496563
mov eax, dword [esi + 0xd4]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x8c], 1
call fcn.004965b3
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 2
push ecx
lea ecx, [esp + 0x30]
call fcn.00495b4a
lea edx, [esp + 0xc]
lea ecx, [esp + 0x2c]
push edx
mov edi, eax
call fcn.00495b4a
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
lea ecx, [esp + 0x30]
call fcn.00495b4a
push ebx
lea ecx, [esp + 0x30]
call fcn.00495b4a
mov eax, dword [esi + 0xa8]
lea edx, [esp + 0x2c]
push eax
push edx
mov ecx, esi
call fcn.00467ce0
mov esi, 0x4ed580
mov dword [esp + 0xc], esi
lea ecx, [esp + 0xc]
mov byte [esp + 0x88], 3
call fcn.0049654d
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 4
call fcn.0049654d
lea ecx, [esp + 0x2c]
mov dword [esp + 0x88], 0xffffffff
call fcn.00496428
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret