Function at 0x406540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44c3e0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
mov eax, dword [0x466720]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, ecx
xor ebp, ebp
push 0xe
push str.upLeft_LeftSrc
lea esi, [esp + 0x38]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
call fcn.004011a0
mov dword [esp + 0x70], ebp
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
mov ecx, esi
push ecx
mov ecx, ebx
call edx
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x48], 8
mov esi, eax
jb 0x4065d9
mov eax, dword [esp + 0x34]
push eax
call fcn.0040f819
add esp, 4
cmp esi, ebp
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], bp
je 0x406609
cmp dword [esi + 0x18], 8
jb 0x4065f9
mov esi, dword [esi + 4]
jmp 0x4065fc
add esi, 4
push esi
call fcn.004301a6
add esp, 4
mov dword [esp + 0x1c], eax
push 0xd
push str.upLeft_TopSrc
lea esi, [esp + 0x38]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
call fcn.004011a0
mov dword [esp + 0x70], 1
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
mov eax, esi
push eax
mov ecx, ebx
call edx
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x48], 8
mov esi, eax
jb 0x40665c
mov eax, dword [esp + 0x34]
push eax
call fcn.0040f819
add esp, 4
cmp esi, ebp
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], bp
je 0x40668c
cmp dword [esi + 0x18], 8
jb 0x40667c
mov esi, dword [esi + 4]
jmp 0x40667f
add esi, 4
push esi
call fcn.004301a6
add esp, 4
mov dword [esp + 0x20], eax
push 0xf
push str.upLeft_WidthSrc
lea esi, [esp + 0x38]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
call fcn.004011a0
mov dword [esp + 0x70], 2
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
mov eax, esi
push eax
mov ecx, ebx
call edx
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x48], 8
mov esi, eax
jb 0x4066df
mov eax, dword [esp + 0x34]
push eax
call fcn.0040f819
add esp, 4
cmp esi, ebp
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], bp
je 0x40670f
cmp dword [esi + 0x18], 8
jb 0x4066ff
mov esi, dword [esi + 4]
jmp 0x406702
add esi, 4
push esi
call fcn.004301a6
add esp, 4
mov dword [esp + 0x24], eax
push 0x10
push str.upLeft_HeightSrc
lea esi, [esp + 0x38]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
call fcn.004011a0
mov dword [esp + 0x70], 3
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
mov eax, esi
push eax
mov ecx, ebx
call edx
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x48], 8
mov esi, eax
jb 0x406762
mov eax, dword [esp + 0x34]
push eax
call fcn.0040f819
add esp, 4
cmp esi, ebp
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], bp
je 0x406792
cmp dword [esi + 0x18], 8
jb 0x406782
mov esi, dword [esi + 4]
jmp 0x406785
add esi, 4
push esi
call fcn.004301a6
add esp, 4
mov dword [esp + 0x28], eax
push 0xe
push str.upMid_WidthSrc
lea esi, [esp + 0x38]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
call fcn.004011a0
mov dword [esp + 0x70], 4
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
mov eax, esi
push eax
mov ecx, ebx
call edx
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x48], 8
mov esi, eax
jb 0x4067e5
mov eax, dword [esp + 0x34]
push eax
call fcn.0040f819
add esp, 4
cmp esi, ebp
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], bp
je 0x406815
cmp dword [esi + 0x18], 8
jb 0x406805
mov esi, dword [esi + 4]
jmp 0x406808
add esi, 4
push esi
call fcn.004301a6
add esp, 4
mov dword [esp + 0x14], eax
push 0x10
push str.upRight_WidthSrc
lea esi, [esp + 0x38]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
call fcn.004011a0
mov dword [esp + 0x70], 5
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
mov eax, esi
push eax
mov ecx, ebx
call edx
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x48], 8
mov esi, eax
jb 0x406868
mov eax, dword [esp + 0x34]
push eax
call fcn.0040f819
add esp, 4
cmp esi, ebp
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], bp
je 0x406898
cmp dword [esi + 0x18], 8
jb 0x406888
mov esi, dword [esi + 4]
jmp 0x40688b
add esi, 4
push esi
call fcn.004301a6
add esp, 4
mov dword [esp + 0x18], eax
push 0x11
push str.midLeft_HeightSrc
lea esi, [esp + 0x38]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
call fcn.004011a0
mov dword [esp + 0x70], 6
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
mov eax, esi
push eax
mov ecx, ebx
call edx
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x48], 8
mov esi, eax
jb 0x4068eb
mov eax, dword [esp + 0x34]
push eax
call fcn.0040f819
add esp, 4
cmp esi, ebp
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], bp
je 0x40691b
cmp dword [esi + 0x18], 8
jb 0x40690b
mov esi, dword [esi + 4]
jmp 0x40690e
add esi, 4
push esi
call fcn.004301a6
add esp, 4
mov dword [esp + 0x10], eax
push 0x12
push str.downLeft_HeightSrc
lea esi, [esp + 0x54]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], bp
call fcn.004011a0
mov esi, 7
mov dword [esp + 0x70], esi
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x4c]
push eax
mov ecx, ebx
call edx
cmp dword [esp + 0x64], 8
mov ebx, eax
jb 0x406969
mov eax, dword [esp + 0x50]
push eax
call fcn.0040f819
add esp, 4
cmp ebx, ebp
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebp
mov word [esp + 0x50], bp
je 0x406995
cmp dword [ebx + 0x18], 8
jb 0x406985
mov ebx, dword [ebx + 4]
jmp 0x406988
add ebx, 4
push ebx
call fcn.004301a6
add esp, 4
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov dword [edi + 4], edx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], eax
mov dword [edi], esi
mov dword [edi + 0x1c], ebp
mov dword [edi + 0x18], edx
mov dword [edi + 0x20], eax
add ebp, ecx
add ebp, esi
mov dword [esp + 0x28], ebp
lea ebx, [ecx + esi]
mov dword [edi + 0x14], ebx
mov dword [edi + 0x28], ebp
mov ebp, dword [esp + 0x18]
mov dword [edi + 0x30], ebp
mov dword [edi + 0x2c], edx
mov dword [edi + 0x34], eax
mov dword [edi + 0x44], ecx
mov dword [edi + 0x3c], esi
lea ebp, [eax + edx]
mov dword [edi + 0x40], ebp
mov ebp, dword [esp + 0x10]
mov dword [edi + 0x48], ebp
mov dword [edi + 0x50], ebx
lea ebp, [eax + edx]
mov dword [edi + 0x54], ebp
mov ebp, dword [esp + 0x14]
mov dword [edi + 0x58], ebp
mov ebp, dword [esp + 0x10]
mov dword [edi + 0x5c], ebp
mov ebp, dword [esp + 0x28]
mov dword [edi + 0x64], ebp
lea ebp, [eax + edx]
mov dword [edi + 0x68], ebp
mov ebp, dword [esp + 0x18]
mov dword [edi + 0x6c], ebp
mov ebp, dword [esp + 0x10]
mov dword [edi + 0x70], ebp
mov dword [edi + 0x80], ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x78], esi
add ebp, eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x84], eax
add edx, ebp
mov dword [edi + 0x7c], edx
mov dword [edi + 0x90], edx
mov dword [edi + 0x94], ecx
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x8c], ebx
mov dword [edi + 0x98], eax
mov dword [edi + 0xa4], edx
mov edx, dword [esp + 0x18]
mov dword [edi + 0xa0], ecx
mov dword [edi + 0xa8], edx
mov dword [edi + 0xac], eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x64
ret