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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x8c6e30
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp - 8]
call fcn.0044ef5c
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov esi, dword [eax + 4]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x46], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x5c]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, dword [ebp - 0x5c]
sub eax, dword [edx + 0x10]
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x50]
mov dword [eax + 0x24], edx
cmp dword [ebp - 0x60], 0
jle 0x8c6db0
mov dword [ebp - 0xc], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c54bc
adc edx, 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x58]
call fcn.008ade2c
dec eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c54e9
adc edx, 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x5c]
call fcn.008b0460
dec eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c550d
adc edx, 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x60]
call fcn.008ca338
dec eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c5531
adc edx, 0
lea ecx, [ebp - 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x58]
call fcn.008ade7c
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0x3c], 0
je 0x8c56b6
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x38], 0
je 0x8c56b6
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x8c56b6
inc eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x3c]
call fcn.0044ef5c
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c559e
adc edx, 0
cmp edx, dword [ebx + 4]
jne 0x8c55e3
mov eax, dword [ebp + 8]
lea edx, [eax - 4]
mov eax, dword [ebp - 0x44]
call fcn.008add44
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
sub edx, eax
sub edx, dword [ebp - 0x64]
mov eax, dword [ebp + 8]
add edx, dword [eax - 4]
inc edx
mov dword [ebx + 0x14], edx
mov eax, dword [ebp - 0x50]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
sub eax, dword [ebp - 0x64]
mov edx, dword [ebp + 8]
add eax, dword [edx - 4]
mov dword [ebx + 0x1c], eax
jmp 0x8c56aa
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c55f5
adc edx, 0
cmp edx, dword [ebx + 8]
jne 0x8c560b
cmp dword [ebx + 0x18], 0
jne 0x8c560b
mov eax, dword [ebp - 0x50]
mov dword [ebx + 0x18], eax
jmp 0x8c56aa
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c561d
adc edx, 0
cmp edx, dword [ebx + 4]
jle 0x8c56aa
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c5638
adc edx, 0
cmp edx, dword [ebx + 8]
jge 0x8c56aa
mov eax, dword [ebp + 8]
lea edx, [eax - 4]
mov eax, dword [ebp - 0x44]
call fcn.008add44
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
sub edx, eax
sub edx, dword [ebp - 0x64]
mov eax, dword [ebp + 8]
add edx, dword [eax - 4]
inc edx
mov dword [ebp - 0x6c], edx
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebp - 0x6c]
jge 0x8c5670
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x70], eax
jmp 0x8c5676
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
sub eax, dword [ebp - 0x64]
mov edx, dword [ebp + 8]
add eax, dword [edx - 4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x1c]
cmp eax, dword [ebp - 0x74]
jle 0x8c569e
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x78], eax
jmp 0x8c56a4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebx + 0x1c], eax
inc dword [ebp - 0x3c]
dec dword [ebp - 0x68]
jne 0x8c557c
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x20]
call fcn.00871e40
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x7c], eax
call fcn.00517548
test al, al
je 0x8c56f1
call fcn.0051752c
mov edx, dword [ebp - 0x7c]
call fcn.00512e3c
mov dword [ebp - 0x80], eax
jmp 0x8c56f7
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
call fcn.0047c878
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x80]
call fcn.0047cef8
cmp dword [ebp - 0x18], 0xffffffff
jne 0x8c5e42
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c572f
adc edx, 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x5c]
call fcn.008b038c
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov edx, dword [0x8a1cb4]
call fcn.004076a4
test al, al
je 0x8c5ae8
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax + 0x10]
add al, 0xfb
sub al, 2
jae 0x8c5825
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x40]
add eax, dword [edx + 0x14]
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
sub eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x178]
mov edx, dword [ebp - 0x40]
call fcn.008c8d1c
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0x3c], 0
je 0x8c6d99
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x38], 0
je 0x8c6d99
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x8c6d99
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x3c]
call fcn.0044ef5c
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c57fb
adc edx, 0
cmp edx, dword [ebx + 4]
jne 0x8c5817
mov eax, dword [ebx + 4]
inc eax
cmp eax, dword [ebx + 8]
jne 0x8c5817
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x3c]
call fcn.0044edd8
dec dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x8c57d9
jmp 0x8c6d99
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0047ed34
push eax
call sub.gdi32.dll_SetTextJustification
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp dword [eax + 8], 0
je 0x8c585e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 8]
movzx eax, byte [eax + 0x2f4]
mov edx, dword [ebp - 0x40]
mov byte [edx + 0x64], al
jmp 0x8c5865
mov eax, dword [ebp - 0x40]
mov byte [eax + 0x64], 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
sub eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
mov eax, dword [ebp - 0x40]
call fcn.008af1b4
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0x3c], 0
je 0x8c5ac7
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x38], 0
je 0x8c5ac7
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x8c5ac7
inc eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x3c]
call fcn.0044ef5c
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c58ea
adc edx, 0
cmp edx, dword [ebx + 4]
jl 0x8c5abb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c5905
adc edx, 0
cmp edx, dword [ebx + 8]
jg 0x8c5abb
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax + 0x11]
sub al, 2
jb 0x8c5929
je 0x8c595e
dec eax
sub al, 2
jb 0x8c59de
jmp 0x8c5a0a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, dword [ebp - 0x5c]
sub eax, dword [edx + 0x10]
mov edx, dword [ebp - 0x40]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, dword [ebp - 0x5c]
sub eax, dword [edx + 0x10]
mov edx, dword [ebp - 0x40]
add eax, dword [edx + 8]
mov edx, dword [ebp - 0x40]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x30], eax
jmp 0x8c5a14
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
sub eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x44]
add eax, dword [edx + 0x38]
mov edx, dword [ebp - 0x44]
mov edx, dword [edx + 0x2c]
sar edx, 1
jns 0x8c597a
adc edx, 0
sub eax, edx
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 8]
mov ecx, dword [ebp - 0x40]
sub edx, dword [ecx + 0x20]
mov ecx, dword [ebp - 0x40]
add edx, dword [ecx + 0x24]
sar edx, 1
jns 0x8c5995
adc edx, 0
sub eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
sub eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x44]
add eax, dword [edx + 0x38]
mov edx, dword [ebp - 0x44]
mov edx, dword [edx + 0x2c]
sar edx, 1
jns 0x8c59b6
adc edx, 0
sub eax, edx
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 8]
mov ecx, dword [ebp - 0x40]
sub edx, dword [ecx + 0x20]
mov ecx, dword [ebp - 0x40]
add edx, dword [ecx + 0x24]
sar edx, 1
jns 0x8c59d1
adc edx, 0
sub eax, edx
mov edx, dword [ebp - 0x40]
add eax, dword [edx + 8]
mov dword [ebp - 0x30], eax
jmp 0x8c5a14
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
sub eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x40]
sub eax, dword [edx + 8]
mov edx, dword [ebp - 0x40]
sub eax, dword [edx + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
sub eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x40]
sub eax, dword [edx + 0x24]
mov dword [ebp - 0x30], eax
jmp 0x8c5a14
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c5a26
adc edx, 0
cmp edx, dword [ebx + 4]
jne 0x8c5a5a
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0x50]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 4]
inc eax
cmp eax, dword [ebx + 8]
jne 0x8c5a52
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
add eax, dword [ebx + 0x10]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x1c], eax
jmp 0x8c5abb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c5a6c
adc edx, 0
cmp edx, dword [ebx + 8]
je 0x8c5abb
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebp - 0x2c]
jge 0x8c5a84
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x84], eax
jmp 0x8c5a8d
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x1c]
cmp eax, dword [ebp - 0x30]
jle 0x8c5aa9
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x88], eax
jmp 0x8c5ab2
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebx + 0x1c], eax
inc dword [ebp - 0x3c]
dec dword [ebp - 0x68]
jne 0x8c58c8
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x40]
add eax, dword [edx + 0x18]
mov edx, dword [ebp - 0x40]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x46], 1
jmp 0x8c6d99
mov eax, dword [ebp - 0x40]
mov byte [eax + 0x5d], 1
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax + 0x10]
add al, 0xfb
sub al, 2
jae 0x8c5b9d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x40]
add eax, dword [edx + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0x3c], 0
je 0x8c5dc8
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x38], 0
je 0x8c5dc8
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x8c5dc8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x3c]
call fcn.0044ef5c
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c5b73
adc edx, 0
cmp edx, dword [ebx + 4]
jne 0x8c5b8f
mov eax, dword [ebx + 4]
inc eax
cmp eax, dword [ebx + 8]
jne 0x8c5b8f
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x3c]
call fcn.0044edd8
dec dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x8c5b51
jmp 0x8c5dc8
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax + 0x11]
sub al, 2
jb 0x8c5bbd
je 0x8c5bda
dec eax
sub al, 2
jb 0x8c5c15
jmp 0x8c5c35
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0x1c]
mov edx, dword [ebp - 0x5c]
sub eax, dword [edx + 0x10]
mov edx, dword [ebp - 0x40]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x2c], eax
jmp 0x8c5c3a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0x1c]
mov edx, dword [ebp - 0x44]
mov edx, dword [edx + 0x2c]
sar edx, 1
jns 0x8c5bf3
adc edx, 0
sub eax, edx
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 8]
mov ecx, dword [ebp - 0x40]
sub edx, dword [ecx + 0x20]
mov ecx, dword [ebp - 0x40]
add edx, dword [ecx + 0x24]
sar edx, 1
jns 0x8c5c0e
adc edx, 0
sub eax, edx
mov dword [ebp - 0x2c], eax
jmp 0x8c5c3a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0x1c]
mov edx, dword [ebp - 0x40]
sub eax, dword [edx + 8]
sub eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x40]
sub eax, dword [edx + 0x24]
mov dword [ebp - 0x2c], eax
jmp 0x8c5c3a
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0x3c], 0
je 0x8c5daf
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x38], 0
je 0x8c5daf
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x8c5daf
inc eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x3c]
call fcn.0044ef5c
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c5c93
adc edx, 0
cmp edx, dword [ebx + 4]
jl 0x8c5da3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c5cae
adc edx, 0
cmp edx, dword [ebx + 8]
jg 0x8c5da3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c5cc9
adc edx, 0
cmp edx, dword [ebx + 4]
jne 0x8c5d12
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
add eax, dword [ebp - 0x2c]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0x50]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 4]
inc eax
cmp eax, dword [ebx + 8]
jne 0x8c5cfb
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
add eax, dword [ebx + 0x10]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
add eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x40]
add eax, dword [edx + 8]
mov dword [ebx + 0x1c], eax
jmp 0x8c5da3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c5d24
adc edx, 0
cmp edx, dword [ebx + 8]
je 0x8c5da3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebp - 0x8c]
jge 0x8c5d4e
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x90], eax
jmp 0x8c5d5a
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
add eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x40]
add eax, dword [edx + 8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebx + 0x1c]
cmp eax, dword [ebp - 0x94]
jle 0x8c5d8e
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x98], eax
jmp 0x8c5d9a
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebx + 0x1c], eax
inc dword [ebp - 0x3c]
dec dword [ebp - 0x68]
jne 0x8c5c71
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x40]
add eax, dword [edx + 0x18]
mov edx, dword [ebp - 0x40]
add eax, dword [edx + 0x1c]
add dword [ebp - 0x50], eax
mov byte [ebp - 0x46], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 4]
cmp byte [eax + 0x198], 0
je 0x8c5df1
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x40]
call fcn.008c84bc
jmp 0x8c5e34
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x60]
mov edx, dword [ebp - 0x2c]
call fcn.004a3fd4
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x60]
mov edx, dword [ebp - 0x34]
call fcn.004a3fa0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x60]
cmp byte [eax + 0x298], 0
je 0x8c5e29
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x60]
call fcn.004a502c
jmp 0x8c5e34
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x60]
call fcn.004a5024
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x34]
mov dword [eax + 0x44], edx
jmp 0x8c6d99
cmp dword [ebp - 0x20], 0xffffffff
jne 0x8c63ad
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c5e5e
adc edx, 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x60]
call fcn.008ca2b0
mov edx, dword [ebp + 8]
mov dword [edx - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0x24]
test al, al
jne 0x8c6d99
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov byte [eax + 0x60], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
movzx eax, byte [eax + 0x34]
dec al
je 0x8c5eae
dec al
je 0x8c5ecb
dec al
je 0x8c5ef6
dec al
je 0x8c5f20
jmp 0x8c5f47
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
add eax, dword [edx + 0x40]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0x1c]
mov dword [ebp - 0x2c], eax
jmp 0x8c5f50
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, dword [ebp - 0x5c]
add eax, dword [edx + 0x10]
sar eax, 1
jns 0x8c5ee3
adc eax, 0
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
sub edx, eax
mov eax, dword [ebp + 8]
sub edx, dword [eax - 0x1c]
mov dword [ebp - 0x2c], edx
jmp 0x8c5f50
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
sub edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
sub edx, dword [eax + 0x44]
sub edx, dword [ebp - 0x64]
mov eax, dword [ebp + 8]
sub edx, dword [eax - 0x1c]
mov dword [ebp - 0x2c], edx
jmp 0x8c5f50
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
sub edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
sub edx, dword [eax + 0x44]
mov eax, dword [ebp + 8]
sub edx, dword [eax - 0x1c]
mov dword [ebp - 0x2c], edx
jmp 0x8c5f50
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [0x8a6858]
call fcn.004076a4
test al, al
je 0x8c5f6b
add dword [ebp - 0x2c], 2
jmp 0x8c5f83
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [0x8a6dcc]
call fcn.004076a4
test al, al
je 0x8c5f83
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0x3c], 0
je 0x8c6112
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x38], 0
je 0x8c6112
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x8c6112
inc eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x3c]
call fcn.0044ef5c
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c5fdc
adc edx, 0
cmp edx, dword [ebx + 4]
jl 0x8c6106
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c5ff7
adc edx, 0
cmp edx, dword [ebx + 8]
jg 0x8c6106
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c6012
adc edx, 0
cmp edx, dword [ebx + 4]
jne 0x8c606a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
add eax, dword [ebp - 0x2c]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov eax, dword [eax + 0x38]
add eax, dword [ebp - 0x50]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 4]
inc eax
cmp eax, dword [ebx + 8]
jne 0x8c604c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [ebx + 0x10]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x1c]
add edx, dword [ebp - 0x2c]
add eax, edx
mov dword [ebx + 0x1c], eax
jmp 0x8c6106
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c607c
adc edx, 0
cmp edx, dword [ebx + 8]
je 0x8c6106
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebp - 0x9c]
jge 0x8c60aa
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0xa0], eax
jmp 0x8c60b6
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x1c]
add edx, dword [ebp - 0x2c]
add eax, edx
mov dword [ebp - 0xa4], eax
mov eax, dword [ebx + 0x1c]
cmp eax, dword [ebp - 0xa4]
jle 0x8c60f1
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xa8], eax
jmp 0x8c60fd
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebx + 0x1c], eax
inc dword [ebp - 0x3c]
dec dword [ebp - 0x68]
jne 0x8c5fba
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 4]
cmp byte [eax + 0x198], 0
je 0x8c614a
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov ecx, dword [eax + 0x38]
add ecx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
jmp 0x8c6384
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0x68]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax + 0x38]
add edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [0x8a6858]
call fcn.004076a4
test al, al
je 0x8c61dc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0x68]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov eax, dword [eax + 0x7c]
cmp byte [eax + 0x28], 0
je 0x8c61c2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov eax, dword [eax + 0x7c]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
call fcn.008b308c
jmp 0x8c61dc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0xc8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
call fcn.008b308c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp byte [eax + 8], 0
je 0x8c6384
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [0x8a6858]
call fcn.004076a4
test al, al
jne 0x8c621a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [0x8a6dcc]
call fcn.004076a4
test al, al
je 0x8c6384
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0xffffff
call fcn.0047da98
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x78]
mov edx, dword [eax]
call dword [edx + 0x110]
test al, al
je 0x8c6384
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [0x8a6858]
call fcn.004076a4
test al, al
je 0x8c632a
mov eax, dword [0xa40a94]
mov eax, dword [eax]
cmp dword [eax + 0x48], 0x64
jle 0x8c62ce
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0x1c]
add eax, 0x12
push eax
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0x10]
add eax, 0x12
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0x1c]
sub eax, 2
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0x10]
sub eax, 2
pop edx
pop ecx
call fcn.0040efac
lea edx, [ebp - 0x110]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
jmp 0x8c6384
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0x1c]
add eax, 0x10
push eax
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0x10]
add eax, 0x10
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0x1c]
sub eax, 2
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0x10]
sub eax, 3
pop edx
pop ecx
call fcn.0040efac
lea edx, [ebp - 0x110]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
jmp 0x8c6384
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0x1c]
add eax, 0x10
push eax
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0x10]
add eax, 0x10
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0x1c]
sub eax, 3
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0x10]
sub eax, 3
pop edx
pop ecx
call fcn.0040efac
lea edx, [ebp - 0x110]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
add eax, dword [edx + 0x38]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
add eax, dword [edx + 0x3c]
add dword [ebp - 0x50], eax
mov byte [ebp - 0x46], 1
jmp 0x8c6d99
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jge 0x8c63c0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xac], eax
jmp 0x8c63c9
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jge 0x8c63e5
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xb0], eax
jmp 0x8c63ee
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x10], eax
push ebp
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.008c5340
pop ecx
mov byte [ebp - 0x45], al
mov eax, dword [ebp - 0x1c]
dec eax
cmp eax, dword [ebp - 0x10]
jle 0x8c641a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xb4], eax
jmp 0x8c6424
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
inc eax
cmp eax, dword [ebp - 0x60]
jle 0x8c6441
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xb8], eax
jmp 0x8c644b
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc], eax
cmp byte [ebp - 0x45], 0
je 0x8c6585
push 2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0047ed34
push eax
call sub.gdi32.dll_SetBkMode
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x40]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x48]
call fcn.0047da98
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x48]
xor edx, edx
call fcn.0047dc18
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x20]
cmp dword [eax + 0x28], 0x1fffffff
jne 0x8c651f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xbc], eax
call fcn.00517548
test al, al
je 0x8c64dd
call fcn.0051752c
mov edx, dword [ebp - 0xbc]
call fcn.00512e3c
mov dword [ebp - 0xc0], eax
jmp 0x8c64e9
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
call fcn.0047c878
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
xor edx, 0xffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x40]
call fcn.0047cef8
jmp 0x8c6640
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0xc4], eax
call fcn.00517548
test al, al
je 0x8c654f
call fcn.0051752c
mov edx, dword [ebp - 0xc4]
call fcn.00512e3c
mov dword [ebp - 0xc8], eax
jmp 0x8c655b
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
call fcn.0047c878
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0xc8]
call fcn.0047cef8
jmp 0x8c6640
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x20]
cmp dword [eax + 0x28], 0x1fffffff
jne 0x8c65bc
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0047ed34
push eax
call sub.gdi32.dll_SetBkMode
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x48]
mov dl, 1
call fcn.0047dc18
jmp 0x8c6640
push 2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0047ed34
push eax
call sub.gdi32.dll_SetBkMode
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x48]
xor edx, edx
call fcn.0047dc18
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0xcc], eax
call fcn.00517548
test al, al
je 0x8c660f
call fcn.0051752c
mov edx, dword [ebp - 0xcc]
call fcn.00512e3c
mov dword [ebp - 0xd0], eax
jmp 0x8c661b
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
call fcn.0047c878
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 0xd0]
call fcn.0047da98
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 4]
cmp byte [eax + 0x55], 0
je 0x8c677a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 4]
cmp byte [eax + 0x76], 0
je 0x8c66f0
push 0x18
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0047ed34
push eax
call sub.gdi32.dll_GetDeviceCaps
sub eax, 3
jae 0x8c66f0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xd4], eax
call fcn.00517548
test al, al
je 0x8c66b1
call fcn.0051752c
mov edx, dword [ebp - 0xd4]
call fcn.00512e3c
mov dword [ebp - 0xd8], eax
jmp 0x8c66bd
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
call fcn.0047c878
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffff
je 0x8c66f0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x40]
xor edx, edx
call fcn.0047cef8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 4]
cmp byte [eax + 0x74], 0
jne 0x8c677a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xdc], eax
call fcn.00517548
test al, al
je 0x8c6732
call fcn.0051752c
mov edx, dword [ebp - 0xdc]
call fcn.00512e3c
mov dword [ebp - 0xe0], eax
jmp 0x8c673e
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
call fcn.0047c878
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
and eax, 0xe0e0
cmp eax, 0xe0e0
jne 0x8c677a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x40]
mov edx, 0x2a0a0a0
call fcn.0047cef8
push 0x18
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0047ed34
push eax
call sub.gdi32.dll_SetTextAlign
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x3c], 0
jne 0x8c679d
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x8c67cc
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x3c], 9
jne 0x8c67bb
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x28]
mov ecx, 3
cdq
idiv ecx
neg eax
mov dword [ebp - 0x28], eax
jmp 0x8c67cc
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
sar eax, 1
jns 0x8c67c8
adc eax, 0
inc eax
mov dword [ebp - 0x28], eax
cmp byte [ebp - 0x46], 0
jne 0x8c67dc
cmp dword [ebp - 0x28], 0
jne 0x8c67dc
xor eax, eax
jmp 0x8c67de
mov al, 1
mov byte [ebp - 0x46], al
cmp byte [ebp - 0x46], 0
je 0x8c6804
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
sub eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0x1c]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x28], 0
setne byte [ebp - 0x46]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 4]
cmp byte [eax + 0x199], 0
jne 0x8c6b8c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0xc]
test eax, eax
jg 0x8c6846
mov eax, dword [ebp - 0xc]
add eax, eax
add eax, esi
sub eax, 2
movzx eax, word [eax]
sub ax, 8
je 0x8c6843
sub ax, 0x18
jne 0x8c6846
dec dword [ebp - 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [0x8acc9c]
call fcn.004076a4
test al, al
je 0x8c6908
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 8]
cmp byte [eax + 0x2fa], 0
jne 0x8c6908
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0x1c]
inc eax
push eax
lea eax, [ebp - 0x100]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
add ecx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x14]
mov eax, dword [ebp - 0x5c]
sub edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x5c]
sub edx, dword [eax + 8]
mov eax, dword [ebp + 8]
sub edx, dword [eax - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 4]
call fcn.0040efac
push 0
mov eax, dword [ebp - 0x38]
push eax
push esi
lea eax, [ebp - 0x100]
push eax
push 4
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0047ed34
push eax
call sub.gdi32.dll_ExtTextOutW
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0047ed34
mov ecx, dword [ebp - 0x38]
mov edx, esi
call fcn.00896b4c
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
jmp 0x8c6aea
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x30], 0
jne 0x8c6928
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0047ed34
push eax
call sub.gdi32.dll_SetTextJustification
jmp 0x8c6947
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0047ed34
push eax
call sub.gdi32.dll_SetTextJustification
mov eax, dword [0xa4042c]
cmp byte [eax], 0
jne 0x8c6a6e
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0xc]
test eax, eax
jg 0x8c6a33
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0x44], 0
je 0x8c6a33
lea ecx, [ebp - 4]
mov edx, dword [ebp - 0x38]
mov eax, esi
call fcn.008c52f8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0047ed34
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
je 0x8c69b3
mov eax, dword [ebp - 0xe4]
sub eax, 4
mov eax, dword [eax]
shr eax, 1
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
push eax
mov eax, dword [ebp - 4]
call fcn.00409e4c
push eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0xe8]
push eax
call sub.gdi32.dll_TextOutW
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0047ed34
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
je 0x8c6a0d
mov eax, dword [ebp - 0xec]
sub eax, 4
mov eax, dword [eax]
shr eax, 1
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 4]
call fcn.00409e4c
mov edx, eax
mov ecx, dword [ebp - 0xec]
mov eax, dword [ebp - 0xf0]
call fcn.00896b4c
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
jmp 0x8c6aea
mov eax, dword [ebp - 0x38]
push eax
push esi
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0047ed34
push eax
call sub.gdi32.dll_TextOutW
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0047ed34
mov ecx, dword [ebp - 0x38]
mov edx, esi
call fcn.00896b4c
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
jmp 0x8c6aea
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0047ed34
mov ecx, dword [ebp - 0x38]
mov edx, esi
call fcn.00896b4c
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0x1c]
inc eax
push eax
lea eax, [ebp - 0x100]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x14]
mov eax, dword [ebp - 0x5c]
sub edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x5c]
sub edx, dword [eax + 8]
mov eax, dword [ebp + 8]
sub edx, dword [eax - 0x1c]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x50]
call fcn.0040efac
push 0
mov eax, dword [ebp - 0x38]
push eax
push esi
lea eax, [ebp - 0x100]
push eax
push 4
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0047ed34
push eax
call sub.gdi32.dll_ExtTextOutW
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 4]
cmp byte [eax + 0x170], 0
je 0x8c6b8c
cmp byte [ebp - 0x45], 0
jne 0x8c6b8c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, esi
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x8c6b1c
adc edx, 0
mov eax, dword [ebp + 8]
cmp edx, dword [eax - 0x10]
jne 0x8c6b8c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x40]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x44]
call fcn.0047d6c4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
sub eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x44]
add eax, dword [edx + 0x38]
add eax, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0xffffff
call fcn.0047da98
mov eax, dword [ebp - 0x50]
inc eax
push eax
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x38]
sub edx, dword [eax + 0x28]
push edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x50]
mov ebx, dword [eax]
call dword [ebx + 0x7c]
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x18], 0
jne 0x8c6bd2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 4]
cmp byte [eax + 0x198], 0
je 0x8c6cbe
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 4]
cmp word [eax + 0x1b2], 0
je 0x8c6cbe
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
cmp dword [eax + 4], 0
je 0x8c6cbe
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
sub eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x44]
add eax, dword [edx + 0x38]
add eax, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x100]
push eax
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x38]
sub edx, dword [eax + 0x28]
mov ecx, dword [ebp - 0x58]
inc ecx
mov eax, dword [ebp - 0x50]
call fcn.0040efac
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x18], 0
je 0x8c6c60
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x40]
xor edx, edx
call fcn.0047cef8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0047ed34
mov edx, dword [ebp + 8]
mov dword [edx - 0x24], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x78]
mov edx, dword [eax]
call dword [edx + 0x110]
test al, al
je 0x8c6c60
lea edx, [ebp - 0x100]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 4]
cmp word [eax + 0x1b2], 0
je 0x8c6cbe
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
push eax
lea eax, [ebp - 0x100]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov ebx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x1b8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x78]
mov eax, dword [ebx + 0x1b4]
call dword [ebx + 0x1b0]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 4]
cmp byte [eax + 0x170], 0
je 0x8c6d99
cmp byte [ebp - 0x45], 0
jne 0x8c6d99
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
cmp eax, dword [edx + 0x14]
jne 0x8c6d99
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x60]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov edx, dword [edx + 4]
cmp eax, dword [edx + 0x20]
jne 0x8c6d99
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0xc]
jne 0x8c6d99
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 8]
dec eax
cmp eax, dword [ebp - 8]
jne 0x8c6d99
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x40]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x44]
call fcn.0047d6c4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
sub eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x44]
add eax, dword [edx + 0x38]
add eax, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x48]
mov edx, 0xffffff
call fcn.0047da98
mov eax, dword [ebp - 0x50]
inc eax
push eax
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x38]
sub edx, dword [eax + 0x28]
push edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x50]
mov ebx, dword [eax]
call dword [ebx + 0x7c]
mov eax, dword [ebp - 0xc]
sub dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xc]
add eax, eax
add esi, eax
cmp dword [ebp - 0x60], 0
jg 0x8c54a3
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0047ed34
push eax
call sub.gdi32.dll_SetTextJustification
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0x3c], 0
je 0x8c6e1a
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x38], 0
je 0x8c6e1a
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x8c6e1a
inc eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x3c]
call fcn.0044ef5c
mov ebx, eax
cmp byte [ebx + 0xd], 0
jne 0x8c6e0c
cmp dword [ebx + 0x18], 0
jne 0x8c6e12
mov eax, dword [ebp - 0x50]
mov dword [ebx + 0x18], eax
inc dword [ebp - 0x3c]
dec dword [ebp - 0x68]
jne 0x8c6df0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8c6e37
lea eax, [ebp - 4]
call fcn.0040916c
ret