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

Disassembly:
sub esp, 0x94
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x98]
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [esp + 0xc], eax
cmp eax, esi
je 0x4c3c5e
mov ecx, dword [edi + 0x20]
mov eax, 0x7530
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push ebx
mov eax, 0xffff8ad0
push ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x60]
push eax
push ecx
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [edi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x70]
push edx
push eax
call ebp
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
push 0x3020
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x68]
mov ecx, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
call fcn.007d3fb2
mov ebx, eax
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x80]
push eax
push ecx
call ebp
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x14]
sub ebp, dword [esp + 0x50]
mov dword [esp + 0x94], eax
mov eax, dword [edx + 0x20]
push 5
push eax
mov dword [esp + 0x98], ebp
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call fcn.007cc2fe
mov dword [esp + 0x10], eax
cmp eax, esi
je 0x4c3984
push esi
push esi
push 0xc40000
mov ecx, eax
call fcn.007d4097
mov ebp, dword [esp + 0x10]
push esi
push 0x10000
push 1
mov ecx, ebp
call fcn.007d40c3
mov ecx, dword [ebp + 0x20]
push 5
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call fcn.007cc2fe
mov ebp, eax
cmp ebp, esi
je 0x4c397d
mov ecx, ebp
call fcn.007d4063
test eax, 0x10000000
je 0x4c3965
mov eax, dword [ebp + 0x20]
lea edx, [esp + 0x40]
push edx
push eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.007d2afc
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.USER32.dll_UnionRect]
mov ebp, dword [ebp + 0x20]
push 2
push ebp
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call fcn.007cc2fe
mov ebp, eax
cmp ebp, esi
jne 0x4c3917
mov ebp, dword [esp + 0x90]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, eax
push ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
call dword [sym.imp.USER32.dll_UnionRect]
mov ecx, dword [esp + 0x24]
cmp ecx, 4
jg 0x4c39b5
mov ecx, 4
mov eax, dword [esp + 0x20]
cmp eax, 4
jg 0x4c39c3
mov eax, 4
add ecx, dword [esp + 0x2c]
add eax, dword [esp + 0x28]
push ecx
push eax
push esi
push esi
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x30]
push eax
push 1
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], ecx
mov ecx, dword [ebx + 0x20]
push 0x1328
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
add eax, edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
add ecx, eax
push ecx
mov ecx, dword [esp + 0x44]
push ecx
push eax
push edx
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.USER32.dll_SetRect]
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call fcn.007d2afc
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x38]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, ebx
call fcn.007d417a
push esi
push esi
push 0x200
mov ecx, ebx
call fcn.007d4097
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
sub eax, ebp
sub ecx, dword [esp + 0x94]
mov ebp, eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4c3b79
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x20]
push 5
push edx
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call fcn.007cc2fe
cmp eax, esi
je 0x4c3af1
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
sub edx, ecx
push 1
push edx
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x28]
push edx
push ecx
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, eax
call fcn.007d417a
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x90]
push eax
push esi
mov dword [esp + 0xa0], ecx
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x64]
push 0x1328
push ecx
mov dword [esp + 0xac], edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x90]
push edx
mov ecx, edi
call fcn.007d2afc
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov edx, dword [esp + 0x90]
add ecx, ebx
push 1
sub ecx, ebx
push ecx
mov ecx, dword [esp + 0x1c]
add eax, edx
sub eax, edx
push eax
push ebx
push edx
call fcn.007d417a
xor ebx, ebx
mov dword [esp + 0x90], 1
mov dword [esp + 0x94], 2
mov dword [esp + 0x98], 0x3021
mov dword [esp + 0x9c], 9
mov dword [esp + 0x10], ebx
jmp 0x4c3bb0
mov eax, dword [esp + ebx*4 + 0x90]
push eax
mov ecx, edi
call fcn.007d3fb2
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x4c3c1b
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call fcn.007d2afc
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
sub ecx, ebx
add ebx, dword [esp + 0x44]
sub eax, edx
add edx, ebp
add ecx, ebx
push 1
sub ecx, ebx
push ecx
mov ecx, dword [esp + 0x1c]
add eax, edx
sub eax, edx
push eax
push ebx
push edx
call fcn.007d417a
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x40]
inc ebx
mov dword [esp + 0x10], ebx
cmp ebx, 4
jb 0x4c3bb0
mov ecx, dword [esp + 0x44]
add ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
add ebp, dword [esp + 0x18]
add ecx, ebx
push 1
sub ecx, ebx
push ecx
lea eax, [edx + ebp]
sub eax, edx
push eax
push ebx
push edx
mov ecx, edi
call fcn.007d417a
mov ecx, dword [edi + 0x20]
push 1
push esi
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
pop edi
pop esi
xor ecx, esp
call fcn.0080262b
add esp, 0x94
ret 4