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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x478b78]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x18]
imul eax, eax, 0xd0
lea esi, [ebx + 0x3c]
push edi
lea edi, [esp + 0x54]
mov dword [esp + 0x34], ecx
push 4
xor ecx, ecx
and dword [esp + 0x50], ecx
add esi, eax
and dword [esp + 0x44], ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x58]
push 4
movsd dword es:[edi], dword [esi]
push eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x1c], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_InflateRect]
mov esi, dword [esp + 0x14]
test byte [esi + ebx + 0x88], 8
mov eax, dword [esi + ebx + 0x4c]
mov dword [esp + 0xc], eax
je 0x4315f1
imul eax, eax, 5
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
jmp 0x4315f3
xor ecx, ecx
test byte [esi + ebx + 0x88], 0x10
mov dword [esp + 0x1c], ecx
je 0x43160d
imul eax, dword [esi + ebx + 0x4c], 5
cdq
sub eax, edx
sar eax, 1
jmp 0x43160f
xor eax, eax
mov dword [esp + 0x18], eax
test ecx, ecx
jne 0x431630
test eax, eax
jne 0x431630
and dword [esp + 0x30], ecx
and dword [esp + 0x2c], ecx
and dword [esp + 0x28], ecx
and dword [esp + 0x24], ecx
jmp 0x4316cd
mov edi, dword [esp + 0x5c]
sub edi, dword [esp + 0x54]
mov esi, dword [esp + 0x60]
sub esi, dword [esp + 0x58]
movd xmm1, edi
cvtdq2pd xmm1, xmm1
movd xmm2, esi
cvtdq2pd xmm2, xmm2
movaps xmm0, xmm1
mulsd xmm0, xmm1
movaps xmm1, xmm2
mulsd xmm1, xmm2
addsd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
movd xmm2, edi
cvtdq2pd xmm2, xmm2
movd xmm3, esi
divsd xmm2, xmm0
mov esi, dword [esp + 0x14]
cvtdq2pd xmm3, xmm3
movd xmm1, dword [esp + 0x1c]
divsd xmm3, xmm0
cvtdq2pd xmm1, xmm1
movaps xmm0, xmm1
mulsd xmm1, xmm3
mulsd xmm0, xmm2
cvttsd2si eax, xmm0
mov dword [esp + 0x30], eax
cvttsd2si eax, xmm1
movd xmm1, dword [esp + 0x18]
cvtdq2pd xmm1, xmm1
mov dword [esp + 0x2c], eax
movaps xmm0, xmm1
mulsd xmm1, xmm3
mulsd xmm0, xmm2
cvttsd2si eax, xmm0
mov dword [esp + 0x28], eax
cvttsd2si eax, xmm1
mov dword [esp + 0x24], eax
push 1
push dword [esi + ebx + 0x78]
call fcn.0046b58c
push eax
push dword [esp + 0x10]
push 0
call fcn.0046b51e
push 1
push dword [esi + ebx + 0x78]
mov dword [esp + 0x58], eax
call fcn.0046b58c
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, dword [esp + 0x38]
push edi
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + ebx + 0xa8]
sub ecx, 1
je 0x4320c8
sub ecx, 1
je 0x431ee7
sub ecx, 1
je 0x431b5b
sub ecx, 1
je 0x4317c8
cmp dword [0x47cba4], 0
jne 0x4322ad
cmp dword [0x47cba0], 0
jne 0x4322ad
push dword [esp + 0x50]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
test byte [esi + ebx + 0x88], 4
push dword [esp + 0x34]
push 3
push dword [esp + 0x14]
push dword [esi + ebx + 0x70]
push 0
je 0x432250
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x50]
push eax
push edi
call fcn.0041865f
cmp dword [esp + 0x18], 0
jne 0x4317b3
cmp dword [esp + 0x1c], 0
je 0x4322ad
push dword [esp + 0x44]
push dword [esp + 0x5c]
push dword [esp + 0x64]
push dword [esp + 0x6c]
jmp 0x432298
cmp dword [0x47cba0], 0
je 0x4317e0
mov dword [0x47cbac], 1
jmp 0x4322ad
cmp dword [0x47cba4], 0
je 0x43174e
push 0
push dword [esi + ebx + 0xb0]
call fcn.0046b58c
push eax
push dword [esp + 0x10]
push 0
call fcn.0046b51e
push 1
push dword [esi + ebx + 0xac]
mov dword [esp + 0x50], eax
call fcn.0046b58c
push eax
push dword [esp + 0x10]
push 0
call fcn.0046b51e
push 0
push dword [esi + ebx + 0xb0]
mov dword [esp + 0x18], eax
call fcn.0046b58c
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 1
push dword [esi + ebx + 0xac]
mov dword [esp + 0x54], eax
call fcn.0046b58c
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [esp + 0x48]
push ecx
push edi
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + ebx + 0xb8]
cdq
mov ecx, eax
mov eax, dword [esi + ebx + 0xb4]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
cmovg ecx, eax
xor eax, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x4319e6
push eax
push ecx
push dword [esi + ebx + 0xb8]
push edi
call fcn.0046bb2c
push dword [esp + 0x14]
mov dword [esp + 0x24], eax
push dword [esp + 0x40]
push dword [esi + ebx + 0xb4]
push edi
call fcn.0046bb2c
test byte [esi + ebx + 0x88], 4
mov edx, eax
push dword [esp + 0x34]
mov dword [esp + 0x3c], edx
push 3
push dword [esp + 0x14]
push dword [esi + ebx + 0x70]
push 0
je 0x431944
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x34]
add eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x40]
add eax, edx
push eax
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x48]
add eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x74]
add eax, edx
add eax, dword [esp + 0x50]
push eax
push edi
call fcn.0041865f
cmp dword [esp + 0x18], 0
jne 0x431928
cmp dword [esp + 0x1c], 0
je 0x4319d1
push dword [esp + 0x4c]
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x6c]
jmp 0x4319a2
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x38]
add eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x40]
add eax, edx
push eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x3c]
add eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x74]
add eax, edx
add eax, dword [esp + 0x50]
push eax
push edi
call fcn.0041865f
cmp dword [esp + 0x18], 0
jne 0x431988
cmp dword [esp + 0x1c], 0
je 0x4319d1
push dword [esp + 0x4c]
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x48]
push eax
push dword [esi + ebx + 0x88]
push dword [esp + 0x24]
push edi
call fcn.00433f79
mov edx, dword [esp + 0x48]
test edx, edx
je 0x4319d1
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x14], eax
cmp eax, ecx
jl 0x431898
mov ecx, dword [esp + 0x10]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov dword [esp + 0x14], ecx
test eax, eax
jle 0x4322ad
push ecx
push eax
push dword [esi + ebx + 0xb8]
push edi
call fcn.0046bb2c
push dword [esp + 0x14]
neg eax
push dword [esp + 0x40]
mov dword [esp + 0x28], eax
push dword [esi + ebx + 0xb4]
push edi
call fcn.0046bb2c
push dword [esp + 0x34]
mov edx, eax
push 3
push dword [esp + 0x14]
neg edx
test byte [esi + ebx + 0x88], 4
push dword [esi + ebx + 0x70]
mov dword [esp + 0x48], edx
push 0
je 0x431ab4
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x34]
add eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x40]
add eax, edx
push eax
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x48]
add eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x74]
add eax, edx
add eax, dword [esp + 0x50]
push eax
push edi
call fcn.0041865f
cmp dword [esp + 0x18], 0
jne 0x431a98
cmp dword [esp + 0x1c], 0
je 0x431b41
push dword [esp + 0x40]
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x6c]
jmp 0x431b12
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x38]
add eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x40]
add eax, edx
push eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x3c]
add eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x74]
add eax, edx
add eax, dword [esp + 0x50]
push eax
push edi
call fcn.0041865f
cmp dword [esp + 0x18], 0
jne 0x431af8
cmp dword [esp + 0x1c], 0
je 0x431b41
push dword [esp + 0x40]
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x48]
push eax
push dword [esi + ebx + 0x88]
push dword [esp + 0x24]
push edi
call fcn.00433f79
mov eax, dword [esp + 0x10]
test eax, eax
je 0x431b41
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, eax
jl 0x431a04
jmp 0x4322ad
cmp dword [0x47cba0], 0
jne 0x4317d1
cmp dword [0x47cba4], 0
je 0x43174e
push 0
push dword [esi + ebx + 0xb0]
call fcn.0046b58c
push eax
push dword [esp + 0x10]
push 0
call fcn.0046b51e
push 1
push dword [esi + ebx + 0xac]
mov dword [esp + 0x50], eax
call fcn.0046b58c
push eax
push dword [esp + 0x10]
push 0
call fcn.0046b51e
push 0
push dword [esi + ebx + 0xb0]
mov dword [esp + 0x18], eax
call fcn.0046b58c
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 1
push dword [esi + ebx + 0xac]
mov dword [esp + 0x54], eax
call fcn.0046b58c
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x431bf3
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + ebx + 0xb8]
cdq
mov ecx, eax
mov eax, dword [esi + ebx + 0xb4]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
cmovg ecx, eax
xor eax, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
test ecx, ecx
jle 0x431d72
push eax
push ecx
push dword [esi + ebx + 0xb8]
push edi
call fcn.0046bb2c
push dword [esp + 0x38]
mov dword [esp + 0x24], eax
push dword [esp + 0x40]
push dword [esi + ebx + 0xb4]
push edi
call fcn.0046bb2c
test byte [esi + ebx + 0x88], 4
mov edx, eax
push dword [esp + 0x34]
mov dword [esp + 0x18], edx
push 3
push dword [esp + 0x14]
push dword [esi + ebx + 0x70]
push 0
je 0x431cd0
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x34]
add eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x40]
add eax, edx
push eax
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x48]
add eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x74]
add eax, edx
add eax, dword [esp + 0x50]
push eax
push edi
call fcn.0041865f
cmp dword [esp + 0x18], 0
jne 0x431cb4
cmp dword [esp + 0x1c], 0
je 0x431d5d
push dword [esp + 0x40]
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x6c]
jmp 0x431d2e
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x38]
add eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x40]
add eax, edx
push eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x3c]
add eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x74]
add eax, edx
add eax, dword [esp + 0x50]
push eax
push edi
call fcn.0041865f
cmp dword [esp + 0x18], 0
jne 0x431d14
cmp dword [esp + 0x1c], 0
je 0x431d5d
push dword [esp + 0x40]
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x24]
push eax
push dword [esi + ebx + 0x88]
push dword [esp + 0x24]
push edi
call fcn.00433f79
mov eax, dword [esp + 0x10]
test eax, eax
je 0x431d5d
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x38], eax
cmp eax, ecx
jl 0x431c24
mov ecx, dword [esp + 0x48]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov dword [esp + 0x14], ecx
test eax, eax
jle 0x4322ad
push ecx
push eax
push dword [esi + ebx + 0xb8]
push edi
call fcn.0046bb2c
push dword [esp + 0x14]
neg eax
push dword [esp + 0x40]
mov dword [esp + 0x28], eax
push dword [esi + ebx + 0xb4]
push edi
call fcn.0046bb2c
push dword [esp + 0x34]
mov edx, eax
push 3
push dword [esp + 0x14]
neg edx
test byte [esi + ebx + 0x88], 4
push dword [esi + ebx + 0x70]
mov dword [esp + 0x48], edx
push 0
je 0x431e40
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x34]
add eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x40]
add eax, edx
push eax
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x48]
add eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x74]
add eax, edx
add eax, dword [esp + 0x50]
push eax
push edi
call fcn.0041865f
cmp dword [esp + 0x18], 0
jne 0x431e24
cmp dword [esp + 0x1c], 0
je 0x431ecd
push dword [esp + 0x4c]
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x6c]
jmp 0x431e9e
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x38]
add eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x40]
add eax, edx
push eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x3c]
add eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x74]
add eax, edx
add eax, dword [esp + 0x50]
push eax
push edi
call fcn.0041865f
cmp dword [esp + 0x18], 0
jne 0x431e84
cmp dword [esp + 0x1c], 0
je 0x431ecd
push dword [esp + 0x4c]
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x48]
push eax
push dword [esi + ebx + 0x88]
push dword [esp + 0x24]
push edi
call fcn.00433f79
mov edx, dword [esp + 0x48]
test edx, edx
je 0x431ecd
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, eax
jl 0x431d90
jmp 0x4322ad
cmp dword [0x47cba4], 0
jne 0x4322ad
cmp dword [0x47cba0], 0
je 0x43174e
push 1
push dword [esi + ebx + 0xac]
call fcn.0046b58c
push eax
push dword [esp + 0x10]
push 0
call fcn.0046b51e
push 1
push dword [esi + ebx + 0xac]
mov dword [esp + 0x18], eax
call fcn.0046b58c
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [esp + 0x10]
push ecx
push edi
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + ebx + 0xb8]
cdq
mov ecx, eax
mov eax, dword [esi + ebx + 0xb4]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
cmovg ecx, eax
xor eax, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
test ecx, ecx
jle 0x4322ad
push eax
push ecx
push dword [esi + ebx + 0xb8]
push edi
call fcn.0046bb2c
push dword [esp + 0x38]
mov dword [esp + 0x24], eax
push dword [esp + 0x40]
push dword [esi + ebx + 0xb4]
push edi
call fcn.0046bb2c
test byte [esi + ebx + 0x88], 4
mov edx, eax
push dword [esp + 0x34]
mov dword [esp + 0x18], edx
push 3
push dword [esp + 0x14]
push dword [esi + ebx + 0x70]
push 0
je 0x432021
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x34]
add eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x40]
add eax, edx
push eax
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x48]
add eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x74]
add eax, edx
add eax, dword [esp + 0x50]
push eax
push edi
call fcn.0041865f
cmp dword [esp + 0x18], 0
jne 0x432005
cmp dword [esp + 0x1c], 0
je 0x4320ae
push dword [esp + 0x40]
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x6c]
jmp 0x43207f
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x38]
add eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x40]
add eax, edx
push eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x3c]
add eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x74]
add eax, edx
add eax, dword [esp + 0x50]
push eax
push edi
call fcn.0041865f
cmp dword [esp + 0x18], 0
jne 0x432065
cmp dword [esp + 0x1c], 0
je 0x4320ae
push dword [esp + 0x40]
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x24]
push eax
push dword [esi + ebx + 0x88]
push dword [esp + 0x24]
push edi
call fcn.00433f79
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4320ae
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x38], eax
cmp eax, ecx
jl 0x431f75
jmp 0x4322ad
cmp dword [0x47cba4], 0
jne 0x4322ad
cmp dword [0x47cba0], 0
je 0x43174e
push 1
push dword [esi + ebx + 0xac]
call fcn.0046b58c
push eax
push dword [esp + 0x10]
push 0
call fcn.0046b51e
push 1
push dword [esi + ebx + 0xac]
mov dword [esp + 0x18], eax
call fcn.0046b58c
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [esp + 0x10]
push ecx
push edi
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi + ebx + 0xb4]
mov ecx, dword [esi + ebx + 0xb8]
mov dword [esp + 0x38], edx
mov dword [esp + 0x14], ecx
test edx, edx
jne 0x432147
test ecx, ecx
je 0x4322ad
test byte [esi + ebx + 0x88], 4
push dword [esp + 0x34]
push 3
push dword [esp + 0x14]
push dword [esi + ebx + 0x70]
push 0
je 0x4321c1
mov eax, dword [esp + 0x6c]
add eax, ecx
add eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x40]
add eax, edx
push eax
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x48]
add eax, ecx
push eax
mov eax, dword [esp + 0x74]
add eax, edx
add eax, dword [esp + 0x50]
push eax
push edi
call fcn.0041865f
cmp dword [esp + 0x18], 0
jne 0x4321a5
cmp dword [esp + 0x1c], 0
je 0x4322ad
push dword [esp + 0x40]
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x6c]
jmp 0x43221f
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x38]
add eax, ecx
push eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x40]
add eax, edx
push eax
mov eax, dword [esp + 0x74]
add eax, ecx
add eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x74]
add eax, edx
add eax, dword [esp + 0x50]
push eax
push edi
call fcn.0041865f
cmp dword [esp + 0x18], 0
jne 0x432205
cmp dword [esp + 0x1c], 0
je 0x4322ad
push dword [esp + 0x40]
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x48]
push eax
push dword [esi + ebx + 0x88]
push dword [esp + 0x24]
push edi
call fcn.00433f79
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x4322b1
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x4322b1
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x50]
push eax
push edi
call fcn.0041865f
cmp dword [esp + 0x18], 0
jne 0x432288
cmp dword [esp + 0x1c], 0
je 0x4322ad
push dword [esp + 0x44]
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esi + ebx + 0x88]
push dword [esp + 0x24]
push edi
call fcn.00433f79
mov ebx, dword [esp + 0x10]
push 0xffffffffffffffff
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [esp + 0x50]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4322cb
push eax
call esi
test ebx, ebx
je 0x4322d2
push ebx
call esi
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4322dd
push eax
call esi
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4322e8
push eax
call esi
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4322f3
push eax
call esi
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4322fe
push eax
call esi
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00475d95
mov esp, ebp
pop ebp
ret 0x1c