Function at 0x43b7c0
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 0x43c639
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x43c639
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x43c639
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x43c639
mov dl, byte [ecx + 0x182]
test dl, dl
je 0x43c639
test eax, eax
jge 0x43b817
mov eax, dword [ecx + 0xc]
mov dword [ebp + 0x14], eax
test edi, edi
jge 0x43b821
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 0x43c639
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x43b884
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 0x43b8a5
mov edx, ecx
mov esi, dword [esp + 0xa8]
cmp esi, edx
jge 0x43b8b6
mov dword [esp + 0x64], esi
jmp 0x43b8c2
cmp eax, ecx
mov dword [esp + 0x64], eax
jg 0x43b8c2
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x9c]
mov ecx, dword [ebp + 0xc]
cmp edx, ecx
mov esi, edx
jg 0x43b8d4
mov esi, ecx
mov eax, dword [esp + 0xa4]
cmp eax, esi
jge 0x43b8e5
mov dword [esp + 0x60], eax
jmp 0x43b8f1
cmp edx, ecx
mov dword [esp + 0x60], edx
jg 0x43b8f1
mov dword [esp + 0x60], ecx
mov edx, dword [ebp + 0x14]
mov esi, eax
add ecx, edx
cmp eax, ecx
jl 0x43b8fe
mov esi, ecx
mov edx, dword [esp + 0x9c]
cmp edx, esi
jle 0x43b90d
mov eax, edx
jmp 0x43b913
cmp eax, ecx
jl 0x43b913
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 0x43b92b
mov esi, ecx
cmp dword [esp + 0xa0], esi
jle 0x43b93d
mov esi, dword [esp + 0xa0]
jmp 0x43b945
cmp edx, ecx
mov esi, edx
jl 0x43b945
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 0x43bd79
mov al, byte [esp + 0x27]
test al, al
jne 0x43bd79
mov eax, dword [esp + 0x3c]
mov cl, byte [eax + 0x181]
test cl, cl
jne 0x43bd79
mov edx, dword [ebp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jne 0x43ba0d
cmp edi, dword [eax + 0x10]
jne 0x43ba0d
push 3
push ebx
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov al, byte [ebp + 0x24]
test al, al
je 0x43b9df
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 0x43c5f4
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 0x43c5f4
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 0x43bd31
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 0x43bd31
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.004989e0
add esp, 8
call fcn.00496024
test eax, eax
jge 0x43bb36
xor eax, eax
jmp 0x43bb45
push edi
push ebx
call fcn.004989e0
add esp, 8
call fcn.00496024
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 0x43bb68
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
lea ebx, [ecx + edx]
jmp 0x43bb73
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 0x43bcfd
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.004989e0
add esp, 8
call fcn.00496024
test eax, eax
jge 0x43bbc9
xor eax, eax
jmp 0x43bbdc
mov ecx, dword [esp + 0x10]
push edi
push ecx
call fcn.004989e0
add esp, 8
call fcn.00496024
mov cl, byte [ebp + 0x20]
test cl, cl
je 0x43bc88
fld dword [esp + 0x28]
fcomp dword [0x4d4178]
fnstsw ax
test ah, 0x41
jne 0x43bc4f
fld dword [esp + 0x54]
fcomp dword [0x4d4178]
fnstsw ax
test ah, 0x41
jne 0x43bc4f
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
fld dword [esp + 0x48]
fsub dword [0x4d4168]
push 0
push 5
push 2
push edx
push eax
push ecx
fstp dword [esp]
fld dword [esp + 0x64]
fsub dword [0x4d4168]
push ecx
lea ecx, [esp + 0xa0]
fstp dword [esp]
push ecx
mov ecx, esi
call fcn.00443160
mov edx, dword [eax]
mov dword [esp + 0xc], edx
jmp 0x43bcd3
fld dword [esp + 0x48]
fsub dword [0x4d4168]
push 0
push 5
push 2
push ecx
lea eax, [esp + 0x9c]
fstp dword [esp]
fld dword [esp + 0x5c]
fsub dword [0x4d4168]
push ecx
mov ecx, esi
fstp dword [esp]
push eax
call fcn.00441890
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
jmp 0x43bcd3
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x43bcb4
mov edx, dword [esp + 0x50]
mov ecx, esi
push edx
push eax
call fcn.0043c790
push eax
lea eax, [esp + 0x80]
push eax
mov ecx, esi
call fcn.0043c720
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
jmp 0x43bcd3
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 0x43bb87
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 0x43baf1
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 0x43c5df
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.0043b2d0
mov ecx, edi
call fcn.0043b310
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 0x43c596
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 0x43c110
mov ecx, dword [edx + 0x10]
mov edi, dword [ebp + 0x18]
cmp edi, ecx
jne 0x43c110
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 0x43c596
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 0x43beeb
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 0x43bf0b
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 0x43c0d7
mov dword [esp + 0x4c], eax
mov al, byte [esp + 0x27]
test al, al
je 0x43bf5e
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 0x43bf63
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 0x43bfe3
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push eax
push ecx
mov ecx, edi
call fcn.0043c790
and eax, 0xff
lea edx, [esp + 0x7c]
push eax
push edx
mov ecx, edi
mov dword [esp + 0x5c], eax
call fcn.0043c720
mov cl, byte [edi + 0x181]
mov eax, dword [eax]
test cl, cl
mov dword [esp + 0x10], eax
je 0x43c005
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 0x43c005
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 0x43c01c
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x70]
cmp ecx, edx
jne 0x43c02e
test edi, edi
jne 0x43c022
cmp eax, dword [esp + 0x74]
jne 0x43c02e
mov cl, byte [esp + 0x26]
test cl, cl
jne 0x43c0bc
test bl, bl
je 0x43c0bc
cmp bl, 0xff
jne 0x43c052
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 0x43c0bf
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 0x43c0bf
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 0x43bf36
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 0x43bedf
jmp 0x43c596
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 0x43c596
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.004989e0
add esp, 8
call fcn.00496024
test eax, eax
jge 0x43c1a1
xor eax, eax
jmp 0x43c1b0
push edi
push ebx
call fcn.004989e0
add esp, 8
call fcn.00496024
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 0x43c1d0
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 0x43c562
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.004989e0
add esp, 8
call fcn.00496024
test eax, eax
jge 0x43c249
xor edi, edi
jmp 0x43c25a
push edi
push ebx
call fcn.004989e0
add esp, 8
call fcn.00496024
mov edi, eax
mov al, byte [esp + 0x27]
test al, al
je 0x43c27a
mov ecx, dword [esi + 0x1bc]
mov edx, dword [esp + 0x80]
add ecx, edi
mov al, byte [ecx + edx]
mov byte [esp + 0x1c], al
jmp 0x43c27f
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 0x43c3af
mov edx, dword [esp + 0x5c]
mov ecx, esi
push edx
push edi
call fcn.0043c790
and eax, 0xff
mov dword [esp + 0x54], eax
mov al, byte [ebp + 0x20]
test al, al
je 0x43c35a
fld dword [esp + 0x20]
fcomp dword [0x4d4178]
fnstsw ax
test ah, 0x41
jne 0x43c327
fld dword [esp + 0x2c]
fcomp dword [0x4d4178]
fnstsw ax
test ah, 0x41
jne 0x43c327
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
fld dword [esp + 0x34]
fsub dword [0x4d4168]
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 [0x4d4168]
push ecx
mov ecx, esi
fstp dword [esp]
push edx
call fcn.00443160
jmp 0x43c377
fld dword [esp + 0x34]
fsub dword [0x4d4168]
push 0
push 5
push 2
push ecx
lea eax, [esp + 0xf4]
fstp dword [esp]
fld dword [esp + 0x38]
fsub dword [0x4d4168]
push ecx
mov ecx, esi
fstp dword [esp]
push eax
call fcn.00441890
jmp 0x43c377
mov ecx, dword [esp + 0x5c]
push ecx
push edi
mov ecx, esi
call fcn.0043c790
lea edx, [esp + 0xec]
push eax
push edx
mov ecx, esi
call fcn.0043c720
mov cl, byte [esi + 0x181]
mov eax, dword [eax]
test cl, cl
mov dword [esp + 0x10], eax
je 0x43c47d
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 0x43c47d
mov al, byte [ebp + 0x20]
test al, al
je 0x43c458
fld dword [esp + 0x20]
fcomp dword [0x4d4178]
fnstsw ax
test ah, 0x41
jne 0x43c41f
fld dword [esp + 0x2c]
fcomp dword [0x4d4178]
fnstsw ax
test ah, 0x41
jne 0x43c41f
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
fld dword [esp + 0x34]
fsub dword [0x4d4168]
push 0
push 5
push 2
push edx
push eax
push ecx
fstp dword [esp]
fld dword [esp + 0x40]
fsub dword [0x4d4168]
push ecx
lea ecx, [esp + 0x110]
fstp dword [esp]
push ecx
mov ecx, esi
call fcn.00443160
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jmp 0x43c47d
fld dword [esp + 0x34]
fsub dword [0x4d4168]
push 0
push 5
push 2
push ecx
lea edx, [esp + 0xf8]
fstp dword [esp]
fld dword [esp + 0x38]
fsub dword [0x4d4168]
push ecx
mov ecx, esi
fstp dword [esp]
push edx
call fcn.00441890
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jmp 0x43c47d
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 0x43c494
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x54]
cmp edi, edx
jne 0x43c4a6
test ecx, ecx
jne 0x43c49a
cmp eax, dword [esp + 0x74]
jne 0x43c4a6
mov cl, byte [esp + 0x26]
test cl, cl
jne 0x43c542
test bl, bl
je 0x43c542
cmp bl, 0xff
jne 0x43c4ce
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 0x43c549
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 0x43c549
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 0x43c1fe
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 0x43c153
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 0x43c61c
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