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

Disassembly:
push ebp
push edi
mov eax, 1
push esi
push ebx
mov ebx, ecx
sub esp, 0x6c
mov esi, dword [esp + 0x88]
cmp esi, dword [ecx + 0x18]
mov ebp, dword [esp + 0x8c]
je 0x555af0
mov edi, dword [0x61e510]
cmp ebx, edi
je 0x555b04
mov edx, dword [ebx + 0x10]
cmp dword [esp + 0x80], edx
je 0x555a30
or dword [ebx + 0x40], 0x10
test al, al
jne 0x555b98
mov eax, dword [esp + 0x80]
mov dword [esp + 0x34], 0x615
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x84]
mov dword [ebx + 0x14], eax
cmp ebx, edi
je 0x555a21
mov edx, dword [ebx + 0x68]
test edx, edx
je 0x555a21
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x555b13
movzx eax, byte [ebx + 0x94]
mov ecx, dword [ebx + 0x80]
mov edi, dword [ebx + 0x7c]
mov edx, dword [ebx + 0x84]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 8], eax
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
lea eax, [esp + 0x54]
mov dword [esp], eax
mov eax, ebx
call fcn.004f0f70
test eax, eax
je 0x5559d3
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
sub dword [esp + 0x80], ecx
add eax, edx
sub dword [esp + 0x84], eax
lea esi, [esi + ecx*2]
add eax, edx
add ebp, eax
mov eax, 1
test esi, esi
mov dword [esp + 4], 0
cmovle esi, eax
test ebp, ebp
cmovle ebp, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x68]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
sub esp, 0x1c
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov ecx, dword [ebx + 0x14]
cmp dword [esp + 0x84], ecx
jne 0x5558f3
test al, al
mov dword [esp + 0x34], 0x616
je 0x555a21
mov eax, dword [esp + 0x84]
mov ecx, ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.00544740
mov ecx, ebx
sub esp, 0x10
call fcn.0055eea0
test eax, eax
je 0x55591b
cmp byte [ebx + 0x4c], 0xef
jbe 0x555b63
mov edx, dword [ebx + 0x68]
test edx, edx
je 0x55591b
mov eax, dword [edx + 0xc]
test eax, eax
je 0x555abc
mov dword [esp + 0x38], edx
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
sub esp, 4
mov edx, dword [esp + 0x38]
mov dword [edx + 0xc], 0
mov edx, dword [ebx + 0x68]
or byte [ebx + 0x4d], 0x80
mov dword [0x62116c], 1
test edx, edx
je 0x55591b
test esi, esi
jle 0x55591b
test ebp, ebp
jle 0x55591b
mov dword [edx + 0x14], 1
jmp 0x55591b
cmp dword [ecx + 0x1c], ebp
mov edi, dword [0x61e510]
setne al
cmp ebx, edi
jne 0x5558e3
mov dword [0x61e510], 0
jmp 0x5558e3
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x90], 0
mov byte [ebx + 0x94], 1
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], edx
mov edi, edx
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 1
jmp 0x55595a
mov eax, dword [ebx + 0x1c]
mov dword [esp], pe_nt_image_headers32
mov ecx, ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 4], eax
call fcn.00552290
mov edx, dword [ebx + 0x68]
sub esp, 0x14
jmp 0x555aca
mov dword [esp + 0x34], 0x614
jmp 0x555a4c