Function at 0x43e2b0
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 0x43f129
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x43f129
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x43f129
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x43f129
mov dl, byte [ecx + 0x182]
test dl, dl
je 0x43f129
test eax, eax
jge 0x43e307
mov eax, dword [ecx + 0xc]
mov dword [ebp + 0x14], eax
test edi, edi
jge 0x43e311
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 0x43f129
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x43e374
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 0x43e395
mov edx, ecx
mov esi, dword [esp + 0xa8]
cmp esi, edx
jge 0x43e3a6
mov dword [esp + 0x64], esi
jmp 0x43e3b2
cmp eax, ecx
mov dword [esp + 0x64], eax
jg 0x43e3b2
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x9c]
mov ecx, dword [ebp + 0xc]
cmp edx, ecx
mov esi, edx
jg 0x43e3c4
mov esi, ecx
mov eax, dword [esp + 0xa4]
cmp eax, esi
jge 0x43e3d5
mov dword [esp + 0x60], eax
jmp 0x43e3e1
cmp edx, ecx
mov dword [esp + 0x60], edx
jg 0x43e3e1
mov dword [esp + 0x60], ecx
mov edx, dword [ebp + 0x14]
mov esi, eax
add ecx, edx
cmp eax, ecx
jl 0x43e3ee
mov esi, ecx
mov edx, dword [esp + 0x9c]
cmp edx, esi
jle 0x43e3fd
mov eax, edx
jmp 0x43e403
cmp eax, ecx
jl 0x43e403
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 0x43e41b
mov esi, ecx
cmp dword [esp + 0xa0], esi
jle 0x43e42d
mov esi, dword [esp + 0xa0]
jmp 0x43e435
cmp edx, ecx
mov esi, edx
jl 0x43e435
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 0x43e869
mov al, byte [esp + 0x27]
test al, al
jne 0x43e869
mov eax, dword [esp + 0x3c]
mov cl, byte [eax + 0x181]
test cl, cl
jne 0x43e869
mov edx, dword [ebp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jne 0x43e4fd
cmp edi, dword [eax + 0x10]
jne 0x43e4fd
push 3
push ebx
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov al, byte [ebp + 0x24]
test al, al
je 0x43e4cf
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 0x43f0e4
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 0x43f0e4
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 0x43e821
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 0x43e821
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.00499997
add esp, 8
call fcn.004977ec
test eax, eax
jge 0x43e626
xor eax, eax
jmp 0x43e635
push edi
push ebx
call fcn.00499997
add esp, 8
call fcn.004977ec
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 0x43e658
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
lea ebx, [ecx + edx]
jmp 0x43e663
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 0x43e7ed
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.00499997
add esp, 8
call fcn.004977ec
test eax, eax
jge 0x43e6b9
xor eax, eax
jmp 0x43e6cc
mov ecx, dword [esp + 0x10]
push edi
push ecx
call fcn.00499997
add esp, 8
call fcn.004977ec
mov cl, byte [ebp + 0x20]
test cl, cl
je 0x43e778
fld dword [esp + 0x28]
fcomp dword [0x4d5cb0]
fnstsw ax
test ah, 0x41
jne 0x43e73f
fld dword [esp + 0x54]
fcomp dword [0x4d5cb0]
fnstsw ax
test ah, 0x41
jne 0x43e73f
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
fld dword [esp + 0x48]
fsub dword [0x4d5c18]
push 0
push 5
push 2
push edx
push eax
push ecx
fstp dword [esp]
fld dword [esp + 0x64]
fsub dword [0x4d5c18]
push ecx
lea ecx, [esp + 0xa0]
fstp dword [esp]
push ecx
mov ecx, esi
call fcn.0044b320
mov edx, dword [eax]
mov dword [esp + 0xc], edx
jmp 0x43e7c3
fld dword [esp + 0x48]
fsub dword [0x4d5c18]
push 0
push 5
push 2
push ecx
lea eax, [esp + 0x9c]
fstp dword [esp]
fld dword [esp + 0x5c]
fsub dword [0x4d5c18]
push ecx
mov ecx, esi
fstp dword [esp]
push eax
call fcn.00449a50
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
jmp 0x43e7c3
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x43e7a4
mov edx, dword [esp + 0x50]
mov ecx, esi
push edx
push eax
call fcn.0043f280
push eax
lea eax, [esp + 0x80]
push eax
mov ecx, esi
call fcn.0043f210
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
jmp 0x43e7c3
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 0x43e677
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 0x43e5e1
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 0x43f0cf
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.0043c380
mov ecx, edi
call fcn.0043c3c0
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 0x43f086
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 0x43ec00
mov ecx, dword [edx + 0x10]
mov edi, dword [ebp + 0x18]
cmp edi, ecx
jne 0x43ec00
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 0x43f086
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 0x43e9db
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 0x43e9fb
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 0x43ebc7
mov dword [esp + 0x4c], eax
mov al, byte [esp + 0x27]
test al, al
je 0x43ea4e
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 0x43ea53
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 0x43ead3
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push eax
push ecx
mov ecx, edi
call fcn.0043f280
and eax, 0xff
lea edx, [esp + 0x7c]
push eax
push edx
mov ecx, edi
mov dword [esp + 0x5c], eax
call fcn.0043f210
mov cl, byte [edi + 0x181]
mov eax, dword [eax]
test cl, cl
mov dword [esp + 0x10], eax
je 0x43eaf5
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 0x43eaf5
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 0x43eb0c
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x70]
cmp ecx, edx
jne 0x43eb1e
test edi, edi
jne 0x43eb12
cmp eax, dword [esp + 0x74]
jne 0x43eb1e
mov cl, byte [esp + 0x26]
test cl, cl
jne 0x43ebac
test bl, bl
je 0x43ebac
cmp bl, 0xff
jne 0x43eb42
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 0x43ebaf
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 0x43ebaf
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 0x43ea26
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 0x43e9cf
jmp 0x43f086
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 0x43f086
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.00499997
add esp, 8
call fcn.004977ec
test eax, eax
jge 0x43ec91
xor eax, eax
jmp 0x43eca0
push edi
push ebx
call fcn.00499997
add esp, 8
call fcn.004977ec
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 0x43ecc0
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 0x43f052
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.00499997
add esp, 8
call fcn.004977ec
test eax, eax
jge 0x43ed39
xor edi, edi
jmp 0x43ed4a
push edi
push ebx
call fcn.00499997
add esp, 8
call fcn.004977ec
mov edi, eax
mov al, byte [esp + 0x27]
test al, al
je 0x43ed6a
mov ecx, dword [esi + 0x1bc]
mov edx, dword [esp + 0x80]
add ecx, edi
mov al, byte [ecx + edx]
mov byte [esp + 0x1c], al
jmp 0x43ed6f
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 0x43ee9f
mov edx, dword [esp + 0x5c]
mov ecx, esi
push edx
push edi
call fcn.0043f280
and eax, 0xff
mov dword [esp + 0x54], eax
mov al, byte [ebp + 0x20]
test al, al
je 0x43ee4a
fld dword [esp + 0x20]
fcomp dword [0x4d5cb0]
fnstsw ax
test ah, 0x41
jne 0x43ee17
fld dword [esp + 0x2c]
fcomp dword [0x4d5cb0]
fnstsw ax
test ah, 0x41
jne 0x43ee17
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
fld dword [esp + 0x34]
fsub dword [0x4d5c18]
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 [0x4d5c18]
push ecx
mov ecx, esi
fstp dword [esp]
push edx
call fcn.0044b320
jmp 0x43ee67
fld dword [esp + 0x34]
fsub dword [0x4d5c18]
push 0
push 5
push 2
push ecx
lea eax, [esp + 0xf4]
fstp dword [esp]
fld dword [esp + 0x38]
fsub dword [0x4d5c18]
push ecx
mov ecx, esi
fstp dword [esp]
push eax
call fcn.00449a50
jmp 0x43ee67
mov ecx, dword [esp + 0x5c]
push ecx
push edi
mov ecx, esi
call fcn.0043f280
lea edx, [esp + 0xec]
push eax
push edx
mov ecx, esi
call fcn.0043f210
mov cl, byte [esi + 0x181]
mov eax, dword [eax]
test cl, cl
mov dword [esp + 0x10], eax
je 0x43ef6d
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 0x43ef6d
mov al, byte [ebp + 0x20]
test al, al
je 0x43ef48
fld dword [esp + 0x20]
fcomp dword [0x4d5cb0]
fnstsw ax
test ah, 0x41
jne 0x43ef0f
fld dword [esp + 0x2c]
fcomp dword [0x4d5cb0]
fnstsw ax
test ah, 0x41
jne 0x43ef0f
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
fld dword [esp + 0x34]
fsub dword [0x4d5c18]
push 0
push 5
push 2
push edx
push eax
push ecx
fstp dword [esp]
fld dword [esp + 0x40]
fsub dword [0x4d5c18]
push ecx
lea ecx, [esp + 0x110]
fstp dword [esp]
push ecx
mov ecx, esi
call fcn.0044b320
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jmp 0x43ef6d
fld dword [esp + 0x34]
fsub dword [0x4d5c18]
push 0
push 5
push 2
push ecx
lea edx, [esp + 0xf8]
fstp dword [esp]
fld dword [esp + 0x38]
fsub dword [0x4d5c18]
push ecx
mov ecx, esi
fstp dword [esp]
push edx
call fcn.00449a50
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jmp 0x43ef6d
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 0x43ef84
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x54]
cmp edi, edx
jne 0x43ef96
test ecx, ecx
jne 0x43ef8a
cmp eax, dword [esp + 0x74]
jne 0x43ef96
mov cl, byte [esp + 0x26]
test cl, cl
jne 0x43f032
test bl, bl
je 0x43f032
cmp bl, 0xff
jne 0x43efbe
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 0x43f039
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 0x43f039
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 0x43ecee
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 0x43ec43
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 0x43f10c
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