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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
mov eax, dword [ecx + 4]
push ebx
push esi
push edi
test eax, eax
mov dword [esp + 0x3c], ecx
je 0x43daf9
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x43daf9
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x43daf9
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x43daf9
mov dl, byte [ecx + 0x182]
test dl, dl
je 0x43daf9
test eax, eax
jge 0x43ccd7
mov eax, dword [ecx + 0xc]
mov dword [ebp + 0x14], eax
test edi, edi
jge 0x43cce1
mov edi, dword [ecx + 0x10]
mov dword [ebp + 0x18], edi
mov eax, dword [ecx + 0x14c]
mov esi, dword [ecx + 0x1bc]
test eax, eax
setge byte [esp + 0x26]
test esi, esi
push ebx
setne byte [esp + 0x2b]
call dword [sym.imp.GDI32.dll_SaveDC]
test eax, eax
mov dword [esp + 0xac], eax
je 0x43daf9
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x43cd44
lea ecx, [esp + 0xf8]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_GetClipBox]
mov edx, dword [ebp + 0x1c]
push edx
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov esi, eax
push 1
push esi
push ebx
call dword [sym.imp.GDI32.dll_ExtSelectClipRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [esp + 0x9c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetClipBox]
mov eax, dword [esp + 0xa0]
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
mov edx, eax
jg 0x43cd65
mov edx, ecx
mov esi, dword [esp + 0xa8]
cmp esi, edx
jge 0x43cd76
mov dword [esp + 0x64], esi
jmp 0x43cd82
cmp eax, ecx
mov dword [esp + 0x64], eax
jg 0x43cd82
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x9c]
mov ecx, dword [ebp + 0xc]
cmp edx, ecx
mov esi, edx
jg 0x43cd94
mov esi, ecx
mov eax, dword [esp + 0xa4]
cmp eax, esi
jge 0x43cda5
mov dword [esp + 0x60], eax
jmp 0x43cdb1
cmp edx, ecx
mov dword [esp + 0x60], edx
jg 0x43cdb1
mov dword [esp + 0x60], ecx
mov edx, dword [ebp + 0x14]
mov esi, eax
add ecx, edx
cmp eax, ecx
jl 0x43cdbe
mov esi, ecx
mov edx, dword [esp + 0x9c]
cmp edx, esi
jle 0x43cdcd
mov eax, edx
jmp 0x43cdd3
cmp eax, ecx
jl 0x43cdd3
mov eax, ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0xa8]
add ecx, edi
mov esi, edx
cmp edx, ecx
mov dword [esp + 0x38], ecx
jl 0x43cdeb
mov esi, ecx
cmp dword [esp + 0xa0], esi
jle 0x43cdfd
mov esi, dword [esp + 0xa0]
jmp 0x43ce05
cmp edx, ecx
mov esi, edx
jl 0x43ce05
mov esi, ecx
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
sub eax, edx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x26]
sub esi, ecx
test al, al
mov dword [esp + 0x88], esi
jne 0x43d239
mov al, byte [esp + 0x27]
test al, al
jne 0x43d239
mov eax, dword [esp + 0x3c]
mov cl, byte [eax + 0x181]
test cl, cl
jne 0x43d239
mov edx, dword [ebp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jne 0x43cecd
cmp edi, dword [eax + 0x10]
jne 0x43cecd
push 3
push ebx
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov al, byte [ebp + 0x24]
test al, al
je 0x43ce9f
mov eax, dword [esp + 0x3c]
push 0xcc0020
push 0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp + 0x14]
push ecx
push edx
push edi
push eax
mov ecx, dword [ebp + 0xc]
push 0
push 0
neg edi
push edi
push eax
mov eax, dword [esp + 0x60]
dec eax
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_StretchDIBits]
jmp 0x43dab4
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x14]
push 0
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x34]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push edi
push 0
push 0
push 0
push edi
push ecx
push edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetDIBitsToDevice]
jmp 0x43dab4
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0xb8]
push ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xbc], 0x28
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], esi
mov word [esp + 0xc8], 1
mov word [esp + 0xca], 0x18
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0
lea edx, [esp + 0x24]
mov edi, eax
push 0
push edx
lea eax, [esp + 0xc4]
push 0
push eax
push ebx
mov dword [esp + 0x74], edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43d1f1
mov eax, dword [esp + 0x30]
lea ecx, [eax + eax*2]
lea eax, [ecx*8 + 0x1f]
mov ecx, dword [esp + 0x3c]
cdq
fild dword [ecx + 0xc]
and edx, 0x1f
add eax, edx
fidiv dword [ebp + 0x14]
sar eax, 5
shl eax, 2
test esi, esi
mov dword [esp + 0x70], eax
fstp dword [esp + 0x28]
fild dword [ecx + 0x10]
fidiv dword [ebp + 0x18]
fstp dword [esp + 0x54]
jle 0x43d1f1
mov ecx, eax
mov edx, dword [esp + 0x6c]
neg ecx
mov dword [esp + 0x74], ecx
lea ecx, [esi - 1]
imul ecx, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x44], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x44]
mov edx, dword [ebp + 0x10]
mov esi, dword [esp + 0x3c]
sub eax, edx
mov dword [esp + 0x38], eax
fild dword [esi + 0x10]
fild dword [esp + 0x38]
fmul dword [esp + 0x54]
fsubp st(1)
fst dword [esp + 0x48]
fstp qword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
push edi
push ebx
call fcn.00499da7
add esp, 8
call fcn.00497bfc
test eax, eax
jge 0x43cff6
xor eax, eax
jmp 0x43d005
push edi
push ebx
call fcn.00499da7
add esp, 8
call fcn.00497bfc
mov dword [esp + 0x50], eax
imul eax, dword [esi + 0x30]
add eax, dword [esi + 0x34]
mov dword [esp + 0x78], eax
mov al, byte [ebp + 0x24]
test al, al
je 0x43d028
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
lea ebx, [ecx + edx]
jmp 0x43d033
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea ebx, [eax + ecx]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], 0
test eax, eax
jle 0x43d1bd
mov edx, dword [esp + 0x34]
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0x60]
sub edx, eax
add edx, edi
mov dword [esp + 0x38], edx
fild dword [esp + 0x38]
fmul dword [esp + 0x28]
fst dword [esp + 0x4c]
fstp qword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edi
push eax
call fcn.00499da7
add esp, 8
call fcn.00497bfc
test eax, eax
jge 0x43d089
xor eax, eax
jmp 0x43d09c
mov ecx, dword [esp + 0x10]
push edi
push ecx
call fcn.00499da7
add esp, 8
call fcn.00497bfc
mov cl, byte [ebp + 0x20]
test cl, cl
je 0x43d148
fld dword [esp + 0x28]
fcomp dword [0x4d6c98]
fnstsw ax
test ah, 0x41
jne 0x43d10f
fld dword [esp + 0x54]
fcomp dword [0x4d6c98]
fnstsw ax
test ah, 0x41
jne 0x43d10f
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
fld dword [esp + 0x48]
fsub dword [0x4d6c88]
push 0
push 5
push 2
push edx
push eax
push ecx
fstp dword [esp]
fld dword [esp + 0x64]
fsub dword [0x4d6c88]
push ecx
lea ecx, [esp + 0xa0]
fstp dword [esp]
push ecx
mov ecx, esi
call fcn.00444620
mov edx, dword [eax]
mov dword [esp + 0xc], edx
jmp 0x43d193
fld dword [esp + 0x48]
fsub dword [0x4d6c88]
push 0
push 5
push 2
push ecx
lea eax, [esp + 0x9c]
fstp dword [esp]
fld dword [esp + 0x5c]
fsub dword [0x4d6c88]
push ecx
mov ecx, esi
fstp dword [esp]
push eax
call fcn.00442d50
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
jmp 0x43d193
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x43d174
mov edx, dword [esp + 0x50]
mov ecx, esi
push edx
push eax
call fcn.0043dc50
push eax
lea eax, [esp + 0x80]
push eax
mov ecx, esi
call fcn.0043dbe0
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
jmp 0x43d193
mov edx, dword [esp + 0x78]
lea ecx, [edx + eax*2]
mov dl, byte [eax + ecx]
add eax, ecx
mov cl, byte [eax + 1]
inc eax
mov byte [esp + 0xc], dl
mov byte [esp + 0xd], cl
mov dl, byte [eax + 1]
mov byte [esp + 0xe], dl
mov al, byte [esp + 0xc]
mov cl, byte [esp + 0xd]
mov dl, byte [esp + 0xe]
mov byte [ebx], al
mov eax, dword [esp + 0x34]
inc ebx
mov byte [ebx], cl
mov ecx, dword [esp + 0x30]
inc ebx
mov byte [ebx], dl
inc ebx
inc eax
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x43d047
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x1c]
add edi, eax
mov eax, dword [esp + 0x40]
dec esi
add edx, ecx
dec eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], eax
jne 0x43cfb1
mov eax, dword [esp + 0x20]
lea edx, [esp + 0xb8]
push 0
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x94]
mov ebx, dword [ebp + 8]
push eax
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x80]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetDIBitsToDevice]
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
push ecx
jmp 0x43da9f
mov edi, dword [esp + 0x3c]
lea edx, [esp + 0x74]
push edx
mov ecx, edi
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
call fcn.0043c790
mov ecx, edi
call fcn.0043c7d0
mov dword [esp + 0x70], eax
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0xb8]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x30]
push ebx
mov dword [esp + 0x58], 0
mov dword [esp + 0xbc], 0x28
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], esi
mov word [esp + 0xc8], 1
mov word [esp + 0xca], 0x18
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0
lea ecx, [esp + 0x48]
push 0
push ecx
lea edx, [esp + 0xc4]
push 0
mov edi, eax
push edx
push ebx
mov dword [esp + 0x9c], edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x64]
push 0xcc0020
push eax
push ecx
push ebx
push esi
push edx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x43da56
mov eax, dword [esp + 0x30]
mov edi, dword [ebp + 0x14]
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x1f]
cdq
and edx, 0x1f
add eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 5
mov ecx, dword [edx + 0xc]
shl eax, 2
cmp edi, ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x38], ecx
jne 0x43d5d0
mov ecx, dword [edx + 0x10]
mov edi, dword [ebp + 0x18]
cmp edi, ecx
jne 0x43d5d0
mov edi, dword [esp + 0x6c]
mov edx, dword [ebp + 0x10]
sub ecx, edi
add ecx, edx
mov ebx, ecx
test esi, esi
mov dword [esp + 0x2c], ebx
jle 0x43da56
mov edi, dword [esp + 0x60]
mov edx, dword [ebp + 0xc]
sub edi, edx
mov edx, eax
neg edx
mov dword [esp + 0x40], edx
lea edx, [esi - 1]
imul edx, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x50], esi
jmp 0x43d3ab
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov eax, ebx
mov dword [esp + 0x20], edi
imul eax, dword [ecx + 0xc]
mov dword [esp + 0x80], eax
mov al, byte [ebp + 0x24]
test al, al
jne 0x43d3cb
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
lea esi, [edx + eax]
mov eax, ebx
imul eax, dword [ecx + 0x30]
lea edx, [edi + edi*2]
add eax, edx
mov edx, dword [ecx + 0x34]
add eax, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x43d597
mov dword [esp + 0x4c], eax
mov al, byte [esp + 0x27]
test al, al
je 0x43d41e
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
mov edx, dword [ecx + 0x1bc]
add edx, eax
mov eax, dword [esp + 0x80]
mov cl, byte [edx + eax]
mov byte [esp + 0x1c], cl
jmp 0x43d423
mov byte [esp + 0x1c], 0xff
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
xor ebx, ebx
and edx, 0xff
mov bl, byte [edi + 0x180]
mov eax, dword [edi + 0x28]
inc ebx
imul ebx, edx
sar ebx, 8
test eax, eax
mov byte [esp + 0x1c], bl
je 0x43d4a3
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push eax
push ecx
mov ecx, edi
call fcn.0043dc50
and eax, 0xff
lea edx, [esp + 0x7c]
push eax
push edx
mov ecx, edi
mov dword [esp + 0x5c], eax
call fcn.0043dbe0
mov cl, byte [edi + 0x181]
mov eax, dword [eax]
test cl, cl
mov dword [esp + 0x10], eax
je 0x43d4c5
mov ebx, dword [esp + 0x13]
mov ecx, dword [esp + 0x1c]
and ebx, 0xff
and ecx, 0xff
inc ebx
imul ebx, ecx
sar ebx, 8
mov byte [esp + 0x1c], bl
jmp 0x43d4c5
mov eax, dword [esp + 0x48]
mov dl, byte [eax]
mov cl, byte [eax + 1]
inc eax
mov byte [esp + 0x10], dl
inc eax
mov byte [esp + 0x11], cl
mov dl, byte [eax]
inc eax
mov byte [esp + 0x12], dl
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
mov edi, dword [edi + 0x28]
test edi, edi
je 0x43d4dc
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x70]
cmp ecx, edx
jne 0x43d4ee
test edi, edi
jne 0x43d4e2
cmp eax, dword [esp + 0x74]
jne 0x43d4ee
mov cl, byte [esp + 0x26]
test cl, cl
jne 0x43d57c
test bl, bl
je 0x43d57c
cmp bl, 0xff
jne 0x43d512
mov dl, byte [esp + 0x10]
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x12]
mov byte [esi], dl
inc esi
mov byte [esi], al
inc esi
mov byte [esi], cl
inc esi
jmp 0x43d57f
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov dl, byte [esi]
and ecx, 0xff
not bl
mov byte [esp + 0x58], bl
and eax, 0xff
mov edi, dword [esp + 0x58]
imul eax, ecx
and edi, 0xff
imul edx, edi
add eax, edx
xor edx, edx
sar eax, 8
mov byte [esi], al
mov eax, dword [esp + 0x11]
mov dl, byte [esi + 1]
inc esi
and eax, 0xff
imul edx, edi
imul eax, ecx
add eax, edx
sar eax, 8
mov byte [esi], al
mov eax, dword [esp + 0x12]
and eax, 0xff
inc esi
imul eax, ecx
xor ecx, ecx
mov cl, byte [esi]
imul ecx, edi
add eax, ecx
sar eax, 8
mov byte [esi], al
inc esi
jmp 0x43d57f
add esi, 3
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
inc ecx
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x4c], eax
jne 0x43d3f6
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x2c]
add esi, edx
mov edx, dword [esp + 0x34]
add edx, eax
mov eax, dword [esp + 0x50]
inc ecx
dec eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x50], eax
jne 0x43d39f
jmp 0x43da56
fild dword [esp + 0x38]
test esi, esi
fidiv dword [ebp + 0x14]
fstp dword [esp + 0x20]
fild dword [edx + 0x10]
fidiv dword [ebp + 0x18]
fstp dword [esp + 0x2c]
jle 0x43da56
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], ecx
mov ecx, eax
neg ecx
mov dword [esp + 0x7c], ecx
lea ecx, [esi - 1]
imul ecx, eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], esi
mov edx, dword [esp + 0x4c]
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x3c]
sub edx, edi
mov dword [esp + 0x40], edx
fild dword [esi + 0x10]
fild dword [esp + 0x40]
fmul dword [esp + 0x2c]
fsubp st(1)
fst dword [esp + 0x34]
fstp qword [esp + 0x90]
mov edi, dword [esp + 0x94]
mov ebx, dword [esp + 0x90]
push edi
push ebx
call fcn.00499da7
add esp, 8
call fcn.00497bfc
test eax, eax
jge 0x43d661
xor eax, eax
jmp 0x43d670
push edi
push ebx
call fcn.00499da7
add esp, 8
call fcn.00497bfc
mov ecx, eax
mov dword [esp + 0x5c], eax
imul ecx, dword [esi + 0xc]
mov dword [esp + 0x80], ecx
mov cl, byte [ebp + 0x24]
test cl, cl
mov ecx, dword [esp + 0x50]
jne 0x43d690
mov ecx, dword [esp + 0x48]
imul eax, dword [esi + 0x30]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x40], 0
add ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 0x34]
add eax, ecx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x43da22
mov eax, dword [esp + 0x40]
mov edi, dword [ebp + 0xc]
mov edx, dword [esp + 0x60]
sub eax, edi
add eax, edx
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fmul dword [esp + 0x20]
fst dword [esp + 0x28]
fstp qword [esp + 0xb0]
mov edi, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb0]
push edi
push ebx
call fcn.00499da7
add esp, 8
call fcn.00497bfc
test eax, eax
jge 0x43d709
xor edi, edi
jmp 0x43d71a
push edi
push ebx
call fcn.00499da7
add esp, 8
call fcn.00497bfc
mov edi, eax
mov al, byte [esp + 0x27]
test al, al
je 0x43d73a
mov ecx, dword [esi + 0x1bc]
mov edx, dword [esp + 0x80]
add ecx, edi
mov al, byte [ecx + edx]
mov byte [esp + 0x1c], al
jmp 0x43d73f
mov byte [esp + 0x1c], 0xff
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
mov bl, byte [esi + 0x180]
and ecx, 0xff
inc ebx
mov eax, dword [esi + 0x28]
imul ebx, ecx
sar ebx, 8
test eax, eax
mov byte [esp + 0x1c], bl
je 0x43d86f
mov edx, dword [esp + 0x5c]
mov ecx, esi
push edx
push edi
call fcn.0043dc50
and eax, 0xff
mov dword [esp + 0x54], eax
mov al, byte [ebp + 0x20]
test al, al
je 0x43d81a
fld dword [esp + 0x20]
fcomp dword [0x4d6c98]
fnstsw ax
test ah, 0x41
jne 0x43d7e7
fld dword [esp + 0x2c]
fcomp dword [0x4d6c98]
fnstsw ax
test ah, 0x41
jne 0x43d7e7
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
fld dword [esp + 0x34]
fsub dword [0x4d6c88]
push 0
push 5
push 2
push eax
push ecx
push ecx
lea edx, [esp + 0x108]
fstp dword [esp]
fld dword [esp + 0x40]
fsub dword [0x4d6c88]
push ecx
mov ecx, esi
fstp dword [esp]
push edx
call fcn.00444620
jmp 0x43d837
fld dword [esp + 0x34]
fsub dword [0x4d6c88]
push 0
push 5
push 2
push ecx
lea eax, [esp + 0xf4]
fstp dword [esp]
fld dword [esp + 0x38]
fsub dword [0x4d6c88]
push ecx
mov ecx, esi
fstp dword [esp]
push eax
call fcn.00442d50
jmp 0x43d837
mov ecx, dword [esp + 0x5c]
push ecx
push edi
mov ecx, esi
call fcn.0043dc50
lea edx, [esp + 0xec]
push eax
push edx
mov ecx, esi
call fcn.0043dbe0
mov cl, byte [esi + 0x181]
mov eax, dword [eax]
test cl, cl
mov dword [esp + 0x10], eax
je 0x43d93d
mov ebx, dword [esp + 0x13]
mov ecx, dword [esp + 0x1c]
and ebx, 0xff
and ecx, 0xff
inc ebx
imul ebx, ecx
sar ebx, 8
mov byte [esp + 0x1c], bl
jmp 0x43d93d
mov al, byte [ebp + 0x20]
test al, al
je 0x43d918
fld dword [esp + 0x20]
fcomp dword [0x4d6c98]
fnstsw ax
test ah, 0x41
jne 0x43d8df
fld dword [esp + 0x2c]
fcomp dword [0x4d6c98]
fnstsw ax
test ah, 0x41
jne 0x43d8df
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
fld dword [esp + 0x34]
fsub dword [0x4d6c88]
push 0
push 5
push 2
push edx
push eax
push ecx
fstp dword [esp]
fld dword [esp + 0x40]
fsub dword [0x4d6c88]
push ecx
lea ecx, [esp + 0x110]
fstp dword [esp]
push ecx
mov ecx, esi
call fcn.00444620
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jmp 0x43d93d
fld dword [esp + 0x34]
fsub dword [0x4d6c88]
push 0
push 5
push 2
push ecx
lea edx, [esp + 0xf8]
fstp dword [esp]
fld dword [esp + 0x38]
fsub dword [0x4d6c88]
push ecx
mov ecx, esi
fstp dword [esp]
push edx
call fcn.00442d50
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jmp 0x43d93d
mov eax, dword [esp + 0x90]
lea ecx, [eax + edi*2]
add edi, ecx
mov cl, byte [edi + 2]
mov byte [esp + 0x12], cl
mov dl, byte [edi]
mov al, byte [edi + 1]
inc edi
mov byte [esp + 0x10], dl
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x43d954
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x54]
cmp edi, edx
jne 0x43d966
test ecx, ecx
jne 0x43d95a
cmp eax, dword [esp + 0x74]
jne 0x43d966
mov cl, byte [esp + 0x26]
test cl, cl
jne 0x43da02
test bl, bl
je 0x43da02
cmp bl, 0xff
jne 0x43d98e
mov eax, dword [esp + 0xc]
mov cl, byte [esp + 0x10]
mov dl, byte [esp + 0x11]
mov byte [eax], cl
mov cl, byte [esp + 0x12]
inc eax
mov byte [eax], dl
inc eax
mov byte [eax], cl
inc eax
jmp 0x43da09
mov edi, dword [esp + 0x1c]
mov edx, eax
mov eax, dword [esp + 0xc]
and edi, 0xff
not bl
mov byte [esp + 0x58], bl
xor ebx, ebx
mov ecx, dword [esp + 0x58]
mov bl, byte [eax]
and ecx, 0xff
and edx, 0xff
imul edx, edi
imul ebx, ecx
add edx, ebx
xor ebx, ebx
sar edx, 8
mov byte [eax], dl
mov edx, dword [esp + 0x11]
mov bl, byte [eax + 1]
inc eax
and edx, 0xff
imul ebx, ecx
imul edx, edi
add edx, ebx
xor ebx, ebx
sar edx, 8
mov byte [eax], dl
mov edx, dword [esp + 0x12]
mov bl, byte [eax + 1]
inc eax
and edx, 0xff
imul ebx, ecx
imul edx, edi
add edx, ebx
sar edx, 8
mov byte [eax], dl
inc eax
jmp 0x43da09
mov eax, dword [esp + 0xc]
add eax, 3
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
inc eax
cmp eax, ecx
mov dword [esp + 0x40], eax
jl 0x43d6be
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x48]
add edi, eax
mov eax, dword [esp + 0x38]
dec esi
add edx, ecx
dec eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edx
mov dword [esp + 0x38], eax
jne 0x43d613
mov eax, dword [esp + 0x44]
lea edx, [esp + 0xb8]
push 0
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x94]
mov ebx, dword [ebp + 8]
push eax
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x80]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetDIBitsToDevice]
mov ecx, dword [esp + 0x8c]
mov esi, dword [esp + 0x84]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x43dadc
lea edx, [esp + 0xf8]
push edx
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov esi, eax
push 2
push esi
push ebx
call dword [sym.imp.GDI32.dll_ExtSelectClipRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0xac]
push eax
push ebx
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x20