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

Disassembly:
push 0xffffffffffffffff
push 0x622708
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x54]
mov ebp, dword [esi + 0x1c]
mov edi, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
sub ebp, edi
mov edi, dword [esi + 0x20]
mov dword [esp + 0x20], ebp
sub edi, edx
mov dword [esp + 0x1c], edi
call fcn.005e073b
mov eax, dword [esp + 0x9c]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x94], ebx
jne 0x553ab7
xor eax, eax
jmp 0x553aba
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x58]
call fcn.005e07f2
cmp eax, ebx
je 0x553f9e
mov al, byte [esi + 0x50]
mov dword [esp + 0x18], 0xffffffff
test al, 2
je 0x553af7
mov ecx, 0x6c6940
call fcn.00524d60
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x44]
push ebx
push ebx
mov dword [esp + 0x6c], 0x28
lea ecx, [eax + ebp]
add eax, edi
mov dword [esp + 0x74], eax
imul eax, ecx
mov dword [esp + 0x80], eax
lea eax, [esp + 0x5c]
neg eax
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x60]
sbb eax, eax
mov word [esp + 0x78], 1
and eax, ecx
lea ecx, [esi + 0x10]
mov dword [esp + 0x44], ecx
push ecx
lea ecx, [esp + 0x70]
push ebx
push ecx
push eax
mov word [esp + 0x8a], 0x20
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
cmp eax, ebx
mov dword [esp + 0x50], eax
je 0x553f9e
mov edx, dword [esp + 0x3c]
cmp dword [edx], ebx
je 0x553f9e
push eax
mov eax, dword [esp + 0x5c]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [esp + 0x9c]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x44]
add edi, eax
add eax, ebp
test ebx, ebx
je 0x553bb5
mov ebx, dword [ebx + 4]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x60]
push edx
push ebx
push edi
xor edi, edi
push eax
push edi
push edi
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x4c]
mov ebx, dword [esi + 0x48]
sub eax, ebx
mov ebx, dword [sym.imp.USER32.dll_IsRectEmpty]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x44]
imul eax, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
lea edi, [esi + 0x24]
push edi
mov dword [esp + 0x48], eax
mov byte [esp + 0x19], 0
mov byte [esp + 0x15], 0
mov byte [esp + 0x1a], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
mov byte [esp + 0x18], 0
mov byte [esp + 0x1b], 0
call ebx
test eax, eax
jne 0x553cfd
lea eax, [esi + 0x34]
push eax
call ebx
test eax, eax
jne 0x553cfd
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x3c]
cmp ecx, edx
jne 0x553c5d
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x38]
cmp edx, eax
jge 0x553c53
mov byte [esp + 0x12], 1
jmp 0x553cfd
mov byte [esp + 0x16], 1
jmp 0x553cfd
mov edi, dword [edi]
mov eax, dword [esi + 0x34]
cmp edi, eax
mov dword [esp + 0x34], edi
jne 0x553cb0
mov ebx, dword [esi + 0x28]
mov edi, dword [esi + 0x40]
lea eax, [ebx - 1]
cmp edi, eax
jl 0x553c87
cmp dword [esi + 0x38], ebx
jge 0x553c87
cmp edx, ecx
jl 0x553c87
mov byte [esp + 0x15], 1
jmp 0x553cfd
mov eax, dword [esi + 0x38]
lea edi, [eax - 1]
cmp dword [esi + 0x30], edi
jl 0x553cac
cmp ebx, eax
jge 0x553cac
cmp ecx, edx
jl 0x553cac
mov eax, dword [esi + 0x1c]
mov byte [esp + 0x11], 1
sub eax, ecx
add eax, edx
mov dword [esp + 0x28], eax
jmp 0x553cfd
mov edi, dword [esp + 0x34]
mov eax, dword [esi + 0x40]
mov ebx, dword [esi + 0x30]
cmp ebx, eax
jne 0x553ccd
cmp edi, dword [esi + 0x34]
jge 0x553cc6
mov byte [esp + 0x13], 1
jmp 0x553cfd
mov byte [esp + 0x14], 1
jmp 0x553cfd
mov ebx, dword [esi + 0x34]
inc ebx
cmp ecx, ebx
jne 0x553cf3
mov ebx, dword [esi + 0x28]
mov edi, dword [esi + 0x18]
mov ecx, dword [esi + 0x44]
sub eax, ebx
add eax, edi
mov byte [esp + 0x17], 1
add ecx, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
jmp 0x553cfd
dec edx
cmp edi, edx
jne 0x553cfd
mov byte [esp + 0x11], 1
mov ecx, dword [esi + 0x44]
xor ebx, ebx
cmp ecx, ebx
jbe 0x553f02
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
sub eax, ebp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
xor edx, edx
div ecx
mov edi, dword [esi + 0x48]
mov edx, eax
mov al, byte [esp + 0x11]
add edx, edi
test al, al
mov dword [esp + 0x34], edx
je 0x553d3a
lea edi, [ecx + ecx]
sub edi, ebx
jmp 0x553d3c
xor edi, edi
mov al, byte [esp + 0x14]
neg al
sbb eax, eax
and eax, ecx
add ecx, ecx
sub ecx, eax
mov eax, dword [esp + 0x28]
sub ecx, edi
lea edi, [ecx + eax + 1]
mov al, byte [esp + 0x13]
test al, al
je 0x553d61
mov eax, dword [esi + 0x44]
jmp 0x553d63
xor eax, eax
add eax, ebp
cmp edi, eax
jge 0x553d87
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
add eax, ebx
push ecx
add eax, ebp
mov ecx, esi
push eax
push edi
push edx
call fcn.00552dc0
mov edx, dword [esp + 0x34]
inc edi
jmp 0x553d54
mov al, byte [esp + 0x15]
test al, al
je 0x553d98
mov eax, dword [esi + 0x44]
shl eax, 1
sub eax, ebx
jmp 0x553d9a
xor eax, eax
mov cl, byte [esp + 0x16]
test cl, cl
je 0x553da7
mov ecx, dword [esi + 0x44]
jmp 0x553da9
xor ecx, ecx
mov edi, dword [esi + 0x44]
shl edi, 1
sub edi, ecx
sub edi, eax
mov al, byte [esp + 0x12]
inc edi
test al, al
je 0x553dc0
mov eax, dword [esi + 0x44]
jmp 0x553dc2
xor eax, eax
mov ecx, dword [esp + 0x1c]
add eax, ecx
cmp edi, eax
jge 0x553e03
mov al, byte [esp + 0x17]
test al, al
je 0x553deb
cmp edi, dword [esp + 0x2c]
jl 0x553deb
mov ecx, dword [esi + 0x44]
mov eax, ebx
sub eax, ecx
mov ecx, dword [esp + 0x30]
add eax, ecx
cmp edi, eax
jl 0x553db2
mov ecx, dword [esp + 0x18]
lea eax, [ebx + ebp]
push ecx
push edi
push eax
push edx
mov ecx, esi
call fcn.00552dc0
mov edx, dword [esp + 0x34]
jmp 0x553db2
mov ecx, ebx
mov edi, dword [esi + 0x44]
imul ecx, ebx
xor ebp, ebp
mov dword [esp + 0x34], ecx
test edi, edi
jbe 0x553ee4
jmp 0x553e1f
mov ecx, dword [esp + 0x34]
mov eax, ebp
imul eax, ebp
add eax, ecx
mov ecx, dword [esp + 0x44]
cmp eax, ecx
mov dword [esp + 0x48], eax
jg 0x553ed8
fild dword [esp + 0x48]
fsqrt
call fcn.00511abc
imul eax, dword [esp + 0x38]
xor edx, edx
mov ecx, dword [esi + 0x48]
div edi
mov edi, eax
mov al, byte [esp + 0x12]
add edi, ecx
test al, al
jne 0x553e7e
mov al, byte [esp + 0x13]
test al, al
jne 0x553e7e
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [edx + ebp]
lea edx, [ebx + ecx]
push eax
push edx
push edi
mov ecx, esi
call fcn.00552dc0
mov al, byte [esp + 0x11]
test al, al
jne 0x553eab
mov al, byte [esp + 0x14]
test al, al
jne 0x553eab
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esi + 0x44]
shl eax, 1
lea edx, [ecx + ebp]
sub eax, ebx
push edx
push eax
push edi
mov ecx, esi
call fcn.00552dc0
mov al, byte [esp + 0x15]
test al, al
jne 0x553ed8
mov al, byte [esp + 0x16]
test al, al
jne 0x553ed8
mov edx, dword [esi + 0x44]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push ecx
shl edx, 1
sub edx, ebp
lea ecx, [ebx + eax]
push edx
push ecx
push edi
mov ecx, esi
call fcn.00552dc0
mov edi, dword [esi + 0x44]
inc ebp
cmp ebp, edi
jb 0x553e1b
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
add ecx, edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x44]
inc ebx
cmp ebx, ecx
jb 0x553d18
mov eax, dword [esi + 0x44]
mov ecx, dword [esp + 0x1c]
add ecx, eax
mov edi, dword [esi + 0x18]
lea edx, [eax + ebp]
mov ebp, dword [esp + 0x58]
lea eax, [esp + 0x54]
push 0xcc0020
neg eax
sbb eax, eax
mov ebx, dword [esi + 0x14]
and eax, ebp
push 0
push 0
push eax
push ecx
push edx
push edi
mov edi, dword [esp + 0xb8]
push ebx
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov al, byte [esi + 0x50]
mov bl, 1
test bl, al
je 0x553f5d
lea eax, [esp + 0x54]
mov ecx, esi
push eax
push edi
call fcn.00553fd0
test al, al
jne 0x553f5d
xor bl, bl
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x553f71
mov ecx, dword [esp + 0x58]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x50]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x54]
mov dword [esp + 0x94], 0xffffffff
mov dword [eax], 0
call fcn.005e0870
mov al, bl
jmp 0x553fb4
lea ecx, [esp + 0x54]
mov dword [esp + 0x94], 0xffffffff
call fcn.005e0870
xor al, al
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret 4