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

Disassembly:
push 0xffffffffffffffff
push 0x5e52ba
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x74]
test eax, eax
je 0x5553bc
mov ebp, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
jmp 0x5553d7
push edi
lea ecx, [esp + 0x58]
call fcn.0055c8a0
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
mov edx, dword [eax + 8]
sub edx, dword [eax]
mov dword [esp + 0x28], ecx
mov ebp, edx
mov esi, dword [sym.imp.USER32.dll_SetRectEmpty]
lea eax, [edi + 0x248]
push eax
mov dword [esp + 0x28], ebp
call esi
lea eax, [edi + 0x22c]
push eax
call esi
mov ecx, edi
call fcn.00539c50
mov edx, dword [edi]
mov edx, dword [edx + 0x1b8]
mov ebx, eax
lea eax, [esp + 0x44]
push eax
mov ecx, edi
mov dword [esp + 0x1c], ebx
call edx
mov ecx, edi
call fcn.00538f70
mov edx, dword [eax]
mov edx, dword [edx + 0x8c]
push 0
push 0
push edi
push 0
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call edx
cmp dword [edi + 0x1b8], 0
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 0
je 0x55548e
mov ecx, edi
call fcn.00538f70
push 0
push 0
sub esp, 0x10
mov esi, eax
mov dword [esp + 0x8c], esp
mov eax, esp
push 0
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [esi]
mov edx, dword [edx + 0xc8]
push 0
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add dword [esp + 0x48], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
cmp dword [edi + 0x1dc], 0
je 0x5554a7
mov edx, dword [edi + 0x1d8]
sub edx, dword [edi + 0x1d0]
add dword [esp + 0x50], edx
mov ecx, dword [edi + 0xfc]
push 0x23be
call fcn.00525840
cmp dword [edi + 0x1ac], 0
mov esi, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], 0
je 0x55555b
mov ecx, edi
call fcn.00538f70
mov edx, dword [eax]
mov edx, dword [edx + 0xc0]
push 0
push 0
push edi
push 0
push 1
push 0
lea ecx, [esp + 0x54]
push ecx
mov ecx, eax
call edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add dword [esp + 0x50], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
test esi, esi
jne 0x55555f
push 0x174
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x74], eax
mov dword [esp + 0x6c], esi
test eax, eax
je 0x55552c
mov ecx, eax
call fcn.00554080
jmp 0x55552e
xor eax, eax
mov ecx, dword [edi + 0xfc]
push 1
push 0xffffffffffffffff
push 0x6b70dc
push 0x23be
push eax
mov dword [esp + 0x80], 0xffffffff
call fcn.00526540
mov dword [esp + 0x14], eax
mov esi, eax
jmp 0x55555f
test esi, esi
je 0x55556d
mov edx, dword [esi]
mov eax, dword [edx + 0x94]
push 1
mov ecx, esi
call eax
cmp dword [esp + 0x78], 0
jne 0x5557fd
cmp dword [edi + 0x224], 1
jne 0x55558b
mov dword [edi + 0x224], 0
cmp dword [edi + 0x224], 0
mov eax, dword [esp + 0x48]
mov ebx, eax
je 0x5555b8
mov edx, dword [esp + 0x44]
lea ebx, [eax + 0x10]
push ebx
mov ecx, ebp
sub ecx, dword [esp + 0x50]
push ecx
push eax
push edx
lea eax, [edi + 0x248]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov esi, dword [edi + 0x224]
cmp esi, dword [esp + 0x18]
mov dword [esp + 0x78], 1
mov dword [esp + 0x74], esi
jge 0x5556b8
jmp 0x5555da
mov esi, dword [esp + 0x74]
push esi
mov ecx, edi
call fcn.00539c60
mov esi, eax
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
and ecx, 0xfffffff7
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
push 0
mov ecx, esi
call edx
test eax, eax
je 0x5556a1
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov edx, dword [esi + 0xc8]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0xcc]
sub eax, ecx
cmp dword [esi + 0x98], 0
mov dword [esp + 0x5c], edx
je 0x55563f
add ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x50]
sub ecx, eax
sub ecx, ebx
add edx, 0x10
cmp ecx, edx
jge 0x555665
cmp dword [esp + 0x78], 0
je 0x5556b4
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
add eax, ebx
mov dword [esp + 0x20], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov ecx, ebp
sub ecx, dword [esp + 0x5c]
mov ebp, dword [esi]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov eax, dword [ebp + 0x7c]
mov ecx, esi
mov dword [esp + 0x88], 0
call eax
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x74]
inc eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x74], eax
jl 0x5555d6
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x18]
cmp esi, ebx
jge 0x5556e7
push esi
mov ecx, edi
call fcn.00539c60
mov ecx, dword [eax + 0xd0]
mov edx, dword [eax]
mov edx, dword [edx + 0x94]
or ecx, 8
push ecx
mov ecx, eax
call edx
inc esi
cmp esi, ebx
jl 0x5556c0
mov esi, dword [esp + 0x74]
mov dword [edi + 0x228], esi
cmp esi, ebx
je 0x55571d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
mov edx, eax
sub edx, ecx
push edx
mov edx, ebp
sub edx, dword [esp + 0x50]
sub eax, ecx
push edx
sub eax, 0x10
push eax
mov eax, dword [esp + 0x50]
push eax
lea eax, [edi + 0x22c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov esi, dword [esp + 0x14]
cmp dword [edi + 0x1ac], 0
je 0x555773
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
push 0
mov ecx, esi
call edx
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x44]
mov esi, dword [esi]
add ecx, eax
mov dword [esp + 0x60], ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], ebx
mov edx, ebp
sub edx, dword [esp + 0x5c]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x7c]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x70]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x24]
call eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ebx, dword [sym.imp.USER32.dll_SetRect]
mov esi, dword [esp + 0x28]
push eax
sub eax, dword [esp + 0x3c]
mov ecx, ebp
sub ecx, dword [esp + 0x50]
push ecx
push eax
push edx
lea eax, [edi + 0x1bc]
push eax
call ebx
cmp dword [edi + 0x1dc], 0
je 0x5557d0
mov edx, dword [edi + 0x1d8]
sub edx, dword [edi + 0x1d0]
mov ecx, dword [esp + 0x50]
sub ebp, dword [esp + 0x4c]
lea eax, [edi + 0x1cc]
sub edx, ecx
add edx, esi
push edx
push ebp
sub esi, ecx
mov ecx, dword [esp + 0x4c]
push esi
push ecx
push eax
call ebx
cmp dword [esp + 0x7c], 0
je 0x5557e7
mov edx, dword [edi]
mov eax, dword [edx + 0x1ac]
push 1
push 0
mov ecx, edi
call eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc
lea ecx, [ebx - 1]
cmp dword [edi + 0x228], ecx
jne 0x55580e
mov dword [edi + 0x228], ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
sub eax, ecx
mov ebx, eax
mov dword [esp + 0x78], ebx
cmp dword [edi + 0x228], edx
je 0x555858
mov edx, dword [esp + 0x28]
push eax
mov eax, ebp
sub eax, dword [esp + 0x50]
sub edx, ecx
push eax
mov eax, dword [esp + 0x4c]
sub edx, 0x10
push edx
push eax
lea eax, [edi + 0x22c]
sub ebx, 0x10
push eax
mov dword [esp + 0x8c], ebx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [edi + 0x228]
sub eax, 1
mov dword [esp + 0x74], eax
js 0x555925
jmp 0x555874
mov eax, dword [esp + 0x74]
push eax
mov ecx, edi
call fcn.00539c60
mov esi, eax
mov eax, dword [esi + 0xd0]
mov edx, dword [esi]
mov edx, dword [edx + 0x94]
and eax, 0xfffffff7
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
push 0
mov ecx, esi
call edx
test eax, eax
je 0x555912
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov edx, dword [esi + 0xc8]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0xcc]
sub eax, ecx
sub ebx, eax
cmp ebx, 0x10
mov dword [esp + 0x5c], edx
jl 0x55591d
mov edx, dword [esp + 0x44]
sub esp, 0x10
mov eax, esp
mov ecx, ebp
sub ecx, dword [esp + 0x5c]
mov ebp, dword [esi]
mov dword [eax], edx
mov edx, dword [ebp + 0x7c]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
cmp dword [esi + 0x98], 0
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x78], ebx
je 0x555912
sub ebx, dword [esp + 0x1c]
mov dword [esp + 0x78], ebx
sub dword [esp + 0x74], 1
jns 0x555870
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x74]
mov ebx, eax
test eax, eax
jl 0x555957
jmp 0x555930
push ebx
mov ecx, edi
call fcn.00539c60
mov ecx, dword [eax + 0xd0]
mov edx, dword [eax]
mov edx, dword [edx + 0x94]
or ecx, 8
push ecx
mov ecx, eax
call edx
sub ebx, 1
jns 0x555930
mov eax, dword [esp + 0x74]
lea ecx, [eax + 1]
mov dword [edi + 0x224], ecx
cmp eax, 0xffffffff
je 0x555721
mov eax, dword [esp + 0x48]
lea edx, [eax + 0x10]
push edx
mov edx, dword [esp + 0x48]
mov ecx, ebp
sub ecx, dword [esp + 0x50]
push ecx
push eax
push edx
lea eax, [edi + 0x248]
push eax
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x555721