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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x731f70b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x64], edx
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x54], 0
push edi
test eax, eax
jle 0x731747e7
cmp eax, 4
jle 0x731747ca
cmp eax, 0x40000000
jne 0x731747e7
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x7317480d
cmp eax, 3
je 0x731747db
cmp eax, 4
jne 0x731747ff
cmp ecx, 1
jbe 0x731747ff
mov dword [edx + 0xc], 1
mov eax, 0x8876086c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.731efbf0
mov esp, ebp
pop ebp
ret 8
cmp ecx, 3
jbe 0x73174814
mov dword [edx + 0xc], 3
jmp 0x731747e7
mov dword [edx + 0xc], 1
cmp eax, 1
je 0x7317481f
cmp dword [edx + 0x10], 0
jne 0x731747e7
cmp eax, 0x40000000
jne 0x7317482c
cmp dword [edx + 0x1c], 0
je 0x731747e7
mov edi, dword [edx + 0x10]
test edi, edi
je 0x73174866
mov eax, dword [ebx + 0xc]
push edi
push dword [edx + 0x1c]
mov ecx, dword [eax + 0x23c]
push dword [edx + 8]
push dword [eax + 0x238]
mov esi, dword [ecx]
push dword [eax + 0x1f0]
push ecx
mov esi, dword [esi + 0x2c]
mov ecx, esi
call dword [0x731fd4e8]
call esi
test eax, eax
js 0x731747e7
mov edx, dword [ebp - 0x64]
lea eax, [ebx + 0x34]
mov ecx, 0xd
mov edi, eax
mov dword [ebp - 0x74], eax
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [edx + 0x14]
mov dword [ebx + 0x1a8], eax
cmp dword [edx + 0x14], 1
jne 0x731748a2
cmp dword [edx + 0x1c], 0
je 0x7317489b
cmp dword [edx + 0xc], 1
jne 0x7317489b
mov dword [ebx + 0x48], 3
jmp 0x731748a2
mov dword [ebx + 0x48], 2
cmp dword [ebx + 0x4c], 0
mov esi, dword [ebx + 0xc]
jne 0x731748b4
mov eax, dword [esi + 0x21c]
mov dword [ebx + 0x4c], eax
mov esi, dword [esi + 0x208]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x68], esi
or dword [esi + 0x8c], 0x80
cmp dword [ebx + 0x1a8], 0x40000000
je 0x731748ea
mov ecx, ebx
call fcn.7320ddda
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
js 0x73175122
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x208]
call fcn.73167cb0
test eax, eax
je 0x7317495a
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x54], 1
mov eax, dword [edx + 0x1f0]
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x23c]
shl ecx, 6
push dword [ecx + eax + 0x254]
push dword [ecx + eax + 0x258]
push dword [ecx + eax + 0x154]
mov ecx, edx
call fcn.73176670
lea ecx, [edx + 0x40]
mov edx, eax
call fcn.7316e670
mov eax, dword [ebx + 0xc]
add esp, 0xc
cmp dword [eax + 0x208], 0
jne 0x7317495a
mov edi, 0x88760868
mov dword [ebp - 0x4c], edi
jmp 0x73175122
cmp dword [ebx + 0x50], 0
je 0x7317498d
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0xc]
test ecx, ecx
jne 0x73174973
mov ecx, dword [edx + 0x11c]
mov dword [ebx + 0x3c], ecx
call fcn.73170ec0
cmp eax, dword [edx + 0x11c]
je 0x7317498d
mov edi, 0x8876086c
mov dword [ebp - 0x4c], edi
jmp 0x73175122
cmp dword [ebx + 0x50], 0
lea edi, [ebx + 0x38]
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x58], edi
je 0x73174bb2
cmp eax, 1
jb 0x731749aa
cmp dword [edi], 1
jae 0x731749db
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x4c]
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x73174ceb
cmp dword [ebx + 0x34], 1
jae 0x731749cb
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x34], eax
cmp dword [edi], 1
mov dword [ebp - 0x58], edi
jae 0x731749db
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov dword [ebp - 0x58], edi
mov edx, dword [ebx + 0x3c]
lea eax, [edx - 0x15]
cmp eax, 4
ja 0x73174ceb
mov eax, dword [ebx + 0xc]
push edx
push 1
push 1
mov ecx, dword [eax + 0x23c]
push dword [eax + 0x11c]
push dword [eax + 0x238]
mov edi, dword [ecx]
push dword [eax + 0x1f0]
push ecx
mov edi, dword [edi + 0x28]
mov ecx, edi
call dword [0x731fd4e8]
call edi
test eax, eax
jns 0x73174a2b
mov edi, 0x8876086c
mov dword [ebp - 0x4c], edi
jmp 0x73175122
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x4c], eax
cmp ebx, dword [eax + 0x22c]
jne 0x73174b57
mov edx, dword [eax + 0x230]
mov ecx, eax
mov dword [ebp - 0x50], edx
test edx, edx
je 0x73174a6e
mov eax, dword [edx]
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x731fd4e8]
mov ecx, dword [ebp - 0x50]
call edi
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x230], 0
mov ecx, dword [ebx + 0xc]
mov eax, dword [eax + 0x228]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x73174a9d
mov eax, dword [eax]
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x731fd4e8]
mov ecx, dword [ebp - 0x50]
call edi
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x228], 0
mov ecx, dword [ebx + 0xc]
cmp dword [ebx + 0x24], 0
je 0x73174ad4
mov ecx, dword [ebx + 0xc]
push 0
mov ecx, dword [ecx + 0x3c]
call fcn.7317cf10
mov ebx, dword [ebx + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 0x1bc]
mov ecx, edi
call dword [0x731fd4e8]
mov ecx, ebx
call edi
mov ebx, dword [ebp - 0x6c]
mov ecx, ebx
call fcn.731745d0
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x234]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x73174b03
mov eax, dword [eax]
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x731fd4e8]
mov ecx, dword [ebp - 0x50]
call edi
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x234], 0
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x208]
call fcn.7316df70
test eax, eax
je 0x73174b1f
mov edi, 0x88760868
mov dword [ebp - 0x4c], edi
jmp 0x73175122
lea ecx, [ebp - 0x68]
call fcn.73176600
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x208]
call fcn.73166fc0
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
js 0x7317511f
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x208]
mov eax, dword [ebx + 0x1b0]
mov dword [ecx + 0x11a0], eax
cmp dword [ebp - 0x54], 0
je 0x73174b71
cmp dword [ebp + 0xc], 0
jne 0x73174b71
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x208]
call fcn.7316dae0
lea ecx, [ebp - 0x68]
call fcn.73176600
mov eax, dword [ebp - 0x64]
mov ecx, ebx
mov eax, dword [eax + 0x28]
and eax, 1
push eax
xor eax, eax
cmp dword [ebx + 0x1a8], 1
sete al
push eax
push dword [ebx + 0x44]
mov eax, dword [ebp - 0x58]
push dword [ebx + 0x40]
push dword [ebx + 0x3c]
push dword [eax]
push dword [ebx + 0x34]
call fcn.73173960
mov edi, eax
mov dword [ebp - 0x4c], edi
jmp 0x73174fbd
push dword [ebx + 0x3c]
mov ecx, ebx
push dword [ebx + 0x60]
push dword [edi]
push eax
call fcn.731763b0
mov edx, dword [ebx + 0xc]
mov dword [ebx + 0x60], eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x58], eax
cmp eax, dword [edx + 0x114]
jne 0x73174c0f
mov ecx, dword [edi]
cmp ecx, dword [edx + 0x118]
jne 0x73174c0f
mov eax, dword [ebx + 0x3c]
cmp eax, dword [edx + 0x11c]
jne 0x73174c0f
mov edi, dword [ebp - 0x50]
mov eax, edx
mov dword [ebp - 0x4c], eax
mov ecx, edx
test edi, edi
je 0x73174dea
mov dword [ebp - 0x4c], edx
cmp edi, dword [edx + 0x124]
je 0x73174dea
mov eax, dword [edx + 0x1f0]
mov dword [ebp - 0x54], 0
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x23c]
shl ecx, 6
mov edi, dword [ecx + eax + 0x150]
mov eax, dword [ecx + eax + 0x14c]
mov ecx, dword [ebx + 0x3c]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x4c], eax
call fcn.73170ec0
mov ecx, dword [ebp - 0x4c]
xor edi, edi
mov dword [ebp - 0x50], eax
test ecx, ecx
je 0x73174caf
mov ecx, dword [ebp - 0x70]
mov esi, dword [ebp - 0x74]
add ecx, 0xc
mov eax, dword [ebp - 0x4c]
xor ebx, ebx
mov edx, dword [ebp - 0x58]
cmp dword [ecx - 0xc], edx
jne 0x73174c98
mov eax, dword [ecx - 8]
cmp eax, dword [esi + 4]
jne 0x73174c95
mov eax, dword [ebp - 0x50]
cmp dword [ecx], eax
jne 0x73174c95
mov edx, dword [esi + 0x2c]
test edx, edx
je 0x73174ca0
mov eax, dword [ecx - 4]
cmp edx, eax
je 0x73174ca0
cmp ebx, eax
ja 0x73174c92
cmp edx, eax
mov edx, dword [ebp - 0x58]
jbe 0x73174c95
mov ebx, eax
jmp 0x73174c95
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
inc edi
add ecx, 0x10
cmp edi, eax
jb 0x73174c61
mov esi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x6c]
mov edx, dword [ebx + 0xc]
cmp edi, ecx
jne 0x73174cbd
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x73174ceb
mov dword [ebx + 0x60], eax
mov eax, dword [edx + 0x23c]
push 0
push dword [ebx + 0x3c]
push dword [ebp - 0x50]
mov edi, dword [eax]
push dword [edx + 0x238]
push dword [edx + 0x1f0]
mov edi, dword [edi + 0x24]
mov ecx, edi
push eax
call dword [0x731fd4e8]
call edi
test eax, eax
jns 0x73174cf8
mov edi, 0x8876086c
mov dword [ebp - 0x4c], edi
jmp 0x73175122
cmp dword [ebx + 0x1ac], 0
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x54], 0
mov eax, dword [eax + 0x208]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
je 0x73174d61
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push eax
call dword [sym.imp.dwmapi.dll_DwmIsCompositionEnabled]
cmp dword [ebp - 0x50], 0
je 0x73174d61
push dword [ebx + 0x1ac]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
je 0x73174d61
mov dword [ebp - 0x54], 1
mov eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x20]
push ecx
mov edi, dword [eax + 0x1a0]
mov ecx, edi
call dword [0x731fd4e8]
call edi
cmp dword [ebp - 0x54], 0
je 0x73174d8f
push 0xbb8
push dword [ebx + 0x1ac]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x4c], edi
test edi, edi
jne 0x73175122
mov edx, dword [ebx + 0xc]
mov eax, dword [edx + 0x1f0]
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x23c]
shl ecx, 6
push dword [ecx + eax + 0x254]
push dword [ecx + eax + 0x258]
push dword [ecx + eax + 0x154]
mov ecx, edx
call fcn.73176670
lea ecx, [edx + 0x40]
mov edx, eax
call fcn.7316e670
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov dword [ebp - 0x54], 1
mov ecx, eax
mov dword [ebp - 0x4c], eax
mov edx, dword [eax + 0x230]
mov dword [ebp - 0x5c], edx
test edx, edx
je 0x73174e19
mov eax, dword [edx]
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x731fd4e8]
mov ecx, dword [ebp - 0x5c]
call edi
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x230], 0
mov ecx, dword [ebx + 0xc]
mov eax, dword [eax + 0x228]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x73174e48
mov eax, dword [eax]
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x731fd4e8]
mov ecx, dword [ebp - 0x5c]
call edi
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x228], 0
mov ecx, dword [ebx + 0xc]
cmp dword [ebx + 0x24], 0
je 0x73174e7f
mov ecx, dword [ebx + 0xc]
push 0
mov ecx, dword [ecx + 0x3c]
call fcn.7317cf10
mov ebx, dword [ebx + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 0x1bc]
mov ecx, edi
call dword [0x731fd4e8]
mov ecx, ebx
call edi
mov ebx, dword [ebp - 0x6c]
mov ecx, ebx
call fcn.731745d0
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x234]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x73174eae
mov eax, dword [eax]
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x731fd4e8]
mov ecx, dword [ebp - 0x5c]
call edi
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x234], 0
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x208]
call fcn.7316df70
test eax, eax
je 0x73174eca
mov edi, 0x88760868
mov dword [ebp - 0x4c], edi
jmp 0x73175122
lea ecx, [ebp - 0x68]
call fcn.73176600
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x208]
call fcn.73166fc0
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
js 0x7317511f
cmp dword [ebp - 0x54], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x208]
mov eax, dword [ebx + 0x1b0]
mov dword [ecx + 0x11a0], eax
je 0x73174f16
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x208]
call fcn.7316dae0
cmp dword [0x731f8564], 0
je 0x73174f39
push dword [ebx + 0x60]
mov ecx, dword [ebx + 0xc]
push dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
push dword [ebx + 0x34]
mov ecx, dword [ecx + 0x208]
call fcn.73165ea0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x28]
and eax, 1
push eax
xor eax, eax
cmp dword [ebx + 0x1a8], 1
sete al
push eax
push dword [ebx + 0x44]
push ecx
push dword [ebx + 0x40]
mov ecx, ebx
push dword [ebx + 0x3c]
push dword [ebx + 0x38]
push dword [ebx + 0x34]
call fcn.73173d20
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
js 0x73174f87
cmp dword [ebx + 0x1b0], 0
je 0x73174f80
mov ecx, ebx
call fcn.731762f0
mov ecx, ebx
call fcn.73171b50
mov ecx, dword [ebx + 0xc]
lea ecx, [ecx + 0x1d0]
call fcn.7316f610
mov ecx, eax
call fcn.73179050
cmp dword [ebx + 0x1bc], 0
je 0x73174fbd
test edi, edi
js 0x7317511f
lea eax, [ebx + 0x1c0]
mov ecx, ebx
push eax
push 0
call fcn.73175f80
test edi, edi
js 0x7317511f
push 0xa0
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
je 0x731750fc
mov ecx, eax
mov edx, 0x20
and ecx, 0x1f
sub edx, ecx
lea ecx, [eax + edx]
mov dword [ecx - 4], edx
mov edx, dword [ebx + 0xc]
mov dword [ecx + 0x68], edx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x6c], 0
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x7c], 0
mov eax, dword [edx + 0x22c]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x5c], edx
mov eax, dword [eax + 0x34]
shr eax, 1
mov dword [ecx + 0x18], eax
mov eax, dword [edx + 0x22c]
mov eax, dword [eax + 0x38]
shr eax, 1
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x78], 0
mov dword [ecx + 0x74], 0
mov eax, dword [edx + 0x22c]
cmp dword [eax + 0x50], 0
jne 0x731750fe
mov eax, dword [edx + 0x23c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x731fd4e8]
call esi
cmp eax, 1
jbe 0x731750f7
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 0x23c]
push dword [edx + 0x1f0]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x38]
mov ecx, esi
call dword [0x731fd4e8]
call esi
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x731750f7
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 0x28
call fcn.7316f1d0
mov esi, dword [0x731f8574]
test esi, esi
je 0x731750e6
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
push dword [ebp - 0x5c]
call dword [0x731fd4e8]
call esi
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x74], eax
mov eax, dword [ebp - 0x40]
mov dword [ecx + 0x78], eax
jmp 0x731750fe
mov ecx, dword [ebp - 0x64]
jmp 0x731750fe
xor ecx, ecx
mov dword [ebx + 0x68], ecx
mov dword [ebx + 0x168], 1
mov dword [ebx + 0x18c], 0
mov dword [ebx + 0x190], 0
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x73175163
mov ecx, dword [esi + 0x90]
test ecx, ecx
je 0x7317514f
mov eax, dword [esi]
mov edi, dword [0x731f84e8]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x5c], ecx
mov ecx, edi
push eax
call dword [0x731fd4e8]
call edi
mov edi, dword [ebp - 0x4c]
and dword [esi + 0x8c], 0xffffff7f
mov dword [esi + 0x90], 0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.731efbf0
mov esp, ebp
pop ebp
ret 8