Function at 0x439a50
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 0x43a8c9
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x43a8c9
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x43a8c9
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x43a8c9
mov dl, byte [ecx + 0x182]
test dl, dl
je 0x43a8c9
test eax, eax
jge 0x439aa7
mov eax, dword [ecx + 0xc]
mov dword [ebp + 0x14], eax
test edi, edi
jge 0x439ab1
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 0x43a8c9
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x439b14
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 0x439b35
mov edx, ecx
mov esi, dword [esp + 0xa8]
cmp esi, edx
jge 0x439b46
mov dword [esp + 0x64], esi
jmp 0x439b52
cmp eax, ecx
mov dword [esp + 0x64], eax
jg 0x439b52
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x9c]
mov ecx, dword [ebp + 0xc]
cmp edx, ecx
mov esi, edx
jg 0x439b64
mov esi, ecx
mov eax, dword [esp + 0xa4]
cmp eax, esi
jge 0x439b75
mov dword [esp + 0x60], eax
jmp 0x439b81
cmp edx, ecx
mov dword [esp + 0x60], edx
jg 0x439b81
mov dword [esp + 0x60], ecx
mov edx, dword [ebp + 0x14]
mov esi, eax
add ecx, edx
cmp eax, ecx
jl 0x439b8e
mov esi, ecx
mov edx, dword [esp + 0x9c]
cmp edx, esi
jle 0x439b9d
mov eax, edx
jmp 0x439ba3
cmp eax, ecx
jl 0x439ba3
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 0x439bbb
mov esi, ecx
cmp dword [esp + 0xa0], esi
jle 0x439bcd
mov esi, dword [esp + 0xa0]
jmp 0x439bd5
cmp edx, ecx
mov esi, edx
jl 0x439bd5
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 0x43a009
mov al, byte [esp + 0x27]
test al, al
jne 0x43a009
mov eax, dword [esp + 0x3c]
mov cl, byte [eax + 0x181]
test cl, cl
jne 0x43a009
mov edx, dword [ebp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jne 0x439c9d
cmp edi, dword [eax + 0x10]
jne 0x439c9d
push 3
push ebx
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov al, byte [ebp + 0x24]
test al, al
je 0x439c6f
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 0x43a884
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 0x43a884
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 0x439fc1
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 0x439fc1
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.00496544
add esp, 8
call fcn.00493554
test eax, eax
jge 0x439dc6
xor eax, eax
jmp 0x439dd5
push edi
push ebx
call fcn.00496544
add esp, 8
call fcn.00493554
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 0x439df8
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
lea ebx, [ecx + edx]
jmp 0x439e03
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 0x439f8d
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.00496544
add esp, 8
call fcn.00493554
test eax, eax
jge 0x439e59
xor eax, eax
jmp 0x439e6c
mov ecx, dword [esp + 0x10]
push edi
push ecx
call fcn.00496544
add esp, 8
call fcn.00493554
mov cl, byte [ebp + 0x20]
test cl, cl
je 0x439f18
fld dword [esp + 0x28]
fcomp dword [0x4db74c]
fnstsw ax
test ah, 0x41
jne 0x439edf
fld dword [esp + 0x54]
fcomp dword [0x4db74c]
fnstsw ax
test ah, 0x41
jne 0x439edf
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
fld dword [esp + 0x48]
fsub dword [0x4db748]
push 0
push 5
push 2
push edx
push eax
push ecx
fstp dword [esp]
fld dword [esp + 0x64]
fsub dword [0x4db748]
push ecx
lea ecx, [esp + 0xa0]
fstp dword [esp]
push ecx
mov ecx, esi
call fcn.00446f70
mov edx, dword [eax]
mov dword [esp + 0xc], edx
jmp 0x439f63
fld dword [esp + 0x48]
fsub dword [0x4db748]
push 0
push 5
push 2
push ecx
lea eax, [esp + 0x9c]
fstp dword [esp]
fld dword [esp + 0x5c]
fsub dword [0x4db748]
push ecx
mov ecx, esi
fstp dword [esp]
push eax
call fcn.004456a0
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
jmp 0x439f63
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x439f44
mov edx, dword [esp + 0x50]
mov ecx, esi
push edx
push eax
call fcn.0043aed0
push eax
lea eax, [esp + 0x80]
push eax
mov ecx, esi
call fcn.0043ae60
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
jmp 0x439f63
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 0x439e17
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 0x439d81
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 0x43a86f
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.0043a8e0
mov ecx, edi
call fcn.0043a920
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 0x43a826
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 0x43a3a0
mov ecx, dword [edx + 0x10]
mov edi, dword [ebp + 0x18]
cmp edi, ecx
jne 0x43a3a0
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 0x43a826
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 0x43a17b
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 0x43a19b
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 0x43a367
mov dword [esp + 0x4c], eax
mov al, byte [esp + 0x27]
test al, al
je 0x43a1ee
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 0x43a1f3
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 0x43a273
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push eax
push ecx
mov ecx, edi
call fcn.0043aed0
and eax, 0xff
lea edx, [esp + 0x7c]
push eax
push edx
mov ecx, edi
mov dword [esp + 0x5c], eax
call fcn.0043ae60
mov cl, byte [edi + 0x181]
mov eax, dword [eax]
test cl, cl
mov dword [esp + 0x10], eax
je 0x43a295
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 0x43a295
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 0x43a2ac
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x70]
cmp ecx, edx
jne 0x43a2be
test edi, edi
jne 0x43a2b2
cmp eax, dword [esp + 0x74]
jne 0x43a2be
mov cl, byte [esp + 0x26]
test cl, cl
jne 0x43a34c
test bl, bl
je 0x43a34c
cmp bl, 0xff
jne 0x43a2e2
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 0x43a34f
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 0x43a34f
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 0x43a1c6
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 0x43a16f
jmp 0x43a826
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 0x43a826
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.00496544
add esp, 8
call fcn.00493554
test eax, eax
jge 0x43a431
xor eax, eax
jmp 0x43a440
push edi
push ebx
call fcn.00496544
add esp, 8
call fcn.00493554
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 0x43a460
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 0x43a7f2
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.00496544
add esp, 8
call fcn.00493554
test eax, eax
jge 0x43a4d9
xor edi, edi
jmp 0x43a4ea
push edi
push ebx
call fcn.00496544
add esp, 8
call fcn.00493554
mov edi, eax
mov al, byte [esp + 0x27]
test al, al
je 0x43a50a
mov ecx, dword [esi + 0x1bc]
mov edx, dword [esp + 0x80]
add ecx, edi
mov al, byte [ecx + edx]
mov byte [esp + 0x1c], al
jmp 0x43a50f
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 0x43a63f
mov edx, dword [esp + 0x5c]
mov ecx, esi
push edx
push edi
call fcn.0043aed0
and eax, 0xff
mov dword [esp + 0x54], eax
mov al, byte [ebp + 0x20]
test al, al
je 0x43a5ea
fld dword [esp + 0x20]
fcomp dword [0x4db74c]
fnstsw ax
test ah, 0x41
jne 0x43a5b7
fld dword [esp + 0x2c]
fcomp dword [0x4db74c]
fnstsw ax
test ah, 0x41
jne 0x43a5b7
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
fld dword [esp + 0x34]
fsub dword [0x4db748]
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 [0x4db748]
push ecx
mov ecx, esi
fstp dword [esp]
push edx
call fcn.00446f70
jmp 0x43a607
fld dword [esp + 0x34]
fsub dword [0x4db748]
push 0
push 5
push 2
push ecx
lea eax, [esp + 0xf4]
fstp dword [esp]
fld dword [esp + 0x38]
fsub dword [0x4db748]
push ecx
mov ecx, esi
fstp dword [esp]
push eax
call fcn.004456a0
jmp 0x43a607
mov ecx, dword [esp + 0x5c]
push ecx
push edi
mov ecx, esi
call fcn.0043aed0
lea edx, [esp + 0xec]
push eax
push edx
mov ecx, esi
call fcn.0043ae60
mov cl, byte [esi + 0x181]
mov eax, dword [eax]
test cl, cl
mov dword [esp + 0x10], eax
je 0x43a70d
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 0x43a70d
mov al, byte [ebp + 0x20]
test al, al
je 0x43a6e8
fld dword [esp + 0x20]
fcomp dword [0x4db74c]
fnstsw ax
test ah, 0x41
jne 0x43a6af
fld dword [esp + 0x2c]
fcomp dword [0x4db74c]
fnstsw ax
test ah, 0x41
jne 0x43a6af
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
fld dword [esp + 0x34]
fsub dword [0x4db748]
push 0
push 5
push 2
push edx
push eax
push ecx
fstp dword [esp]
fld dword [esp + 0x40]
fsub dword [0x4db748]
push ecx
lea ecx, [esp + 0x110]
fstp dword [esp]
push ecx
mov ecx, esi
call fcn.00446f70
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jmp 0x43a70d
fld dword [esp + 0x34]
fsub dword [0x4db748]
push 0
push 5
push 2
push ecx
lea edx, [esp + 0xf8]
fstp dword [esp]
fld dword [esp + 0x38]
fsub dword [0x4db748]
push ecx
mov ecx, esi
fstp dword [esp]
push edx
call fcn.004456a0
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jmp 0x43a70d
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 0x43a724
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x54]
cmp edi, edx
jne 0x43a736
test ecx, ecx
jne 0x43a72a
cmp eax, dword [esp + 0x74]
jne 0x43a736
mov cl, byte [esp + 0x26]
test cl, cl
jne 0x43a7d2
test bl, bl
je 0x43a7d2
cmp bl, 0xff
jne 0x43a75e
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 0x43a7d9
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 0x43a7d9
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 0x43a48e
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 0x43a3e3
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 0x43a8ac
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