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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x465b21
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4681c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404634
lea eax, [ebp - 0x1c]
call fcn.00404634
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
sub dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x34]
xor edx, edx
mov dword [eax], edx
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1f], 0
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
push edi
lea esi, [ebp - 0x78]
lea edi, [ebp - 0x88]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
lea eax, [ebp - 8]
call fcn.00404634
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x35], 0
je 0x4680ba
cmp byte [ebp + 0x38], 0
jne 0x4680ba
mov eax, dword [edi + 0x10]
call fcn.00429e44
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x3c], eax
mov eax, dword [edi + 0x14]
call fcn.0042a124
mov edx, eax
mov eax, dword [edi + 0x10]
call fcn.00429e4c
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx - 0x44]
push edx
mov edx, dword [ebp + 0x30]
mov edx, dword [edx]
mov eax, dword [ebp - 0x74]
add edx, eax
push edx
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx - 0x4c]
mov ecx, eax
mov eax, edi
call fcn.0042a604
jmp 0x4680ba
mov edx, dword [ebx]
mov eax, 0x4681e0
call fcn.00404c28
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x48], 0
je 0x465c22
mov edx, dword [ebx]
mov eax, 0x4681ec
call fcn.00404c28
mov esi, eax
jmp 0x465c24
xor esi, esi
cmp dword [ebp - 0x38], 0
jle 0x465c49
cmp esi, dword [ebp - 0x38]
jg 0x465c33
test esi, esi
jne 0x465c49
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x38]
dec ecx
mov eax, dword [ebx]
mov edx, 1
call fcn.00404b44
jmp 0x465c6b
test esi, esi
jle 0x465c61
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx]
mov ecx, esi
mov edx, 1
call fcn.00404b44
jmp 0x465c6b
lea eax, [ebp - 4]
mov edx, dword [ebx]
call fcn.004046cc
mov eax, dword [ebp - 4]
call fcn.004048ec
mov esi, eax
jmp 0x465c89
lea ecx, [ebp - 4]
mov edx, 0x4681ec
mov eax, 0x4681f8
call fcn.004659e8
mov edx, dword [ebp - 4]
mov eax, 0x4681f8
call fcn.00404c28
test eax, eax
jg 0x465c77
jmp 0x465cae
lea ecx, [ebp - 4]
mov edx, 0x4681e0
mov eax, 0x468208
call fcn.004659e8
mov edx, dword [ebp - 4]
mov eax, 0x468208
call fcn.00404c28
test eax, eax
jg 0x465c9c
jmp 0x465cd3
lea ecx, [ebp - 4]
mov edx, 0x468218
mov eax, 0x468224
call fcn.004659e8
mov edx, dword [ebp - 4]
mov eax, 0x468224
call fcn.00404c28
test eax, eax
jg 0x465cc1
mov eax, dword [ebp - 4]
call fcn.004048ec
mov dword [ebp - 0x58], eax
test esi, esi
jle 0x4661b2
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0042a6e8
mov edx, dword [ebp + 0x3c]
cmp byte [edx - 0x4d], 0
je 0x465d22
mov edx, dword [ebp + 0x2c]
mov edx, dword [edx]
mov ecx, eax
shr ecx, 2
cmp edx, ecx
jge 0x465d22
mov edx, eax
shr edx, 2
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], edx
mov edx, dword [ebp + 0x3c]
cmp byte [edx - 0x4e], 0
je 0x465d43
mov edx, dword [ebp + 0x28]
mov edx, dword [edx]
mov ecx, eax
shr ecx, 2
cmp edx, ecx
jge 0x465d43
mov edx, eax
shr edx, 2
mov ecx, dword [ebp + 0x28]
mov dword [ecx], edx
mov edx, dword [ebp + 0x30]
cmp eax, dword [edx]
jle 0x465d4f
mov edx, dword [ebp + 0x30]
mov dword [edx], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 4]
call fcn.004048f4
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x28]
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x4f], 0
jne 0x4661b2
cmp byte [ebp + 0x38], 0
jne 0x465f7d
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x4e], 0
je 0x465d8b
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
sub dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x4d], 0
je 0x465d9c
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
add dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
sub dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x50], 0
je 0x465e35
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x64]
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x64]
push eax
lea eax, [ebp - 0x88]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax + 0x30]
mov eax, dword [edi + 0xc]
call fcn.00429960
push 0
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x54]
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ae4
push eax
mov eax, edi
call fcn.0042a86c
push eax
call sub.user32.dll_DrawTextExA
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x64]
neg eax
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x64]
neg eax
push eax
lea eax, [ebp - 0x88]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x4c]
call fcn.00429960
push 0
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x54]
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ae4
push eax
mov eax, edi
call fcn.0042a86c
push eax
call sub.user32.dll_DrawTextExA
push 0
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x54]
or eax, 0x400
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ae4
push eax
mov eax, edi
call fcn.0042a86c
push eax
call sub.user32.dll_DrawTextExA
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x55], 0
je 0x465eb9
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
dec eax
mov edx, dword [ebp + 0x3c]
cmp eax, dword [edx + 0x6c]
jne 0x465eb9
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx - 0x5c]
call fcn.00404688
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x5d], 0
je 0x465f5a
mov eax, dword [edi + 0x10]
mov edx, 0xff
call fcn.00429e4c
mov eax, dword [edi + 0x10]
mov edx, 1
call fcn.00429f58
mov eax, dword [ebp - 0x88]
sar eax, 1
jns 0x465eed
adc eax, 0
add eax, eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
and eax, 0x80000003
jns 0x465f01
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
jne 0x465f0e
mov dword [ebp - 0x3c], 2
jmp 0x465f13
xor eax, eax
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0x3c]
dec ecx
mov edx, dword [ebp - 0x40]
mov eax, edi
call fcn.0042a5a0
jmp 0x465f52
cmp dword [ebp - 0x3c], 2
jne 0x465f33
xor eax, eax
mov dword [ebp - 0x3c], eax
jmp 0x465f3a
mov dword [ebp - 0x3c], 2
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0x3c]
dec ecx
mov edx, dword [ebp - 0x40]
add edx, 2
mov eax, edi
call fcn.0042a540
add dword [ebp - 0x40], 2
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x80]
jl 0x465f26
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
jmp 0x4660e5
push esi
push edi
lea esi, [ebp - 0x78]
lea edi, [ebp - 0x88]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
push 0
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x54]
or eax, 0x400
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ae4
push eax
mov eax, edi
call fcn.0042a86c
push eax
call sub.user32.dll_DrawTextExA
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp + 0x14]
jge 0x466083
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x7c]
jge 0x466083
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x18]
jge 0x466083
mov eax, dword [ebp - 0x7c]
push eax
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x84]
call fcn.0041c78c
mov eax, dword [ebp + 0x3c]
push esi
push edi
lea esi, [ebp - 0x98]
lea edi, [eax - 0x6d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebp + 0x3c]
add eax, 0xffffffe8
xor ecx, ecx
mov edx, 0x14
call fcn.00403118
mov eax, dword [ebp + 0x3c]
mov dword [eax - 0x18], 0x14
mov eax, dword [ebp + 0x3c]
add eax, 0xffffffdc
push eax
push 0
mov eax, dword [ebp + 0x3c]
add eax, 0xffffffe4
push eax
mov eax, dword [ebp + 0x34]
mov edx, dword [ebp + 0x18]
sub edx, dword [eax]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ae4
push eax
mov eax, edi
call fcn.0042a86c
push eax
call sub.gdi32.dll_GetTextExtentExPointA
mov eax, dword [ebp + 0x3c]
cmp esi, dword [eax - 0x1c]
jne 0x466077
mov eax, dword [ebp + 0x3c]
add dword [eax - 0x74], esi
jmp 0x466083
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x1c]
mov edx, dword [ebp + 0x3c]
add dword [edx - 0x74], eax
mov eax, dword [ebp - 0x80]
sub eax, dword [ebp - 0x88]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x34]
mov edx, dword [ebp - 0x5c]
add dword [eax], edx
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp - 0x88]
mov edx, dword [ebp + 0x34]
mov edx, dword [edx]
sub edx, dword [ebp - 0x5c]
cmp eax, edx
jl 0x4660e5
mov edx, dword [ebp + 0x34]
cmp eax, dword [edx]
jg 0x4660e5
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x55], 0
je 0x4660e5
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x84]
jle 0x4660e5
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx - 0x5c]
call fcn.00404688
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x75], 1
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x78]
mov edx, dword [ebp + 0x34]
cmp eax, dword [edx]
jg 0x4660fb
cmp eax, dword [ebp - 0x5c]
jle 0x4660fb
xor eax, eax
jmp 0x4660fd
mov al, 1
mov byte [ebp - 0x5d], al
cmp byte [ebp - 0x5d], 0
jne 0x466128
mov eax, dword [ebp - 0x1c]
call fcn.004048ec
test eax, eax
jle 0x466128
mov eax, dword [ebp - 0x1c]
call fcn.004048ec
mov edx, dword [ebp - 0x1c]
cmp byte [edx + eax - 1], 0x20
je 0x466128
mov byte [ebp - 0x5d], 1
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.004048f4
cmp byte [ebp - 0x5d], 0
jne 0x466142
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x48], 0
jne 0x4661a6
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebx]
mov ecx, esi
mov edx, 1
call fcn.00404b44
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 8]
call fcn.004048f4
mov al, byte [ebp - 0x5d]
xor al, 1
and al, byte [ebp + 0x38]
je 0x466176
mov eax, ebx
call fcn.00404634
mov eax, ebx
mov ecx, esi
mov edx, 1
call fcn.00404b84
mov eax, dword [ebp - 4]
cmp byte [eax + esi - 1], 0x20
jne 0x46619f
mov edx, 0x4681ec
mov eax, edi
call fcn.0042a6cc
mov dword [ebp - 0x24], eax
jmp 0x4661b2
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x4661b2
mov byte [ebp - 0x1d], 1
mov eax, dword [ebp + 0x34]
mov edx, dword [ebp - 0x5c]
sub dword [eax], edx
mov edx, dword [ebx]
mov eax, 0x4681e0
call fcn.00404c28
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jne 0x4661da
mov eax, dword [ebx]
call fcn.004048ec
cmp eax, 2
jg 0x4661da
mov eax, ebx
call fcn.00404634
cmp byte [ebp - 0x1d], 0
jne 0x4680ba
cmp dword [ebp - 0x38], 1
jne 0x4680ba
mov eax, dword [ebx]
call fcn.004048ec
cmp eax, 2
jle 0x4680ba
mov eax, dword [ebx]
cmp byte [eax + 1], 0x2f
jne 0x466662
mov eax, dword [ebx]
call fcn.004048ec
cmp eax, 3
jle 0x466662
mov eax, dword [ebx]
mov al, byte [eax + 2]
call fcn.00402c00
and eax, 0xff
add eax, 0xffffffbf
cmp eax, 0x19
ja case.0x466683.65
mov al, byte [eax + 0x466242]
jmp dword [eax*4 + 0x46625c]
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x4c], 0
je 0x4662a5
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + 0x18]
cmp eax, dword [edx]
jne 0x46630f
cmp byte [ebp + 0x38], 0
jne 0x46630f
mov eax, dword [edi + 0xc]
call fcn.00429c20
mov dl, byte [0x46822c]
not edx
and dl, al
mov eax, dword [edi + 0xc]
call fcn.00429c2c
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0x38], 0x1fffffff
je 0x4662f5
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x7c]
mov eax, dword [edi + 0x14]
call fcn.0042a12c
mov eax, dword [ebp + 0x3c]
cmp dword [eax - 0x7c], 0x1fffffff
jne 0x4662f5
mov eax, dword [edi + 0x14]
mov dl, 1
call fcn.0042a248
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0x34], 0x1fffffff
je 0x46630f
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax + 0x34]
mov eax, dword [edi + 0xc]
call fcn.00429960
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x54], 0
jne 0x466329
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x80]
mov edx, dword [eax + 0x18]
mov eax, dword [edi + 0xc]
call fcn.00429960
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x55], 0
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x75], 0
je 0x4663aa
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0x6c]
mov dword [eax - 0x84], edx
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
add eax, dword [ebp - 0x78]
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x88], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x8c]
cmp eax, dword [ebp - 0x74]
je 0x46637c
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0x78]
mov dword [eax - 0x90], edx
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0x74]
mov dword [eax - 0x8c], edx
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + 0x10]
push edi
lea esi, [eax - 0x90]
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + 0x14]
mov dword [edx], eax
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x75], 0
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + 0x18]
mov edx, dword [edx]
dec edx
cmp eax, edx
jne case.0x466683.65
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0x88]
mov dword [eax - 0x2c], edx
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp - 0x7c]
sub edx, dword [eax]
mov eax, dword [ebp + 0x3c]
mov dword [eax - 0x28], edx
mov edx, 0x468238
mov eax, edi
call fcn.0042a6e8
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx - 0x28]
sub edx, eax
mov eax, dword [ebp + 0x3c]
mov dword [eax - 0x30], edx
push 0
push 1
mov eax, dword [ebp + 0x3c]
add eax, 0xffffffcc
push eax
call sub.user32.dll_InflateRect
cmp byte [ebp + 0x38], 0
jne case.0x466683.65
mov eax, dword [ebp + 0x3c]
lea edx, [eax - 0x34]
mov eax, edi
call fcn.0042a4d0
jmp case.0x466683.65
cmp byte [ebp + 0x38], 0
jne case.0x466683.65
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x5d], 0
jmp case.0x466683.65
mov eax, dword [ebx]
cmp byte [eax + 3], 0x3e
je 0x466455
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x80]
mov edx, dword [eax + 0x18]
mov eax, dword [edi + 0xc]
call fcn.00429960
jmp case.0x466683.65
mov eax, dword [edi + 0xc]
call fcn.00429c20
mov dl, byte [0x46823c]
not edx
and dl, al
mov eax, dword [edi + 0xc]
call fcn.00429c2c
jmp case.0x466683.65
mov eax, dword [ebx]
mov al, byte [eax + 3]
call fcn.00402c00
cmp al, 0x55
jne 0x466495
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x4e], 0
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x4d], 0
jmp case.0x466683.65
cmp al, 0x48
jne 0x4664a5
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x50], 0
jmp case.0x466683.65
mov eax, dword [edi + 0xc]
call fcn.00429c20
mov dl, byte [0x468240]
not edx
and dl, al
mov eax, dword [edi + 0xc]
call fcn.00429c2c
jmp case.0x466683.65
lea edx, [ebp - 0xa0]
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x80]
call fcn.00429b70
mov edx, dword [ebp - 0xa0]
mov eax, dword [edi + 0xc]
call fcn.00429b88
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x80]
call fcn.00429be4
mov edx, eax
mov eax, dword [edi + 0xc]
call fcn.00429c00
cmp byte [ebp + 0x38], 0
jne case.0x466683.65
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x54], 0
jne case.0x466683.65
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x80]
mov edx, dword [eax + 0x18]
mov eax, dword [edi + 0xc]
call fcn.00429960
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x94]
mov eax, dword [edi + 0x14]
call fcn.0042a12c
mov eax, dword [ebp + 0x3c]
cmp dword [eax - 0x94], 0x1fffffff
jne case.0x466683.65
mov eax, dword [edi + 0x14]
mov dl, 1
call fcn.0042a248
jmp case.0x466683.65
cmp byte [ebp + 0x38], 0
jne case.0x466683.65
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x98]
mov eax, dword [edi + 0xc]
call fcn.00429960
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x9c]
mov eax, dword [edi + 0x14]
call fcn.0042a12c
mov eax, dword [ebp + 0x3c]
cmp dword [eax - 0x9c], 0x1fffffff
jne case.0x466683.65
mov eax, dword [edi + 0x14]
mov dl, 1
call fcn.0042a248
jmp case.0x466683.65
mov eax, dword [edi + 0xc]
call fcn.00429c20
mov dl, byte [0x468244]
not edx
and dl, al
mov eax, dword [edi + 0xc]
call fcn.00429c2c
jmp case.0x466683.65
mov byte [ebp - 0x1d], 1
cmp byte [ebp + 0x38], 0
jne case.0x466683.65
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0xa0]
mov eax, dword [edi + 0x14]
call fcn.0042a12c
mov eax, dword [ebp + 0x3c]
cmp dword [eax - 0xa0], 0x1fffffff
jne 0x4665f8
mov eax, dword [edi + 0x14]
mov dl, 1
call fcn.0042a248
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x35], 0
jmp case.0x466683.65
mov eax, dword [ebx]
cmp byte [eax + 3], 0x3e
je 0x466626
mov eax, dword [ebp + 0x3c]
cmp dword [eax - 0xa4], 0
jle 0x466626
mov eax, dword [ebp + 0x3c]
dec dword [eax - 0xa4]
jmp case.0x466683.65
mov eax, dword [edi + 0xc]
call fcn.00429c20
mov dl, byte [0x46822c]
not edx
and dl, al
mov eax, dword [edi + 0xc]
call fcn.00429c2c
jmp case.0x466683.65
mov eax, dword [ebp + 0x3c]
push eax
mov eax, edi
call fcn.00465af4
pop ecx
jmp case.0x466683.65
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x4f], 0
jmp case.0x466683.65
mov eax, dword [ebx]
mov al, byte [eax + 1]
call fcn.00402c00
and eax, 0xff
add eax, 0xffffffbf
cmp eax, 0x19
ja case.0x466683.65
mov al, byte [eax + 0x46668a]
jmp dword [eax*4 + 0x4666a4]
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + 0x18]
cmp eax, dword [edx]
jne 0x466706
cmp byte [ebp + 0x38], 0
jne 0x466706
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0x88]
mov dword [eax - 0x34], edx
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0x84]
mov dword [eax - 0x30], edx
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x18]
inc dword [eax]
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x4c], 0
je 0x46672b
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + 0x18]
cmp eax, dword [edx]
jne 0x4667ba
cmp byte [ebp + 0x38], 0
jne 0x4667ba
mov eax, dword [edi + 0xc]
call fcn.00429c20
mov edx, eax
or dl, byte [0x46822c]
mov eax, dword [edi + 0xc]
call fcn.00429c2c
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0x38], 0x1fffffff
je 0x466791
cmp byte [ebp + 0x38], 0
jne 0x466791
mov eax, dword [edi + 0x14]
call fcn.0042a124
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x7c], eax
mov eax, dword [edi + 0x14]
call fcn.0042a240
cmp al, 1
jne 0x466783
mov eax, dword [ebp + 0x3c]
mov dword [eax - 0x7c], 0x1fffffff
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax + 0x38]
mov eax, dword [edi + 0x14]
call fcn.0042a12c
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0x34], 0x1fffffff
je 0x4667ba
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xa8], eax
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax + 0x34]
mov eax, dword [edi + 0xc]
call fcn.00429960
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x54], 0
jne 0x4667f6
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0x34], 0x1fffffff
je 0x4667e8
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + 0x18]
cmp eax, dword [edx]
jne 0x4667e8
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x4c], 0
jne 0x4667f6
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax + 0x3c]
mov eax, dword [edi + 0xc]
call fcn.00429960
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebx]
mov eax, 0x468218
call fcn.00404c28
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 3
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x468250
call fcn.00404c28
inc eax
push eax
mov eax, dword [ebp - 0xc]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404b44
mov eax, dword [ebp + 0x3c]
add eax, 0xffffffa4
mov edx, dword [ebp - 0x10]
call fcn.004046cc
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x55], 1
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x90], eax
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0x74]
mov dword [eax - 0x8c], edx
jmp case.0x466683.65
mov eax, dword [ebx]
mov al, byte [eax + 2]
call fcn.00402c00
cmp al, 0x3e
jne 0x4668bb
mov eax, dword [edi + 0xc]
call fcn.00429c20
mov edx, eax
or dl, byte [0x46823c]
mov eax, dword [edi + 0xc]
call fcn.00429c2c
jmp case.0x466683.65
cmp al, 0x52
jne 0x4668de
mov byte [ebp - 0x1d], 1
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x28]
mov edx, 0x46825c
call fcn.004048f4
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x28]
jmp case.0x466683.65
cmp al, 0x4c
jne 0x466905
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x50], 0
jne case.0x466683.65
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0xac]
mov eax, dword [edi + 0xc]
call fcn.00429960
jmp case.0x466683.65
cmp al, 0x4f
jne case.0x466683.65
lea eax, [ebp - 0xa4]
push eax
mov edx, dword [ebx]
mov eax, 0x468218
call fcn.00404c28
mov ecx, eax
mov eax, dword [ebx]
mov edx, 1
call fcn.00404b44
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 8]
call fcn.004048f4
lea eax, [ebp - 0xa8]
push eax
mov edx, dword [ebx]
mov eax, 0x468218
call fcn.00404c28
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 6
call fcn.00404b44
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xc]
call fcn.004089b0
mov edx, dword [ebp - 0xc]
mov eax, 0x468268
call fcn.00404c28
test eax, eax
jle 0x466b83
cmp byte [ebp + 0x38], 0
jne 0x466b83
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x468268
call fcn.00404c28
add eax, 0xa
push eax
mov eax, dword [ebp - 0xc]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404b44
xor eax, eax
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x10]
mov eax, 0x46827c
call fcn.00404c28
test eax, eax
jne 0x466a2a
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 8], 0
je 0x466a2a
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x10]
call fcn.004640ac
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468288
call fcn.00404c28
test eax, eax
jle 0x466a87
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0xc], 0
je 0x466a87
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00463e68
test eax, eax
jne 0x466a76
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0xc]
call fcn.00463e20
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov byte [eax + 0x45], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x64]
call fcn.004639f4
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00463e68
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x466b83
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x466b83
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
jle 0x466b83
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
jle 0x466b83
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x40]
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x44]
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x48]
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x4c]
push eax
call sub.gdi32.dll_CreateRectRgn
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xb0], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xb0]
push eax
mov eax, edi
call fcn.0042a86c
push eax
call sub.gdi32.dll_SelectClipRgn
jmp 0x466b54
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x466b38
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax - 0x48]
add ecx, dword [ebp - 0x34]
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x4c]
add edx, dword [ebp - 0x30]
mov eax, edi
call fcn.0042a424
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
add dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x44]
mov edx, dword [ebp + 0x3c]
sub eax, dword [edx - 0x4c]
cmp eax, dword [ebp - 0x30]
jg 0x466b10
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
add dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x40]
mov edx, dword [ebp + 0x3c]
sub eax, dword [edx - 0x48]
cmp eax, dword [ebp - 0x34]
jg 0x466b09
push 0
mov eax, edi
call fcn.0042a86c
push eax
call sub.gdi32.dll_SelectClipRgn
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xb0]
push eax
call sub.gdi32.dll_DeleteObject
mov edx, dword [ebp - 0xc]
mov eax, 0x468294
call fcn.00404c28
test eax, eax
jle case.0x466683.65
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x468294
call fcn.00404c28
add eax, 7
push eax
mov eax, dword [ebp - 0xc]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404b44
mov al, byte [ebp + 0x38]
xor al, 1
test al, al
je case.0x466683.65
mov edx, dword [ebp - 0x10]
mov eax, 0x4682a4
call fcn.00404c28
test eax, eax
jle 0x466c48
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x10]
call fcn.00408b24
mov eax, dword [ebp - 0xac]
call fcn.00464e88
mov edx, eax
mov eax, dword [edi + 0x14]
call fcn.0042a12c
mov edx, dword [ebp - 0x10]
mov eax, 0x4682b0
call fcn.00404c28
test eax, eax
jle 0x466c6b
mov eax, dword [ebp - 0x10]
call fcn.00465660
mov edx, eax
mov eax, dword [edi + 0x14]
call fcn.0042a12c
mov al, byte [ebp + 0x38]
xor al, 1
test al, al
je case.0x466683.65
mov eax, dword [edi + 0x14]
call fcn.0042a124
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x94], eax
mov eax, dword [edi + 0x10]
call fcn.00429e44
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x3c], eax
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x94]
mov eax, dword [edi + 0x10]
call fcn.00429e4c
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x44]
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x40]
push eax
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax - 0x48]
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x4c]
mov eax, edi
call fcn.0042a604
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x3c]
mov eax, dword [edi + 0x10]
call fcn.00429e4c
jmp case.0x466683.65
cmp byte [ebp + 0x38], 0
jne case.0x466683.65
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x5d], 1
jmp case.0x466683.65
mov eax, dword [ebx]
mov al, byte [eax + 2]
call fcn.00402c00
sub al, 0x49
je 0x466d5d
sub al, 9
jne case.0x466683.65
mov byte [ebp - 0x1d], 1
cmp byte [ebp + 0x38], 0
jne case.0x466683.65
mov eax, dword [edi + 0x10]
call fcn.00429e44
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x3c], eax
mov eax, dword [edi + 0x10]
xor edx, edx
call fcn.00429e4c
mov ecx, dword [ebp - 0x7c]
inc ecx
mov edx, dword [ebp - 0x78]
mov eax, edi
call fcn.0042a5a0
mov ecx, dword [ebp - 0x7c]
inc ecx
mov edx, dword [ebp - 0x70]
mov eax, edi
call fcn.0042a540
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x3c]
mov eax, dword [edi + 0x10]
call fcn.00429e4c
jmp case.0x466683.65
cmp byte [ebp + 0x38], 0
jne case.0x466683.65
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x98], eax
mov eax, dword [edi + 0x14]
call fcn.0042a124
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x9c], eax
mov eax, dword [edi + 0x14]
call fcn.0042a240
cmp al, 1
jne 0x466da0
mov eax, dword [ebp + 0x3c]
mov dword [eax - 0x9c], 0x1fffffff
mov eax, dword [edi + 0x14]
mov edx, 0x8000000d
call fcn.0042a12c
mov eax, dword [edi + 0xc]
mov edx, 0x8000000e
call fcn.00429960
jmp case.0x466683.65
mov eax, dword [ebx]
mov al, byte [eax + 2]
call fcn.00402c00
cmp al, 0x3e
jne 0x466dea
mov eax, dword [edi + 0xc]
call fcn.00429c20
mov edx, eax
or dl, byte [0x468244]
mov eax, dword [edi + 0xc]
call fcn.00429c2c
jmp case.0x466683.65
cmp al, 0x4e
jne 0x466ec2
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebx]
mov eax, 0x468218
call fcn.00404c28
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 3
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4682bc
call fcn.00465718
add eax, 2
push eax
mov eax, dword [ebp - 0xc]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404b44
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.00403138
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x2c], 0
jne case.0x466683.65
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jge case.0x466683.65
mov eax, dword [ebp + 0x34]
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x4c]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x88], eax
jmp case.0x466683.65
cmp al, 0x4d
jne case.0x466683.65
mov eax, dword [ebp + 0x3c]
inc dword [eax - 0xb4]
lea eax, [ebp - 0xb0]
push eax
mov edx, dword [ebx]
mov eax, 0x468218
call fcn.00404c28
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 3
call fcn.00404b44
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xc]
call fcn.004089b0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4682c8
call fcn.00404c28
add eax, 4
push eax
mov eax, dword [ebp - 0xc]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404b44
mov edx, dword [ebp - 0xc]
mov eax, 0x4682d4
call fcn.00404c28
test eax, eax
jle 0x46700a
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xb8]
mov edx, dword [ebp + 0x3c]
cmp eax, dword [edx - 0xb4]
jne 0x46700a
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4682d4
call fcn.00404c28
add eax, 4
push eax
mov eax, dword [ebp - 0xc]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404b44
xor eax, eax
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4682e0
call fcn.00404c28
test eax, eax
jle 0x4670a2
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4682e0
call fcn.00404c28
add eax, 6
push eax
mov eax, dword [ebp - 0xc]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x468250
call fcn.00404c28
inc eax
push eax
mov eax, dword [ebp - 0x18]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0x18]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x468250
call fcn.00404c28
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.00404b44
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
call fcn.00403138
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4682f0
call fcn.00404c28
test eax, eax
jle 0x467130
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4682f0
call fcn.00465718
add eax, 7
push eax
mov eax, dword [ebp - 0xc]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x468250
call fcn.00404c28
inc eax
push eax
mov eax, dword [ebp - 0x18]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0x18]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x468250
call fcn.00404c28
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.00404b44
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
call fcn.00403138
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x3c]
xor edx, edx
mov dword [eax - 0xc0], edx
mov eax, dword [ebp + 0x3c]
xor edx, edx
mov dword [eax - 0xbc], edx
mov edx, dword [ebp - 0x10]
mov eax, 0x468300
call fcn.00404c28
test eax, eax
jle 0x4672ab
lea eax, [ebp - 0x10]
mov ecx, 4
mov edx, 1
call fcn.00404b84
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0x78], 0
je 0x4672ab
mov eax, dword [ebp - 0x10]
call fcn.0046579c
mov esi, eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x78]
call fcn.0044c654
cmp esi, eax
jge 0x4672ab
push 0x60
push 0x58
mov eax, edi
call fcn.0042a86c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x34]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xc0], eax
push 0x60
push 0x5a
mov eax, edi
call fcn.0042a86c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x30]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xbc], eax
cmp byte [ebp + 0x38], 0
jne 0x46721f
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x58], 0
jne 0x46721f
mov eax, dword [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x10]
call fcn.0046579c
push eax
push 1
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x88]
mov edx, edi
call fcn.0044c944
cmp byte [ebp + 0x38], 0
jne 0x4672ab
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x58], 0
je 0x4672ab
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x78]
fild dword [eax + 0x34]
mov eax, dword [ebp + 0x3c]
fmul qword [eax + 0x40]
call fcn.00402c0c
add eax, dword [ebp - 0x88]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x78]
fild dword [eax + 0x30]
mov eax, dword [ebp + 0x3c]
fmul qword [eax + 0x40]
call fcn.00402c0c
add eax, dword [ebp - 0x84]
mov dword [ebp - 0x7c], eax
mov dl, 1
mov eax, dword [0x4289b4]
call fcn.0042e70c
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
call fcn.0046579c
mov edx, eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x48]
call fcn.0044c5ec
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x88]
mov eax, edi
call fcn.00464b98
mov eax, dword [ebp - 0x48]
call fcn.00403820
mov edx, dword [ebp - 0x10]
mov eax, 0x468310
call fcn.00404c28
test eax, eax
jle 0x467377
lea eax, [ebp - 0x10]
mov ecx, 5
mov edx, 1
call fcn.00404b84
mov eax, dword [ebp - 0x10]
push eax
push 0
mov al, byte [ebp + 0x38]
xor al, 1
push eax
mov eax, dword [ebp + 0x3c]
mov al, byte [eax + 0x58]
push eax
mov eax, dword [ebp + 0x3c]
push dword [eax + 0x44]
push dword [eax + 0x40]
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x88]
mov eax, edi
call fcn.00464c98
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0xb8]
mov dword [eax - 0xc0], edx
mov edx, dword [ebp - 0xb4]
mov dword [eax - 0xbc], edx
push 0x60
push 0x58
mov eax, edi
call fcn.0042a86c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xc0]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xc0], eax
push 0x60
push 0x5a
mov eax, edi
call fcn.0042a86c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xbc]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xbc], eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468320
call fcn.00404c28
test eax, eax
jle 0x467443
lea eax, [ebp - 0x10]
mov ecx, 5
mov edx, 1
call fcn.00404b84
mov eax, dword [ebp - 0x10]
push eax
push 1
mov al, byte [ebp + 0x38]
xor al, 1
push eax
mov eax, dword [ebp + 0x3c]
mov al, byte [eax + 0x58]
push eax
mov eax, dword [ebp + 0x3c]
push dword [eax + 0x44]
push dword [eax + 0x40]
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x88]
mov eax, edi
call fcn.00464c98
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0xb8]
mov dword [eax - 0xc0], edx
mov edx, dword [ebp - 0xb4]
mov dword [eax - 0xbc], edx
push 0x60
push 0x58
mov eax, edi
call fcn.0042a86c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xc0]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xc0], eax
push 0x60
push 0x5a
mov eax, edi
call fcn.0042a86c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xbc]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xbc], eax
xor eax, eax
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x10]
mov eax, 0x46827c
call fcn.00404c28
test eax, eax
jne 0x467473
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 8], 0
je 0x467473
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x10]
call fcn.004640ac
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468288
call fcn.00404c28
test eax, eax
jle 0x4674d0
mov eax, dword [ebp + 0x3c]
cmp dword [eax + 0xc], 0
je 0x4674d0
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00463e68
test eax, eax
jne 0x4674bf
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0xc]
call fcn.00463e20
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x45], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x68]
call fcn.004639f4
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00463e68
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x46766b
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x46766b
cmp byte [ebp + 0x38], 0
jne 0x4675c3
cmp dword [ebp - 0x50], 0
jle 0x467540
cmp dword [ebp - 0x54], 0
jle 0x467540
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x88]
add ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x88]
call fcn.0041c78c
lea edx, [ebp - 0x98]
mov ecx, dword [ebp - 0x44]
mov eax, edi
call fcn.0042a64c
jmp 0x4675c3
mov eax, dword [ebp - 0x44]
call fcn.00463b54
dec eax
jle 0x46759e
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0xac]
mov eax, dword [edi + 0x10]
call fcn.00429e4c
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0xac]
mov eax, dword [edi + 0x14]
call fcn.0042a12c
mov eax, dword [ebp - 0x44]
call fcn.00463d64
add eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x44]
call fcn.00463d24
add eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x88]
mov eax, edi
call fcn.0042a604
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax + 0x5a]
add ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x44]
movzx edx, word [eax + 0x58]
add edx, dword [ebp - 0x88]
mov eax, edi
call fcn.0042a424
cmp dword [ebp - 0x50], 0
jle 0x467619
cmp dword [ebp - 0x54], 0
jle 0x467619
push 0x60
push 0x58
mov eax, edi
call fcn.0042a86c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xc0], eax
push 0x60
push 0x5a
mov eax, edi
call fcn.0042a86c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xbc], eax
jmp 0x46766b
push 0x60
push 0x58
mov eax, edi
call fcn.0042a86c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp - 0x44]
call fcn.00463d64
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xc0], eax
push 0x60
push 0x5a
mov eax, edi
call fcn.0042a86c
push eax
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebp - 0x44]
call fcn.00463d24
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xbc], eax
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp - 0x78]
mov edx, dword [ebp + 0x34]
cmp eax, dword [edx]
jle 0x4676e1
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov edx, dword [ebp + 0x3c]
add eax, dword [edx - 0xc0]
mov edx, dword [ebp + 0x18]
sub edx, dword [ebp - 0x78]
cmp eax, edx
jle 0x4676e1
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x84]
jle 0x4676e1
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xbc]
add eax, dword [ebp - 0x84]
cmp eax, dword [ebp + 0x14]
jle 0x4676e1
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x55], 0
je 0x4676e1
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx - 0x5c]
call fcn.00404688
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xb4]
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xb8], eax
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x58], 0
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov edx, dword [ebp + 0x3c]
add eax, dword [edx - 0xc0]
mov edx, dword [ebp - 0x70]
sub edx, dword [ebp - 0x78]
cmp eax, edx
jle 0x467717
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x78]
mov edx, dword [ebp + 0x3c]
cmp eax, dword [edx - 0xc0]
jle 0x467717
mov byte [ebp - 0x1e], 1
jmp 0x467752
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xc0]
mov edx, dword [ebp + 0x34]
add dword [edx], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xc0]
add dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xbc]
mov edx, dword [ebp + 0x30]
cmp eax, dword [edx]
jle 0x467752
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xbc]
mov edx, dword [ebp + 0x30]
mov dword [edx], eax
mov edx, dword [ebp - 0xc]
mov eax, 0x468330
call fcn.00404c28
test eax, eax
jle case.0x466683.65
mov edx, dword [ebp - 0xc]
mov eax, 0x468340
call fcn.00404c28
test eax, eax
jle 0x467795
mov edx, 0x468238
mov eax, edi
call fcn.0042a6e8
mov edx, dword [ebp + 0x30]
mov edx, dword [edx]
sub edx, eax
mov eax, dword [ebp + 0x24]
mov dword [eax], edx
jmp case.0x466683.65
mov edx, dword [ebp - 0xc]
mov eax, 0x468350
call fcn.00404c28
test eax, eax
jle case.0x466683.65
mov edx, 0x468238
mov eax, edi
call fcn.0042a6e8
mov edx, dword [ebp + 0x30]
mov edx, dword [edx]
sub edx, eax
shr edx, 1
mov eax, dword [ebp + 0x24]
mov dword [eax], edx
jmp case.0x466683.65
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xa4]
shl eax, 2
lea eax, [eax + eax*2]
mov edx, dword [ebp + 0x34]
add dword [edx], eax
cmp byte [ebp - 0x1f], 0
je 0x4677e9
mov byte [ebp - 0x1e], 1
jmp 0x4677ed
mov byte [ebp - 0x1f], 1
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0xa4]
dec eax
shl eax, 2
lea eax, [eax + eax*2]
add dword [ebp - 0x88], eax
cmp byte [ebp + 0x38], 0
jne 0x467874
lea edx, [ebp - 0x10]
mov eax, dword [edi + 0xc]
call fcn.00429b70
mov eax, dword [edi + 0xc]
mov edx, 0x468360
call fcn.00429b88
mov eax, dword [ebp + 0x3c]
test byte [eax - 0xa4], 1
je 0x46784c
push 0
lea eax, [ebp - 0x88]
push eax
push 1
push 0x468368
mov eax, edi
call fcn.0042a86c
push eax
call sub.user32.dll_DrawTextA
jmp 0x467869
push 0
lea eax, [ebp - 0x88]
push eax
push 1
push 0x46836c
mov eax, edi
call fcn.0042a86c
push eax
call sub.user32.dll_DrawTextA
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00429b88
add dword [ebp - 0x88], 0xc
jmp case.0x466683.65
mov eax, dword [ebx]
cmp byte [eax + 2], 0x3e
je 0x467896
mov eax, dword [ebp + 0x3c]
inc dword [eax - 0xa4]
jmp case.0x466683.65
mov eax, dword [edi + 0xc]
call fcn.00429c20
mov edx, eax
or dl, byte [0x46822c]
mov eax, dword [edi + 0xc]
call fcn.00429c2c
jmp case.0x466683.65
lea ecx, [ebp - 0x38]
mov edx, dword [ebx]
mov eax, 0x468218
call fcn.00465980
test eax, eax
jle case.0x466683.65
lea eax, [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0x38]
dec ecx
mov eax, dword [ebx]
mov edx, 3
call fcn.00404b44
mov eax, dword [ebp - 0xbc]
lea edx, [ebp - 0xc]
call fcn.004089b0
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x468330
call fcn.00465980
test eax, eax
jle 0x4679af
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004048ec
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 5
mov eax, dword [ebp - 0xc]
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404b44
mov edx, dword [ebp - 0x10]
mov eax, 0x468378
call fcn.00404c28
test eax, eax
jle 0x467981
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
mov edx, dword [ebp - 0x10]
mov eax, 0x468388
call fcn.00404c28
test eax, eax
jle 0x467998
mov eax, dword [ebp + 0x20]
mov byte [eax], 0
mov edx, dword [ebp - 0x10]
mov eax, 0x468398
call fcn.00404c28
test eax, eax
jle 0x4679af
mov eax, dword [ebp + 0x20]
mov byte [eax], 2
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x4683a8
call fcn.00465980
test eax, eax
jle 0x467a33
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004048ec
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 6
mov eax, dword [ebp - 0xc]
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404b44
mov eax, dword [ebp - 0x10]
call fcn.0046579c
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x468294
call fcn.00465980
test eax, eax
jle case.0x466683.65
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004048ec
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 5
mov eax, dword [ebp - 0xc]
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404b44
mov dword [ebp - 0x4c], 0x1fffffff
mov eax, dword [ebp - 0x10]
call fcn.004048ec
test eax, eax
jle 0x467af2
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0x23
jne 0x467ad6
mov eax, dword [ebp - 0x10]
call fcn.00465660
mov dword [ebp - 0x4c], eax
jmp 0x467af2
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 0x10]
call fcn.00408b24
mov eax, dword [ebp - 0xc0]
call fcn.00464e88
mov dword [ebp - 0x4c], eax
cmp byte [ebp + 0x38], 0
jne case.0x466683.65
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x35], 1
mov eax, dword [edi + 0x14]
call fcn.0042a124
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0xa0], eax
mov eax, dword [edi + 0x14]
call fcn.0042a240
cmp al, 1
jne 0x467b2d
mov eax, dword [ebp + 0x3c]
mov dword [eax - 0xa0], 0x1fffffff
mov eax, dword [edi + 0x14]
mov edx, dword [ebp - 0x4c]
call fcn.0042a12c
mov eax, dword [edi + 0x10]
call fcn.00429e44
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x3c], eax
mov eax, dword [edi + 0x10]
mov edx, dword [ebp - 0x4c]
call fcn.00429e4c
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x44]
push eax
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax - 0x4c]
mov ecx, dword [ebp - 0x74]
mov eax, edi
call fcn.0042a604
jmp case.0x466683.65
lea ecx, [ebp - 0x38]
mov edx, dword [ebx]
mov eax, 0x468218
call fcn.00465980
test eax, eax
jle case.0x466683.65
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x38]
sub ecx, 6
mov eax, dword [ebx]
mov edx, 6
call fcn.00404b44
mov eax, dword [ebp - 0xc4]
lea edx, [ebp - 0xc]
call fcn.004089b0
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x4683b8
call fcn.00465980
test eax, eax
jle 0x467c31
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004048ec
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 4
mov eax, dword [ebp - 0xc]
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404b44
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00429b88
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x4683c8
call fcn.00465980
test eax, eax
jle 0x467d04
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x54], 0
jne 0x467d04
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004048ec
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 6
mov eax, dword [ebp - 0xc]
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404b44
mov eax, dword [ebp - 0x10]
call fcn.004048ec
test eax, eax
jle 0x467d04
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0x23
jne 0x467ce1
mov eax, dword [ebp - 0x10]
call fcn.00465660
mov edx, eax
mov eax, dword [edi + 0xc]
call fcn.00429960
jmp 0x467d04
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 0x10]
call fcn.00408b24
mov eax, dword [ebp - 0xc8]
call fcn.00464e88
mov edx, eax
mov eax, dword [edi + 0xc]
call fcn.00429960
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x468294
call fcn.00465980
test eax, eax
jle 0x467e0b
cmp byte [ebp + 0x38], 0
jne 0x467e0b
mov eax, dword [ebp + 0x3c]
cmp byte [eax + 0x54], 0
jne 0x467e0b
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004048ec
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 7
mov eax, dword [ebp - 0xc]
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404b44
mov eax, dword [edi + 0x14]
call fcn.0042a124
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x94], eax
mov eax, dword [edi + 0x14]
call fcn.0042a240
cmp al, 1
jne 0x467dc0
mov eax, dword [ebp + 0x3c]
mov dword [eax - 0x94], 0x1fffffff
mov eax, dword [ebp - 0x10]
call fcn.004048ec
test eax, eax
jle 0x467e0b
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0x23
jne 0x467de8
mov eax, dword [ebp - 0x10]
call fcn.00465660
mov edx, eax
mov eax, dword [edi + 0x14]
call fcn.0042a12c
jmp 0x467e0b
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 0x10]
call fcn.00408b24
mov eax, dword [ebp - 0xcc]
call fcn.00464e88
mov edx, eax
mov eax, dword [edi + 0x14]
call fcn.0042a12c
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, 0x4683d8
call fcn.00465980
test eax, eax
jle case.0x466683.65
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004048ec
mov ecx, eax
mov edx, dword [ebp - 0x38]
add edx, 4
mov eax, dword [ebp - 0xc]
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4683e8
call fcn.00404c28
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00404b44
mov eax, dword [ebp - 0x10]
call fcn.0046579c
cmp eax, 5
ja case.0x467e98.0
jmp dword [eax*4 + 0x467e9f]
mov eax, dword [edi + 0xc]
mov edx, 8
call fcn.00429c00
jmp case.0x466683.65
mov eax, dword [edi + 0xc]
mov edx, 0xa
call fcn.00429c00
jmp case.0x466683.65
mov eax, dword [edi + 0xc]
mov edx, 0xc
call fcn.00429c00
jmp case.0x466683.65
mov eax, dword [edi + 0xc]
mov edx, 0xe
call fcn.00429c00
jmp case.0x466683.65
mov eax, dword [edi + 0xc]
mov edx, 0x10
call fcn.00429c00
jmp case.0x466683.65
mov eax, dword [ebp - 0x10]
call fcn.0046579c
mov edx, eax
mov eax, dword [edi + 0xc]
call fcn.00429c00
jmp case.0x466683.65
mov eax, dword [ebx]
mov al, byte [eax + 2]
call fcn.00402c00
cmp al, 0x3e
jne 0x467f53
mov eax, dword [edi + 0xc]
call fcn.00429c20
mov edx, eax
or dl, byte [0x468240]
mov eax, dword [edi + 0xc]
call fcn.00429c2c
jmp case.0x466683.65
cmp al, 0x48
jne 0x467f63
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x50], 1
jmp case.0x466683.65
mov edx, dword [ebx]
mov eax, 0x4683f4
call fcn.00465718
dec eax
jne 0x467f7e
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x4d], 1
jmp case.0x466683.65
mov edx, dword [ebx]
mov eax, 0x468404
call fcn.00465718
dec eax
jne case.0x466683.65
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x4e], 1
jmp case.0x466683.65
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebx]
mov eax, 0x468218
call fcn.00404c28
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 3
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x468414
call fcn.00465718
add eax, 2
push eax
mov eax, dword [ebp - 0xc]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.004048ec
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00404b44
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x468250
call fcn.00404c28
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404b44
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.00403138
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x3c]
push eax
mov edx, dword [ebp - 0x28]
mov eax, edi
call fcn.00465aa4
pop ecx
jmp case.0x466683.65
mov eax, dword [ebp + 0x3c]
mov byte [eax - 0x4f], 1
lea ecx, [ebp - 0x38]
mov edx, dword [ebx]
mov eax, 0x468218
call fcn.00465980
test eax, eax
jle 0x46809f
cmp byte [ebp - 0x1e], 0
jne 0x46809f
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x38]
mov edx, 1
call fcn.00404b44
mov edx, dword [ebp - 0xd0]
lea eax, [ebp - 8]
call fcn.004048f4
mov eax, ebx
mov ecx, dword [ebp - 0x38]
mov edx, 1
call fcn.00404b84
jmp 0x4680ba
cmp byte [ebp - 0x1e], 0
jne 0x4680ba
mov eax, dword [ebx]
call fcn.004048ec
mov ecx, eax
mov eax, ebx
mov edx, 1
call fcn.00404b84
mov eax, dword [ebx]
call fcn.004048ec
test eax, eax
jle 0x4680d5
cmp byte [ebp - 0x1d], 0
jne 0x4680d5
cmp byte [ebp - 0x1e], 0
je 0x465bfa
mov eax, dword [ebp + 0x34]
mov edx, dword [ebp - 0x24]
sub dword [eax], edx
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + 0x20]
cmp eax, dword [edx]
jle 0x4680f9
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + 0x20]
mov dword [edx], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + 0x18]
mov edx, dword [edx]
dec edx
cmp eax, edx
jne 0x468169
mov eax, dword [ebp + 0x3c]
cmp byte [eax - 0x55], 0
je 0x468169
cmp byte [ebp + 0x38], 0
jne 0x468169
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0x88]
mov dword [eax - 0x2c], edx
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp - 0x7c]
mov dword [eax - 0x28], edx
push 0
push 1
mov eax, dword [ebp + 0x3c]
add eax, 0xffffffcc
push eax
call sub.user32.dll_InflateRect
cmp byte [ebp + 0x38], 0
jne 0x468153
mov eax, dword [ebp + 0x3c]
lea edx, [eax - 0x34]
mov eax, edi
call fcn.0042a4d0
mov eax, dword [ebp - 0x78]
inc eax
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x34], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax - 0x28]
mov edx, dword [ebp + 0x3c]
mov dword [edx - 0x30], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.00404688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4681cc
lea eax, [ebp - 0xd0]
mov edx, 6
call fcn.00404658
lea eax, [ebp - 0xb0]
mov edx, 4
call fcn.00404658
lea eax, [ebp - 0xa0]
call fcn.00404634
lea eax, [ebp - 0x9c]
call fcn.00404634
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00404658
ret