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

Disassembly:
sub esp, 0xac
push ebp
mov ebp, dword [esp + 0xb4]
push esi
push edi
xor edi, edi
push edi
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.00591060
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x592400
mov eax, dword [esp + 0xc0]
cmp eax, 0x806f
push ebx
mov ebx, 2
ja 0x591713
je case.default.0x5916b6
cmp eax, 4
ja case.default.0x5916b6
jmp dword [eax*4 + 0x59240c]
push ebp
call fcn.00591430
mov ecx, dword [0x6a0f40]
add esp, 4
push edi
push edi
push 0x8065
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xac
ret
push 0x806f
push edi
push 0x806e
push ebp
call dword [sym.imp.USER32.dll_PostMessageA]
call fcn.00591510
push ebp
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x591753
lea edx, [esi + 0x1468]
lea eax, [esp + 0x10]
jmp 0x591769
sub eax, 0x8070
je case.default.0x5916b6
dec eax
jne case.default.0x5916b6
mov eax, dword [esi + 0x1480]
cmp eax, edi
je 0x5923ff
cmp dword [esi + 0x14b0], ebx
jne 0x5923ff
push edi
push edi
push 0xba
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 0x14b4], eax
je 0x5923ff
jmp 0x5916fc
lea ecx, [esp + 0x10]
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x10]
lea eax, [esi + 0x1468]
push edx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esi + 0x148c]
mov ebp, 1
cmp eax, ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
jne 0x5917c9
mov eax, dword [esi + 0x1314]
add eax, 0xfffffffc
cmp eax, 5
ja case.0x591796.5
jmp dword [eax*4 + 0x592420]
cmp dword [esi + 0x1318], ebp
jne case.0x591796.5
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
inc ecx
inc eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
jmp case.0x5917f7.5
cmp eax, ebx
jne 0x5917e4
mov eax, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
jmp case.0x5917f7.5
cmp eax, 3
jne case.0x5917f7.5
mov eax, dword [esi + 0x1314]
add eax, 0xfffffffc
cmp eax, 5
ja case.0x5917f7.5
jmp dword [eax*4 + 0x592438]
cmp dword [esi + 0x1318], ebp
jne case.0x5917f7.5
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
inc ecx
inc eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x1380]
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x60], edi
je 0x59186a
mov ecx, dword [esi + 0x1488]
push ecx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x59186a
mov eax, dword [esi + 0x1488]
lea edx, [esp + 0xac]
push edx
mov ebx, ebp
push eax
mov dword [esp + 0x3c], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esp + 0xb4], edi
jg 0x59186a
mov ebx, 2
mov dword [esp + 0x34], ebx
cmp dword [esi + 0x1314], ebp
jne 0x591882
cmp dword [esi + 0x1348], ebp
jne 0x591882
cmp ebx, ebp
je 0x591882
mov dword [esp + 0x60], ebp
mov edx, dword [esp + 0xc0]
mov ecx, dword [esi + 0x189c]
push edx
mov dword [esp + 0x98], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
cmp ebx, edi
je 0x5918e1
mov eax, dword [esi + 0x1754]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebx
call ebp
push edi
lea ecx, [esp + 0x98]
push ecx
push edi
push ebx
mov dword [esp + 0x3c], eax
call fcn.0049ab30
mov edx, dword [esp + 0x3c]
add esp, 0x10
push edx
push ebx
call ebp
mov eax, dword [esp + 0xc0]
push ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x640398]
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov ebx, dword [esi + 0x1334]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x1480]
cmp eax, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x44], ebx
je 0x591d45
lea ecx, [esp + 0x64]
xor edi, edi
push ecx
push eax
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0xc0]
push 2
lea edx, [esp + 0x68]
push edx
push eax
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
sub edx, ecx
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x64]
sub eax, edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x2c], 2
lea ecx, [ecx]
mov eax, dword [esi + 0x1480]
push 0
push 0
push 0xba
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ebp, [eax - 1]
test ebp, ebp
mov dword [esp + 0xa8], eax
jge 0x5919e6
xor ebp, ebp
mov ecx, dword [esi + 0x14b0]
mov edx, dword [esi + 0x14a8]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
lea ecx, [edx + eax + 4]
mov edx, dword [esp + 0x14]
mov eax, edi
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x94]
sar eax, 1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
cmp eax, 1
mov ecx, edx
jne 0x591a47
lea ecx, [edx + edx]
xor ebp, ebp
mov eax, dword [esp + 0x40]
lea eax, [ecx + eax - 2]
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x28], eax
jle 0x591a56
test ebp, ebp
jle 0x591a56
dec ebp
jmp 0x591a1e
cmp eax, 2
jne 0x591a2c
lea ecx, [edx - 1]
imul ecx, ebp
add ecx, edx
jmp 0x591a2e
mov ecx, dword [esi + 0x1484]
test ecx, ecx
je 0x591bcd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x591b18
sub eax, ecx
mov ecx, dword [esi + 0x1374]
imul ecx, eax
mov dword [esp + 0x48], ecx
sub ebx, dword [esp + 0x38]
fild dword [esp + 0x48]
mov dword [esp + 0x40], eax
fstp qword [esp + 0x48]
fld qword [esp + 0x48]
fdiv qword [0x5f53e8]
call fcn.005d98b4
mov ebp, eax
test ebp, ebp
jge 0x591ab2
xor ebp, ebp
mov eax, dword [esp + 0x40]
cmp ebp, eax
jle 0x591abc
mov ebp, eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ebx
push ebp
sub edi, ebx
sub edi, ecx
push edi
push edx
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
sub ecx, ebp
sub ecx, eax
push ebx
sub ecx, edi
mov edi, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
sub edx, ebx
add ebp, eax
sub edx, ecx
push edx
add ebp, edi
push ebp
lea eax, [esp + 0xa8]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ebx, dword [esp + 0x44]
jmp 0x591c19
sub eax, dword [esp + 0x44]
sub eax, ecx
mov ecx, dword [esi + 0x1374]
imul ecx, eax
mov dword [esp + 0x48], ecx
sub ebx, dword [esp + 0x38]
fild dword [esp + 0x48]
mov dword [esp + 0x40], eax
fstp qword [esp + 0x48]
fld qword [esp + 0x48]
fdiv qword [0x5f53e8]
call fcn.005d98b4
mov ebp, eax
test ebp, ebp
jge 0x591b52
xor ebp, ebp
mov eax, dword [esp + 0x40]
cmp ebp, eax
jle 0x591b5c
mov ebp, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
push ebx
mov edx, ebp
sub edx, eax
push edx
mov edx, dword [esp + 0x1c]
sub edi, ebx
sub edi, edx
mov edx, dword [esp + 0x18]
add eax, ecx
push edi
add eax, edx
push eax
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x20]
sub edx, ebp
sub edx, ecx
sub edx, eax
push ebx
sub edx, edi
mov edi, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x24]
sub edx, ebx
mov ebx, dword [esp + 0x1c]
add ebp, ecx
add ebp, eax
sub edx, ebx
push edx
add ebp, edi
push ebp
lea eax, [esp + 0xa8]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ebx, dword [esp + 0x44]
jmp 0x591c19
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x60]
mov ebp, dword [esp + 0x20]
sub eax, edx
sub edi, eax
push eax
sub edi, dword [esp + 0x18]
test ecx, ecx
lea eax, [esp + 0x54]
jne 0x591bf9
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
sub ecx, ebp
push ecx
push edi
push edx
jmp 0x591c12
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
sub edx, ecx
sub edx, ebx
sub edx, ebp
push edx
push edi
mov edi, dword [esp + 0x1c]
add ecx, ebx
add ecx, edi
push ecx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x78]
push edx
call edi
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov ebp, 2
sub edx, ebp
sub ecx, ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov eax, dword [esi + 0x1484]
test eax, eax
je 0x591c9c
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x88]
push ecx
call edi
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
sub ecx, ebp
sub eax, ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
push 0x18
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esi + 0x1480]
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi + 0x1480]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x74]
push ecx
push 0
push 0xb4
push edx
call edi
mov eax, dword [esi + 0x1480]
push 0
push 0
push 0xba
push eax
call edi
cmp eax, dword [esp + 0xa8]
je 0x591d08
mov eax, dword [esp + 0x2c]
dec eax
test eax, eax
mov dword [esp + 0x2c], eax
jg 0x5919c0
mov ecx, dword [esi + 0x1480]
push 0
push 0
push 0xba
push ecx
call edi
mov dword [esi + 0x14b4], eax
cmp dword [esp + 0xc4], 0x8071
jne 0x591d45
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x5923ff
mov eax, dword [esi + 0x1488]
test eax, eax
je 0x591d62
push 0x13
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x1480]
test eax, eax
je 0x591d7f
push 0x13
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x147c]
test eax, eax
je 0x591d97
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x2c], eax
jmp 0x591d9f
mov dword [esp + 0x2c], 0
mov eax, dword [esi + 0x1314]
cmp eax, 9
mov edi, dword [sym.imp.USER32.dll_MoveWindow]
ja case.default.0x591db4
jmp dword [eax*4 + 0x592450]
mov eax, dword [esi + 0x1478]
jmp 0x591feb
mov eax, dword [esi + 0x1348]
test eax, eax
jne 0x591ea3
cmp dword [esp + 0x34], 1
je 0x591f66
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x591e1f
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x591e1f
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
sub edx, ebx
sub edx, eax
lea ebp, [ecx + eax + 2]
cmp edx, ebp
jg 0x591e27
mov ebx, dword [esp + 0x18]
lea edx, [eax + eax + 2]
sub ebx, edx
sub ebx, ecx
jmp 0x591e27
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 0x1478]
test edx, edx
je 0x591e5c
mov ebp, dword [esp + 0x1c]
sub ebp, dword [esp + 0x28]
push 1
sub ebp, dword [esp + 0x28]
push ebp
mov ebp, dword [esp + 0x20]
sub ebp, ecx
mov ecx, dword [esp + 0x28]
sub ebp, ebx
sub ebp, ecx
mov ecx, dword [esp + 0x1c]
push ebp
push ecx
push eax
push edx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x1488]
test ecx, ecx
je 0x591e93
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
push 1
sub edx, ebp
mov ebp, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x1c]
push ebx
sub eax, ebx
mov ebx, dword [esp + 0x24]
sub eax, ebp
push edx
add eax, ebx
push eax
push ecx
call edi
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x34], 2
je 0x591f6a
jmp case.default.0x591db4
cmp eax, 1
jne 0x591f66
cmp dword [esp + 0x34], 1
je 0x591f66
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x591ef5
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x591ef5
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
lea edx, [ecx + ebx]
add edx, eax
sub ebp, eax
cmp edx, ebp
jl 0x591efd
mov ebx, dword [esp + 0x18]
sub ebx, ecx
sub ebx, eax
sub ebx, 2
jmp 0x591efd
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 0x1478]
test edx, edx
je 0x591f34
mov ebp, dword [esp + 0x1c]
sub ebp, dword [esp + 0x28]
push 1
sub ebp, dword [esp + 0x28]
push ebp
mov ebp, dword [esp + 0x20]
sub ebp, ecx
sub ebp, ebx
sub ebp, dword [esp + 0x28]
add ecx, ebx
push ebp
mov ebp, dword [esp + 0x20]
push ebp
add ecx, eax
push ecx
push edx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x1488]
test ecx, ecx
je 0x591f59
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
push 1
sub edx, ebp
push edx
mov edx, dword [esp + 0x1c]
push ebx
push edx
push eax
push ecx
call edi
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x34], 2
jne case.default.0x591db4
jmp 0x591f6a
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x1478]
test ecx, ecx
je case.default.0x591db4
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
sub edx, ebp
push 1
sub edx, ebx
mov ebx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
sub edx, ebx
push edx
mov edx, dword [esp + 0x20]
push edx
push eax
push ecx
jmp 0x592123
push 0
push esi
call fcn.0056f5b0
add esp, 8
jmp case.default.0x591db4
mov eax, dword [esi + 0x1478]
test eax, eax
je case.default.0x591db4
mov ecx, dword [esp + 0x1c]
jmp 0x591ffb
mov eax, dword [esi + 0x1488]
test eax, eax
je case.default.0x591db4
mov ecx, dword [esp + 0x1c]
jmp 0x591ffb
mov eax, dword [esi + 0x1318]
cmp eax, 1
jne 0x59201f
mov eax, dword [esi + 0x1488]
test eax, eax
je case.default.0x591db4
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
sub ecx, edx
mov edx, dword [esp + 0x18]
push 1
push ecx
mov ecx, dword [esp + 0x1c]
sub edx, ebx
push edx
mov edx, dword [esp + 0x1c]
push ecx
push edx
push eax
jmp 0x592123
cmp eax, 2
jne 0x5920f0
cmp dword [esp + 0x34], 1
je 0x5920f0
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x592075
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x592075
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x30]
mov edx, eax
sub edx, ebx
sub edx, ecx
lea ebp, [ecx + ebp + 2]
cmp edx, ebp
jg 0x59207d
lea edx, [ecx + ecx + 2]
mov ebx, eax
sub ebx, edx
sub ebx, dword [esp + 0x30]
jmp 0x59207d
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x1478]
test edx, edx
je 0x5920b4
mov ebp, dword [esp + 0x1c]
sub ebp, dword [esp + 0x28]
push 1
sub ebp, dword [esp + 0x28]
push ebp
sub eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x28]
sub eax, ebx
sub eax, ebp
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
push edx
call edi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x1488]
test edx, edx
je 0x5920e7
mov ebp, dword [esp + 0x1c]
sub ebp, dword [esp + 0x28]
push 1
sub ebp, dword [esp + 0x28]
sub ecx, ebx
push ebp
mov ebp, dword [esp + 0x1c]
push ebx
sub ecx, dword [esp + 0x2c]
push ebp
add ecx, eax
push ecx
push edx
call edi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x34], 2
jne case.default.0x591db4
jmp 0x5920f8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x1478]
test edx, edx
je case.default.0x591db4
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
sub ebx, ebp
mov ebp, dword [esp + 0x24]
push 1
sub ebx, ebp
mov ebp, dword [esp + 0x24]
push ebx
sub eax, ebp
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
push edx
call edi
mov eax, dword [esi + 0x147c]
test eax, eax
je 0x592168
mov edx, dword [esi + 0x1478]
lea ecx, [esp + 0xac]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esi + 0x147c]
push 1
push eax
mov eax, dword [esp + 0x34]
push eax
push 0
sub ecx, eax
push ecx
push edx
call edi
mov eax, dword [esi + 0x1480]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
je 0x59230b
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x10
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push ecx
push edx
push 0
push eax
call ebp
mov ecx, dword [esi + 0x1480]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x74]
push eax
push 0
push 0xb3
push ecx
call ebx
mov eax, dword [esi + 0x14ac]
mov ecx, dword [esi + 0x1480]
lea edx, [esp + 0x2c]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x3c], 0
call fcn.00489f80
mov edx, dword [esi + 0x1480]
add esp, 0x10
push 0
push 0
push 0xb
push edx
call ebx
mov eax, dword [esi + 0x14ac]
mov ecx, dword [esi + 0x1480]
push 0
push 0
push eax
push ecx
call fcn.00489e90
mov eax, dword [esp + 0x3c]
mov edx, dword [esi + 0x14ac]
push eax
push eax
mov eax, dword [esi + 0x1480]
push edx
push eax
call fcn.00489e90
mov ecx, dword [esi + 0x1480]
add esp, 0x20
push 0
push 1
push 0xb
push ecx
call ebx
mov edx, dword [esi + 0x1480]
push 1
push 0
push edx
call edi
mov eax, dword [esi + 0x1484]
test eax, eax
je 0x59230b
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
push 0x10
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push ecx
push edx
push 0
push eax
call ebp
mov ecx, dword [esi + 0x1484]
lea eax, [esp + 0x84]
push eax
push 0
push 0xb3
push ecx
call ebx
mov eax, dword [esi + 0x14ac]
mov ecx, dword [esi + 0x1484]
lea edx, [esp + 0x3c]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x4c], 0
call fcn.00489f80
mov edx, dword [esi + 0x1484]
add esp, 0x10
push 0
push 0
push 0xb
push edx
call ebx
mov eax, dword [esi + 0x14ac]
mov ecx, dword [esi + 0x1484]
push 0
push 0
push eax
push ecx
call fcn.00489e90
mov eax, dword [esp + 0x4c]
mov edx, dword [esi + 0x14ac]
push eax
push eax
mov eax, dword [esi + 0x1484]
push edx
push eax
call fcn.00489e90
mov ecx, dword [esi + 0x1484]
add esp, 0x20
push 0
push 1
push 0xb
push ecx
call ebx
mov edx, dword [esi + 0x1484]
push 1
push 0
push edx
call edi
cmp dword [esp + 0xc4], 0x8070
jne 0x592341
mov esi, dword [esp + 0xc0]
push 1
push 0
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push esi
call fcn.00591430
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xac
ret
mov ebp, dword [esp + 0xc0]
push 0
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.00591060
mov eax, dword [esi + 0x1728]
add esp, 0xc
test eax, eax
je 0x592382
mov eax, dword [esi + 0x134c]
test eax, eax
je 0x592377
push esi
call fcn.00482950
add esp, 4
jmp 0x592382
push 0
push ebp
call fcn.0041e9d0
add esp, 8
mov eax, dword [esi + 0x1478]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_UpdateWindow]
je 0x5923a2
push 1
push 0
push eax
call edi
mov ecx, dword [esi + 0x1478]
push ecx
call ebx
mov eax, dword [esi + 0x1488]
test eax, eax
je 0x5923af
push eax
call ebx
mov eax, dword [esi + 0x147c]
test eax, eax
je 0x5923ec
mov edx, dword [esi + 0x1308]
sub edx, dword [esi + 0x130c]
jne 0x5923cb
push 1
jmp 0x5923cd
push 0
push esi
call fcn.00591350
mov eax, dword [esi + 0x147c]
add esp, 8
push 1
push 0
push eax
call edi
mov ecx, dword [esi + 0x147c]
push ecx
call ebx
push 1
push 0
push ebp
call edi
push ebp
call ebx
push ebp
call fcn.00591430
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xac
ret