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

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffa8
mov edi, edx
mov ebx, eax
lea eax, [ebx + 0x2c]
push eax
lea eax, [ebx + 0x1c]
push eax
lea eax, [ebx + 0x24]
push eax
lea ecx, [ebx + 0xc]
lea edx, [ebx + 0x3c]
mov eax, dword [ebx + 0x54]
call fcn.00547a1c
mov eax, ebx
call fcn.0055d724
test al, al
je 0x55cb86
lea eax, [esp + 0x40]
call fcn.00580454
lea edx, [esp + 0x40]
lea eax, [ebx + 0xc]
call fcn.0040b05c
test al, al
jne 0x55ca7e
xor eax, eax
mov dword [ebx + 0x80], eax
xor eax, eax
mov dword [ebx + 0x84], eax
jmp 0x55cae5
mov eax, dword [ebx + 0x20]
sar eax, 1
jns 0x55ca88
adc eax, 0
mov edx, dword [ebx + 0x18]
sub edx, eax
push edx
lea eax, [esp + 0x4c]
push eax
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
call fcn.0040b00c
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x44]
call fcn.00580454
lea edx, [esp + 0x44]
pop eax
call fcn.0040b05c
test al, al
je 0x55cad2
movzx eax, byte [ebx + 0x7c]
inc eax
mov dword [ebx + 0x80], eax
xor eax, eax
mov dword [ebx + 0x84], eax
jmp 0x55cae5
xor eax, eax
mov dword [ebx + 0x80], eax
movzx eax, byte [ebx + 0x7c]
inc eax
mov dword [ebx + 0x84], eax
push esp
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_BeginPaint
xor edx, edx
mov eax, dword [ebx + 0x6c]
call fcn.0058d68c
test al, al
jne 0x55cb77
mov eax, dword [edi + 4]
test eax, eax
jne 0x55cb11
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_GetDC
mov esi, eax
jmp 0x55cb13
mov esi, eax
mov eax, dword [ebx + 0x6c]
mov byte [eax + 0x80], 1
mov eax, ebx
call fcn.0055ce28
push 0xcc0020
push 0
mov eax, dword [ebx + 0x78]
push eax
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0x4c]
call fcn.0045cbac
call fcn.00457314
push eax
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x30]
sub eax, dword [ebx + 0x78]
push eax
push 0
mov eax, dword [ebx + 0x78]
push eax
push esi
call sub.gdi32.dll_BitBlt
cmp dword [edi + 4], 0
je 0x55cb77
push esi
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_ReleaseDC
push esp
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_EndPaint
jmp 0x55ccad
lea eax, [esp + 0x40]
call fcn.00580454
lea edx, [esp + 0x40]
lea eax, [ebx + 0xc]
call fcn.0040b05c
test al, al
jne 0x55cbb1
xor eax, eax
mov dword [ebx + 0x80], eax
xor eax, eax
mov dword [ebx + 0x84], eax
jmp 0x55cc18
mov eax, dword [ebx + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
mov eax, dword [ebx + 0x1c]
sar eax, 1
jns 0x55cbc4
adc eax, 0
mov ecx, dword [ebx + 0x14]
sub ecx, eax
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
call fcn.0040b00c
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x44]
call fcn.00580454
lea edx, [esp + 0x44]
pop eax
call fcn.0040b05c
test al, al
je 0x55cc05
movzx eax, byte [ebx + 0x7c]
inc eax
mov dword [ebx + 0x80], eax
xor eax, eax
mov dword [ebx + 0x84], eax
jmp 0x55cc18
xor eax, eax
mov dword [ebx + 0x80], eax
movzx eax, byte [ebx + 0x7c]
inc eax
mov dword [ebx + 0x84], eax
push esp
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_BeginPaint
xor edx, edx
mov eax, dword [ebx + 0x6c]
call fcn.0058d68c
test al, al
jne 0x55cca3
mov eax, dword [edi + 4]
test eax, eax
jne 0x55cc44
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_GetDC
mov esi, eax
jmp 0x55cc46
mov esi, eax
mov eax, dword [ebx + 0x6c]
mov byte [eax + 0x80], 1
mov eax, ebx
call fcn.0055ce28
push 0xcc0020
push 0
push 0
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0x4c]
call fcn.0045cbac
call fcn.00457314
push eax
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
push esi
call sub.gdi32.dll_BitBlt
cmp dword [edi + 4], 0
je 0x55cca3
push esi
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_ReleaseDC
push esp
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_EndPaint
add esp, 0x58
pop edi
pop esi
pop ebx
ret