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

Disassembly:
push 0xffffffffffffffff
push 0x55b753
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor esi, esi
mov eax, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x5c]
push eax
add ecx, 0x244
mov dword [esp + 0x30], esi
call fcn.004d7c50
cmp eax, esi
mov dword [esp + 0x28], eax
je 0x4f9160
lea ecx, [esp + 0x64]
call fcn.00477df0
lea ecx, [esp + 0x50]
mov dword [esp + 0xa8], esi
call fcn.00477df0
lea ecx, [esp + 0x78]
mov byte [esp + 0xa8], 1
call fcn.00477df0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa8], 2
call fcn.00477df0
mov ecx, dword [ebp + 0x4c]
mov byte [esp + 0xa8], 3
mov ebx, dword [ecx + 0x18]
cmp ebx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
jle 0x4f8fcc
mov esi, dword [esp + 0x24]
mov edi, ebx
mov ecx, dword [ebp + 0x4c]
sub edi, esi
neg edi
sbb edi, edi
push 0
and edi, ebx
add ecx, 0x14
push edi
call fcn.004d74e0
mov esi, eax
test esi, esi
mov dword [esp + 0x34], esi
je 0x4f9089
mov ecx, dword [ebp + 0x4c]
push edi
add ecx, 0x14
call fcn.004d7f60
cmp eax, 1
jne 0x4f8d73
dec ebx
mov dword [esp + 0x18], ebx
jmp 0x4f8fc4
mov edx, dword [esi]
mov ecx, dword [ebp + 0x5c]
push 0
push edx
call fcn.004544c0
test eax, eax
mov dword [esp + 0x10], eax
je 0x4f9104
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x4f9104
push 1
call eax
test eax, eax
mov dword [esp + 0x30], eax
je 0x4f9104
add esi, 0x18
push esi
call fcn.00478d70
add esi, eax
push esi
call fcn.00478d70
add esi, eax
mov eax, dword [esp + 0xb8]
add esp, 8
cmp eax, 1
mov dword [esp + 0x14], esi
jne 0x4f8dd3
mov dword [esi], 0
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x38]
push eax
push ecx
mov ecx, dword [ebp + 0x4c]
add esi, 4
add ecx, 0x14
call fcn.004d7f80
mov ecx, dword [ebp + 0x4c]
push edi
add ecx, 0x14
mov ebx, eax
call fcn.004d7530
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [edx + 0x14]
test ah, 1
je 0x4f8e59
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
jne 0x4f8e21
mov dword [esp + 0x1c], eax
jmp 0x4f8e59
mov ecx, dword [eax + 0x1c]
push 0
push 0
push 0x130b
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jge 0x4f8e3c
xor eax, eax
jmp 0x4f8e55
mov edx, dword [esp + 0x14]
push 0
push 0
push 0x130b
mov eax, dword [edx]
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x14]
cmp dword [ecx], 0
jne 0x4f8f4b
test edi, edi
jne 0x4f8e9f
mov eax, dword [ebp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
add esi, 8
push 1
push eax
push edx
mov edx, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [0x5b10e8]
push ecx
push ecx
push edi
push 0x75
push eax
push edi
push edx
push ebx
call dword [esp + 0x68]
mov esi, eax
jmp 0x4f8f03
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x4f8eac
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esp + 0x20]
push 1
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esi + 0x14]
push ecx
mov ecx, dword [esp + 0x44]
neg edx
sbb edx, edx
not edx
and edx, ecx
mov ecx, dword [esi + 4]
add edx, ecx
mov ecx, dword [esi]
push edx
mov edx, dword [ebp + 0x98]
push ecx
push 0
push edx
push eax
mov eax, dword [esp + 0x64]
push 0
push eax
push ebx
call dword [esp + 0x68]
mov esi, eax
mov eax, dword [ebp + 0x98]
add eax, 0x32
mov dword [ebp + 0x98], eax
test esi, esi
je 0x4f9093
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x4f8f3b
mov ecx, dword [esi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x130c
push ecx
call ebx
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0x130b
push edx
call ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x68]
mov dword [eax], esi
call fcn.004780b0
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x40]
call fcn.004780b0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x50]
push edx
call fcn.004780b0
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x78]
mov eax, dword [esi]
push eax
call fcn.004780b0
test edi, edi
jne 0x4f8fb9
mov ecx, dword [esi]
push edi
mov dword [ebp + 0x94], ecx
mov eax, dword [esi]
mov dword [ebp + 0x90], eax
push 1
mov edx, dword [eax + 0x1c]
push 0x86
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 0xb4], 1
jne 0x4f8fae
mov ecx, ebp
call fcn.00500040
mov ecx, ebp
call fcn.004fffe0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
mov ebx, eax
test ebx, ebx
jg 0x4f8d2e
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x88]
mov ebx, ecx
mov edi, dword [esp + 0x80]
mov edx, dword [esp + 0x44]
neg ebx
sbb ebx, ebx
and ebx, esi
neg eax
sbb eax, eax
and eax, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
neg eax
sbb eax, eax
shr ecx, 2
and eax, edx
mov esi, ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], esi
call fcn.00477df0
push esi
lea ecx, [esp + 0x90]
mov byte [esp + 0xac], 5
call fcn.00477e10
mov ecx, dword [esp + 0x9c]
mov edi, eax
mov edx, ecx
mov eax, 0x1010101
shr ecx, 2
mov dword [esp + 0x28], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, 1
mov dword [esp + 0x18], edi
mov ecx, dword [ebp + 0x4c]
push 0
push edi
add ecx, 0x14
call fcn.004d74e0
mov esi, eax
test esi, esi
je 0x4f92b8
mov ecx, dword [ebp + 0x4c]
push edi
add ecx, 0x14
call fcn.004d7f60
cmp eax, 1
jne 0x4f9167
inc edi
jmp 0x4f9055
test edi, edi
jg 0x4f8fcc
jmp 0x4f9104
mov ebp, dword [ebp + 0x4c]
mov edx, dword [esp + 0x34]
push edx
mov eax, dword [ebp + 0x14]
lea ecx, [ebp + 0x14]
call dword [eax + 0x14]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x28]
mov ecx, dword [eax]
push ecx
push 0x5ad408
push edx
call fcn.004e6da0
add esp, 0x10
push eax
mov ecx, 0x5b1b1c
mov byte [esp + 0xac], 4
call fcn.00528158
lea ecx, [esp + 0x24]
mov byte [esp + 0xa8], 3
call fcn.0052801f
mov eax, dword [0x5b122c]
mov dword [0x5b1b20], 0x10
push 0
push 0x73
mov ecx, dword [eax + 0x1c]
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov esi, 0x55f890
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa8], 2
mov dword [esp + 0x3c], esi
call fcn.00477ff0
lea ecx, [esp + 0x78]
mov byte [esp + 0xa8], 1
mov dword [esp + 0x78], esi
call fcn.00477ff0
lea ecx, [esp + 0x50]
mov byte [esp + 0xa8], 0
mov dword [esp + 0x50], esi
call fcn.00477ff0
lea ecx, [esp + 0x64]
mov dword [esp + 0xa8], 0xffffffff
mov dword [esp + 0x64], esi
call fcn.00477ff0
xor eax, eax
jmp 0x4f952e
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x4c]
push eax
add ecx, 0x14
call fcn.004d7530
mov ecx, dword [esp + 0x14]
push eax
push ecx
push ebx
call fcn.00478e00
mov edx, dword [esp + 0x2c]
add esi, 0x18
push esi
mov ecx, dword [edx + eax*4]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov eax, dword [edx + eax*4]
mov dword [esp + 0x2c], eax
call fcn.00478d70
add esi, eax
push esi
call fcn.00478d70
mov edi, dword [ebp + 0x90]
lea esi, [eax + esi + 0x18]
add esp, 0x14
mov eax, dword [esi]
test eax, eax
je 0x4f91d8
mov ecx, dword [esp + 0x14]
push eax
push ecx
push ebx
call fcn.00478e00
add esp, 0xc
cmp eax, 0xffffffff
je 0x4f91d8
mov edx, dword [esp + 0x20]
mov edi, dword [edx + eax*4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00529a78
cmp eax, edi
je 0x4f920c
test edi, edi
je 0x4f91f7
mov edi, dword [edi + 0x1c]
mov edx, dword [esp + 0x10]
push edi
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetParent]
push eax
call fcn.00529a78
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x4f92a8
mov edi, dword [esi + 4]
add esi, 4
add esi, 4
test eax, eax
jle 0x4f9260
mov dword [esp + 0x10], eax
mov eax, dword [esi]
test eax, eax
je 0x4f9251
mov ecx, dword [esp + 0x14]
push eax
push ecx
push ebx
call fcn.00478e00
mov edx, dword [esp + 0x34]
add esi, 4
add esp, 0xc
dec edi
mov byte [eax + edx], 0
mov eax, dword [esi]
test eax, eax
jne 0x4f9230
mov eax, dword [esp + 0x10]
add esi, 4
dec edi
dec eax
mov dword [esp + 0x10], eax
jne 0x4f922a
test edi, edi
jle 0x4f92a8
cmp dword [esi], 0
je 0x4f9281
dec edi
add esi, 4
test edi, edi
jg 0x4f9264
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
mov edi, eax
jmp 0x4f9059
test edi, edi
jle 0x4f92a8
mov eax, dword [esi]
test eax, eax
je 0x4f92a2
push eax
mov eax, dword [esp + 0x18]
push eax
push ebx
call fcn.00478e00
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov byte [eax + ecx], 0
add esi, 4
dec edi
jne 0x4f9285
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
mov edi, eax
jmp 0x4f9059
mov esi, 1
mov ecx, dword [ebp + 0x4c]
push 0
push esi
add ecx, 0x14
call fcn.004d74e0
mov edi, eax
test edi, edi
je 0x4f93cf
mov ecx, dword [ebp + 0x4c]
push esi
add ecx, 0x14
call fcn.004d7f60
cmp eax, 1
jne 0x4f92e9
inc esi
jmp 0x4f92bd
add edi, 0x18
push edi
call fcn.00478d70
add edi, eax
push edi
call fcn.00478d70
mov edx, dword [eax + edi]
add eax, edi
add esp, 8
cmp esi, 2
mov eax, dword [eax + 0x18]
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], eax
lea edi, [esi - 1]
jl 0x4f935a
mov ecx, dword [ebp + 0x4c]
push 0
push edi
add ecx, 0x14
call fcn.004d74e0
mov ecx, dword [ebp + 0x4c]
push edi
add ecx, 0x14
mov ebx, eax
call fcn.004d7f60
test eax, eax
jne 0x4f9354
add ebx, 0x18
push ebx
call fcn.00478d70
add ebx, eax
push ebx
call fcn.00478d70
mov ecx, dword [esp + 0x2c]
add ebx, eax
add esp, 8
cmp dword [ebx + 0x18], ecx
je 0x4f937a
dec edi
cmp edi, 1
jge 0x4f9315
mov edx, dword [esp + 0x10]
push 0x13
push 0
push 0
mov eax, dword [edx + 0x1c]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
inc esi
jmp 0x4f92bd
cmp edi, 1
jl 0x4f935a
mov ecx, dword [ebp + 0x4c]
push 0
push edi
add ecx, 0x14
call fcn.004d74e0
test eax, eax
je 0x4f9374
lea edi, [eax + 0x18]
push edi
call fcn.00478d70
add edi, eax
push edi
call fcn.00478d70
add edi, eax
add esp, 8
mov edi, dword [edi]
test edi, edi
je 0x4f9374
mov eax, dword [esp + 0x10]
mov edx, dword [edi + 0x1c]
push 0x13
push 0
mov ecx, dword [eax + 0x1c]
push 0
push 0
push 0
push edx
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
inc esi
jmp 0x4f92bd
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x6c]
mov ecx, eax
shr ecx, 2
neg eax
sbb eax, eax
and eax, esi
test ecx, ecx
jle 0x4f9422
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
mov dword [esp + 0x10], ecx
mov edi, dword [esi]
push 0
push 0
push 0x806f
mov ecx, dword [edi + 0x1c]
push ecx
call ebx
mov edx, dword [edi + 0x1c]
push 0
push 0
push 0x8076
push edx
call ebx
mov eax, dword [esp + 0x10]
add esi, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x4f93f2
jmp 0x4f9428
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 0x90]
push 0
push 0
push 0x8004
mov eax, dword [eax + 0x1c]
push eax
call ebx
mov eax, dword [esp + 0x14]
xor edi, edi
test eax, eax
jle 0x4f948a
mov ebx, dword [esp + 0x20]
mov esi, dword [ebx]
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov edx, dword [esp + 0x28]
mov cl, byte [edi + edx]
xor edx, edx
cmp cl, 1
sete dl
cmp eax, edx
je 0x4f947e
dec cl
neg cl
sbb ecx, ecx
and ecx, 0xfffffff8
add ecx, 8
push ecx
mov ecx, esi
call fcn.005293ec
mov eax, dword [esp + 0x14]
inc edi
add ebx, 4
cmp edi, eax
jl 0x4f944b
mov eax, dword [ebp + 0x90]
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4f94ab
mov ecx, dword [ebp + 0x90]
push 8
call fcn.005293ec
mov ecx, ebp
call fcn.00500020
mov esi, 0x55f890
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa8], 3
mov dword [esp + 0x8c], esi
call fcn.00477ff0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa8], 2
mov dword [esp + 0x3c], esi
call fcn.00477ff0
lea ecx, [esp + 0x78]
mov byte [esp + 0xa8], 1
mov dword [esp + 0x78], esi
call fcn.00477ff0
lea ecx, [esp + 0x50]
mov byte [esp + 0xa8], 0
mov dword [esp + 0x50], esi
call fcn.00477ff0
lea ecx, [esp + 0x64]
mov dword [esp + 0xa8], 0xffffffff
mov dword [esp + 0x64], esi
call fcn.00477ff0
mov eax, 1
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x9c
ret 8