Function at 0x405100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44c5d9
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x466720]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x466720]
xor eax, esp
push eax
lea eax, [esp + 0x2a4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2b4]
xor ebx, ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2b8]
cmp eax, ebx
mov dword [esp + 0x78], eax
mov edi, ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x68], ebx
jne 0x405188
xor eax, eax
jmp 0x4064db
cmp edi, ebx
je 0x405181
push 7
push 0x459b58
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.004011a0
mov dword [esp + 0x2ac], ebx
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
mov eax, esi
push eax
mov ecx, edi
call edx
or ebp, 0xffffffff
mov dword [esp + 0x2ac], ebp
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x4051e0
mov eax, dword [esp + 0x1c]
push eax
call fcn.0040f819
add esp, 4
cmp esi, ebx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
je 0x405994
mov esi, dword [esi]
cmp esi, ebx
je 0x405994
mov edx, str.BtnStatus
lea eax, [esp + 0x18]
call fcn.00401080
mov dword [esp + 0x2ac], 1
mov edx, dword [esi]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x40528a
mov edi, dword [edi]
mov edx, str.image
lea eax, [esp + 0x18]
call fcn.00401080
mov dword [esp + 0x2ac], 2
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call edx
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x40528a
mov eax, dword [esp + 0x14]
mov edi, dword [edi]
mov eax, dword [eax]
mov dword [eax + 0x14], edi
mov edx, str.SmallMainFrameBackground
lea eax, [esp + 0x18]
call fcn.00401080
mov dword [esp + 0x2ac], 3
mov edx, dword [esi]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x40533f
mov edi, dword [edi]
mov edx, str.image
lea eax, [esp + 0x18]
call fcn.00401080
mov dword [esp + 0x2ac], 4
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call edx
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x40533f
mov eax, dword [esp + 0x14]
cmp dword [eax + 4], ebx
mov edi, dword [edi]
jne 0x405332
push 0xb8
call fcn.0040f7ee
add esp, 4
cmp eax, ebx
je 0x405329
call fcn.00405040
jmp 0x40532b
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov dword [eax + 0xb4], edi
mov edx, str.MiNiMainFrameBackground
lea eax, [esp + 0x18]
call fcn.00401080
mov dword [esp + 0x2ac], 5
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x4053f4
mov edi, dword [edi]
mov edx, str.image
lea eax, [esp + 0x18]
call fcn.00401080
mov dword [esp + 0x2ac], 6
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call edx
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x4053f4
mov eax, dword [esp + 0x14]
cmp dword [eax + 8], ebx
mov edi, dword [edi]
jne 0x4053e7
push 0xb8
call fcn.0040f7ee
add esp, 4
cmp eax, ebx
je 0x4053de
call fcn.00405040
jmp 0x4053e0
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
mov dword [eax + 0xb4], edi
mov edx, str.GameMainFrameBackground
lea eax, [esp + 0x18]
call fcn.00401080
mov dword [esp + 0x2ac], 7
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x4054a9
mov edi, dword [edi]
mov edx, str.image
lea eax, [esp + 0x18]
call fcn.00401080
mov dword [esp + 0x2ac], 8
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call edx
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x4054a9
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xc], ebx
mov edi, dword [edi]
jne 0x40549c
push 0xb8
call fcn.0040f7ee
add esp, 4
cmp eax, ebx
je 0x405493
call fcn.00405040
jmp 0x405495
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0xc], eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
mov dword [eax + 0xb4], edi
mov edx, str.FullBackground
lea eax, [esp + 0x18]
call fcn.00401080
mov dword [esp + 0x2ac], 9
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x40555e
mov edi, dword [edi]
mov edx, str.image
lea eax, [esp + 0x18]
call fcn.00401080
mov dword [esp + 0x2ac], 0xa
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call edx
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x40555e
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x10], ebx
mov edi, dword [edi]
jne 0x405551
push 0xb8
call fcn.0040f7ee
add esp, 4
cmp eax, ebx
je 0x405548
call fcn.00405040
jmp 0x40554a
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x10], eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
mov dword [eax + 0xb4], edi
mov edx, str.PlanBackground
lea eax, [esp + 0x18]
call fcn.00401080
mov dword [esp + 0x2ac], 0xb
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x405613
mov edi, dword [edi]
mov edx, str.image
lea eax, [esp + 0x18]
call fcn.00401080
mov dword [esp + 0x2ac], 0xc
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call edx
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x405613
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x14], ebx
mov edi, dword [edi]
jne 0x405606
push 0xb8
call fcn.0040f7ee
add esp, 4
cmp eax, ebx
je 0x4055fd
call fcn.00405040
jmp 0x4055ff
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x14], eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x14]
mov dword [eax + 0xb4], edi
mov edx, str.Selected
lea eax, [esp + 0x18]
call fcn.00401080
mov dword [esp + 0x2ac], 0xd
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x4056c8
mov edi, dword [edi]
mov edx, str.image
lea eax, [esp + 0x18]
call fcn.00401080
mov dword [esp + 0x2ac], 0xe
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call edx
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x4056c8
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x18], ebx
mov edi, dword [edi]
jne 0x4056bb
push 0xb8
call fcn.0040f7ee
add esp, 4
cmp eax, ebx
je 0x4056b2
call fcn.00405040
jmp 0x4056b4
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x18], eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x18]
mov dword [eax + 0xb4], edi
mov edx, str.SelectRadio
lea eax, [esp + 0x18]
call fcn.00401080
mov dword [esp + 0x2ac], 0xf
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x405780
mov edi, dword [edi]
mov edx, str.image
lea eax, [esp + 0x18]
call fcn.00401080
mov dword [esp + 0x2ac], 0x10
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call edx
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x405780
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x1c], ebx
mov edi, dword [edi]
jne 0x405776
push 0x14
call fcn.0040f7ee
add esp, 4
cmp eax, ebx
je 0x40576d
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
jmp 0x40576f
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x1c], eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x1c]
mov dword [eax + 0x10], edi
mov edx, 0x459c88
lea eax, [esp + 0x18]
call fcn.00401080
mov dword [esp + 0x2ac], 0x11
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x405834
mov edx, str.image
lea eax, [esp + 0x4c]
call fcn.00401080
mov dword [esp + 0x2ac], 0x12
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call edx
lea ecx, [esp + 0x4c]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x405834
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x2c], ebx
jne 0x40582a
push 0x14
call fcn.0040f7ee
add esp, 4
cmp eax, ebx
je 0x405821
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
jmp 0x405823
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x2c], eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x2c]
mov dword [eax + 0x10], edi
mov edx, str.SeparatorLine
lea eax, [esp + 0x4c]
call fcn.00401080
mov dword [esp + 0x2ac], 0x13
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x4c]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x4058e8
mov edx, str.image
lea eax, [esp + 0x18]
call fcn.00401080
mov dword [esp + 0x2ac], 0x14
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call edx
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x4058e8
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x30], ebx
jne 0x4058de
push 0x14
call fcn.0040f7ee
add esp, 4
cmp eax, ebx
je 0x4058d5
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
jmp 0x4058d7
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x30], eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x30]
mov dword [eax + 0x10], edi
mov edx, 0x459cac
lea eax, [esp + 0x4c]
call fcn.00401080
mov dword [esp + 0x2ac], 0x15
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x4c]
mov esi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp esi, ebx
je 0x405994
mov edx, str.image
lea eax, [esp + 0x18]
call fcn.00401080
mov dword [esp + 0x2ac], 0x16
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x18]
mov esi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp esi, ebx
je 0x405994
mov edi, dword [esp + 0x14]
cmp dword [edi + 0x28], ebx
jne 0x40598e
push 0x14
call fcn.0040f7ee
add esp, 4
cmp eax, ebx
je 0x405989
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
jmp 0x40598b
xor eax, eax
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x28]
mov dword [eax + 0x10], esi
mov edi, 7
push edi
push 0x459b58
lea esi, [esp + 0x20]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.004011a0
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x2ac], 0x17
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov edx, esi
push edx
call eax
mov dword [esp + 0x2ac], ebp
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x4059eb
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0040f819
add esp, 4
cmp esi, ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
je 0x405d2c
mov esi, dword [esi]
cmp esi, ebx
je 0x405d2c
mov edx, str.BtnStatus
lea eax, [esp + 0x4c]
call fcn.00401080
mov dword [esp + 0x2ac], 0x18
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x4c]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x405a4d
mov eax, dword [edi]
mov dword [esp + 0x38], eax
mov edx, str.SmallMainFrameBackground
lea eax, [esp + 0x4c]
call fcn.00401080
mov dword [esp + 0x2ac], 0x19
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x4c]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x405a90
mov eax, dword [edi]
mov dword [esp + 0x3c], eax
mov edx, str.MiNiMainFrameBackground
lea eax, [esp + 0x4c]
call fcn.00401080
mov dword [esp + 0x2ac], 0x1a
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x4c]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x405ad3
mov eax, dword [edi]
mov dword [esp + 0x40], eax
mov edx, str.GameMainFrameBackground
lea eax, [esp + 0x4c]
call fcn.00401080
mov dword [esp + 0x2ac], 0x1b
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x4c]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x405b16
mov eax, dword [edi]
mov dword [esp + 0x70], eax
mov edx, str.Selected
lea eax, [esp + 0x4c]
call fcn.00401080
mov dword [esp + 0x2ac], 0x1c
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x4c]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x405b59
mov eax, dword [edi]
mov dword [esp + 0x68], eax
mov edx, str.FullBackground
lea eax, [esp + 0x4c]
call fcn.00401080
mov dword [esp + 0x2ac], 0x1d
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x4c]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x405b9c
mov eax, dword [edi]
mov dword [esp + 0x6c], eax
mov edx, str.PlanBackground
lea eax, [esp + 0x4c]
call fcn.00401080
mov dword [esp + 0x2ac], 0x1e
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x4c]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x405bdf
mov eax, dword [edi]
mov dword [esp + 0x74], eax
mov edx, 0x459cac
lea eax, [esp + 0x4c]
call fcn.00401080
mov dword [esp + 0x2ac], 0x1f
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x4c]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x405c22
mov eax, dword [edi]
mov dword [esp + 0x48], eax
mov edx, 0x459c88
lea eax, [esp + 0x4c]
call fcn.00401080
mov dword [esp + 0x2ac], 0x20
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x4c]
mov edi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp edi, ebx
je 0x405c65
mov eax, dword [edi]
mov dword [esp + 0x44], eax
mov edx, str.SeparatorLine
lea eax, [esp + 0x4c]
call fcn.00401080
mov dword [esp + 0x2ac], 0x21
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x4c]
mov esi, eax
mov dword [esp + 0x2ac], ebp
call fcn.004010c0
cmp esi, ebx
je 0x405ca8
mov eax, dword [esi]
mov dword [esp + 0x34], eax
cmp dword [esp + 0x3c], ebx
je 0x405cbe
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov edi, dword [edx + 4]
call fcn.00406540
cmp dword [esp + 0x40], ebx
je 0x405cd4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edi, dword [eax + 8]
call fcn.00406540
cmp dword [esp + 0x70], ebx
je 0x405cea
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
mov edi, dword [edx + 0xc]
call fcn.00406540
cmp dword [esp + 0x6c], ebx
je 0x405d00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x6c]
mov edi, dword [eax + 0x10]
call fcn.00406540
cmp dword [esp + 0x74], ebx
je 0x405d16
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
mov edi, dword [edx + 0x18]
call fcn.00406540
cmp dword [esp + 0x68], ebx
je 0x405d2c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
mov edi, dword [eax + 0x18]
call fcn.00406540
push 0x206
lea ecx, [esp + 0x9e]
push ebx
push ecx
mov word [esp + 0xa4], bx
call fcn.00431f40
add esp, 0xc
cmp dword [esp + 0x44], ebx
je 0x405e53
xor edi, edi
lea ebp, [edi + 0x22]
lea esp, [esp]
lea edx, [edi + edi*4]
lea eax, [edx*4 + str.left]
push eax
lea ecx, [esp + 0x9c]
push str._sSrc
push ecx
call fcn.0042f747
lea eax, [esp + 0xa4]
add esp, 0xc
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea edx, [eax + 2]
jmp 0x405da0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x405da0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x9c]
push edx
lea esi, [esp + 0x20]
call fcn.004011a0
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x2ac], ebp
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
mov edx, esi
push edx
call eax
mov dword [esp + 0x2ac], 0xffffffff
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x405df7
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0040f819
add esp, 4
cmp esi, ebx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
je case.default.0x405e2f
cmp dword [esi + 0x18], 8
jb 0x405e17
mov esi, dword [esi + 4]
jmp 0x405e1a
add esi, 4
push esi
call fcn.004301a6
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x2c]
add esp, 4
cmp edi, 3
ja case.default.0x405e2f
jmp dword [edi*4 + 0x406508]
mov dword [ecx], eax
jmp case.default.0x405e2f
mov dword [ecx + 4], eax
jmp case.default.0x405e2f
mov dword [ecx + 8], eax
jmp case.default.0x405e2f
mov dword [ecx + 0xc], eax
add edi, 1
cmp edi, 4
jl 0x405d60
cmp dword [esp + 0x48], ebx
je 0x405f53
xor edi, edi
lea ebp, [edi + 0x23]
lea eax, [edi + edi*4]
lea ecx, [eax*4 + str.left]
push ecx
lea edx, [esp + 0x9c]
push str._sSrc
push edx
call fcn.0042f747
lea eax, [esp + 0xa4]
add esp, 0xc
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x405ea0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x9c]
push eax
lea esi, [esp + 0x20]
call fcn.004011a0
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x2ac], ebp
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
mov eax, esi
push eax
call edx
mov dword [esp + 0x2ac], 0xffffffff
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x405ef7
mov eax, dword [esp + 0x1c]
push eax
call fcn.0040f819
add esp, 4
cmp esi, ebx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
je case.default.0x405f2f
cmp dword [esi + 0x18], 8
jb 0x405f17
mov esi, dword [esi + 4]
jmp 0x405f1a
add esi, 4
push esi
call fcn.004301a6
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x28]
add esp, 4
cmp edi, 3
ja case.default.0x405f2f
jmp dword [edi*4 + 0x406518]
mov dword [ecx], eax
jmp case.default.0x405f2f
mov dword [ecx + 4], eax
jmp case.default.0x405f2f
mov dword [ecx + 8], eax
jmp case.default.0x405f2f
mov dword [ecx + 0xc], eax
add edi, 1
cmp edi, 4
jl 0x405e62
cmp dword [esp + 0x34], ebx
je 0x406053
xor edi, edi
lea ebp, [edi + 0x24]
lea edx, [edi + edi*4]
lea eax, [edx*4 + str.left]
push eax
lea ecx, [esp + 0x9c]
push str._sSrc
push ecx
call fcn.0042f747
lea eax, [esp + 0xa4]
add esp, 0xc
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x405fa0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x9c]
push edx
lea esi, [esp + 0x20]
call fcn.004011a0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x2ac], ebp
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
mov edx, esi
push edx
call eax
mov dword [esp + 0x2ac], 0xffffffff
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x405ff7
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0040f819
add esp, 4
cmp esi, ebx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
je case.default.0x40602f
cmp dword [esi + 0x18], 8
jb 0x406017
mov esi, dword [esi + 4]
jmp 0x40601a
add esi, 4
push esi
call fcn.004301a6
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x30]
add esp, 4
cmp edi, 3
ja case.default.0x40602f
jmp dword [edi*4 + 0x406528]
mov dword [ecx], eax
jmp case.default.0x40602f
mov dword [ecx + 4], eax
jmp case.default.0x40602f
mov dword [ecx + 8], eax
jmp case.default.0x40602f
mov dword [ecx + 0xc], eax
add edi, 1
cmp edi, 4
jl 0x405f62
cmp dword [esp + 0x38], ebx
je 0x4064d6
xor edi, edi
push 0xd
xor ebx, ebx
push str.front_LeftSrc
lea esi, [esp + 0x20]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], edi
xor ebp, ebp
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], edi
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
call fcn.004011a0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x2ac], 0x25
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
mov edx, esi
push edx
call eax
mov dword [esp + 0x2ac], 0xffffffff
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x4060d2
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0040f819
add esp, 4
cmp esi, edi
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
je 0x406102
cmp dword [esi + 0x18], 8
jb 0x4060f2
mov esi, dword [esi + 4]
jmp 0x4060f5
add esi, 4
push esi
call fcn.004301a6
add esp, 4
mov dword [esp + 0x34], eax
push 0xc
push str.front_TopSrc
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
call fcn.004011a0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x2ac], 0x26
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
mov eax, esi
push eax
call edx
mov dword [esp + 0x2ac], 0xffffffff
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x40615d
mov eax, dword [esp + 0x1c]
push eax
call fcn.0040f819
add esp, 4
cmp esi, edi
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
je 0x40618d
cmp dword [esi + 0x18], 8
jb 0x40617d
mov esi, dword [esi + 4]
jmp 0x406180
add esi, 4
push esi
call fcn.004301a6
add esp, 4
mov dword [esp + 0x40], eax
push 0xe
push str.front_WidthSrc
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
call fcn.004011a0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x2ac], 0x27
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
mov eax, esi
push eax
call edx
mov dword [esp + 0x2ac], 0xffffffff
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x4061e8
mov eax, dword [esp + 0x1c]
push eax
call fcn.0040f819
add esp, 4
cmp esi, edi
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
je 0x406216
cmp dword [esi + 0x18], 8
jb 0x406208
mov esi, dword [esi + 4]
jmp 0x40620b
add esi, 4
push esi
call fcn.004301a6
add esp, 4
mov ebp, eax
push 0xf
push str.front_HeightSrc
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
call fcn.004011a0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x2ac], 0x28
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
mov eax, esi
push eax
call edx
mov dword [esp + 0x2ac], 0xffffffff
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x406271
mov eax, dword [esp + 0x1c]
push eax
call fcn.0040f819
add esp, 4
cmp esi, edi
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
je 0x4062a1
cmp dword [esi + 0x18], 8
jb 0x406291
mov esi, dword [esi + 4]
jmp 0x406294
add esi, 4
push esi
call fcn.004301a6
add esp, 4
mov dword [esp + 0x3c], eax
push 0xf
push str.middle_WidthSrc
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
call fcn.004011a0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x2ac], 0x29
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
mov eax, esi
push eax
call edx
mov dword [esp + 0x2ac], 0xffffffff
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x4062fc
mov eax, dword [esp + 0x1c]
push eax
call fcn.0040f819
add esp, 4
cmp esi, edi
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
je 0x40632e
cmp dword [esi + 0x18], 8
jb 0x40631c
mov esi, dword [esi + 4]
jmp 0x40631f
add esi, 4
push esi
call fcn.004301a6
add esp, 4
mov ebx, eax
mov dword [esp + 0x44], eax
push 0xd
push str.back_WidthSrc
lea esi, [esp + 0x84]
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], edi
mov word [esp + 0x88], di
call fcn.004011a0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x2ac], 0x2a
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
mov eax, esi
push eax
call edx
cmp dword [esp + 0x94], 8
mov esi, eax
jb 0x406390
mov eax, dword [esp + 0x80]
push eax
call fcn.0040f819
add esp, 4
cmp esi, edi
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], edi
mov word [esp + 0x80], di
je 0x4063c9
cmp dword [esi + 0x18], 8
jb 0x4063b9
mov esi, dword [esi + 4]
jmp 0x4063bc
add esi, 4
push esi
call fcn.004301a6
add esp, 4
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov edx, dword [eax]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x34]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + 0xc], eax
mov dword [edx], esi
mov dword [edx + 8], ebp
lea eax, [esi + ebp]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [edx + 0x1c], ebx
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x3c]
add ebx, ebp
add ebx, esi
mov esi, dword [esp + 0x40]
mov dword [edx + 0x20], eax
lea eax, [edx + 0x28]
mov dword [eax], ebx
mov ebx, dword [esp + 0x48]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x44]
add ebx, esi
add ebx, ebp
xor ecx, ecx
add ebx, dword [esp + 0x34]
mov ebp, 1
mov edi, edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x34], ebp
jmp 0x406444
mov ebx, dword [esp + 0x78]
cmp ebp, 1
mov esi, dword [esp + 0x14]
jne 0x406454
mov esi, dword [esi]
mov edi, dword [esi + 4]
jmp 0x406476
cmp ebp, 2
jne 0x406460
mov esi, dword [esi]
mov edi, dword [esi + 8]
jmp 0x406476
cmp ebp, 3
jne 0x40646c
mov esi, dword [esi]
mov edi, dword [esi + 0xc]
jmp 0x406476
cmp ebp, 4
jne 0x406476
mov esi, dword [esi]
mov edi, dword [esi + 0x10]
xor esi, esi
imul ebp, ebx
jmp 0x406480
test esi, esi
jne 0x40648a
mov eax, edi
mov ecx, edx
jmp 0x4064a2
cmp esi, 1
jne 0x406497
lea eax, [edi + 0x14]
lea ecx, [edx + 0x14]
jmp 0x4064a2
cmp esi, 2
jne 0x4064a2
lea eax, [edi + 0x28]
lea ecx, [edx + 0x28]
mov ebx, dword [ecx]
add ebx, ebp
mov dword [eax], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 4], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 0xc]
add esi, 1
cmp esi, 4
mov dword [eax + 0xc], ebx
jl 0x406480
mov ebp, dword [esp + 0x34]
add ebp, 1
cmp ebp, 5
mov dword [esp + 0x34], ebp
jl 0x406440
mov eax, 1
mov ecx, dword [esp + 0x2a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28c]
xor ecx, esp
call fcn.0042f8e0
add esp, 0x29c
ret 8