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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x100a60a4]
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 0x10025177
cmp eax, 4
jle 0x1002515a
cmp eax, 0x40000000
jne 0x10025177
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x1002519d
cmp eax, 3
je 0x1002516b
cmp eax, 4
jne 0x1002518f
cmp ecx, 1
jbe 0x1002518f
mov dword [edx + 0xc], 1
mov eax, 0x8876086c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009ebb0
mov esp, ebp
pop ebp
ret 8
cmp ecx, 3
jbe 0x100251a4
mov dword [edx + 0xc], 3
jmp 0x10025177
mov dword [edx + 0xc], 1
cmp eax, 1
je 0x100251af
cmp dword [edx + 0x10], 0
jne 0x10025177
cmp eax, 0x40000000
jne 0x100251bc
cmp dword [edx + 0x1c], 0
je 0x10025177
mov eax, dword [edx + 0x10]
test eax, eax
je 0x100251d9
mov ecx, dword [ebx + 0xc]
push eax
push dword [edx + 0x1c]
push dword [edx + 8]
call fcn.10026f80
test eax, eax
js 0x10025177
mov edx, dword [ebp - 0x64]
lea edi, [ebx + 0x34]
mov ecx, 0xd
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 0x10025210
cmp dword [edx + 0x1c], 0
je 0x10025209
cmp dword [edx + 0xc], 1
jne 0x10025209
mov dword [ebx + 0x48], 3
jmp 0x10025210
mov dword [ebx + 0x48], 2
cmp dword [ebx + 0x4c], 0
mov esi, dword [ebx + 0xc]
jne 0x10025222
mov eax, dword [esi + 0x21c]
mov dword [ebx + 0x4c], eax
mov esi, dword [esi + 0x208]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x68], esi
or dword [esi + 0x8c], 0x80
cmp dword [ebx + 0x1a8], 0x40000000
je 0x10025258
mov ecx, ebx
call fcn.10026ad0
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
js 0x10025aa1
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x208]
call fcn.100183c0
test eax, eax
je 0x100252d8
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x54], 1
mov eax, dword [ecx + 0x1f0]
mov edx, dword [ecx + 0x23c]
lea eax, [eax + eax*8]
shl eax, 6
cmp dword [ecx + 0x238], 3
mov edi, dword [eax + edx + 0x254]
mov ebx, dword [eax + edx + 0x258]
mov eax, dword [eax + edx + 0x154]
jne 0x100252ac
mov edx, dword [edx + 0x3450]
jmp 0x100252ae
xor edx, edx
push edi
push ebx
push eax
add ecx, 0x40
call fcn.1001efd0
mov ebx, dword [ebp - 0x6c]
add esp, 0xc
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0x208], 0
jne 0x100252d8
mov edi, 0x88760868
mov dword [ebp - 0x4c], edi
jmp 0x10025aa1
mov edi, dword [ebx + 0x50]
test edi, edi
je 0x1002530c
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0xc]
test ecx, ecx
jne 0x100252f2
mov ecx, dword [edx + 0x11c]
mov dword [ebx + 0x3c], ecx
call fcn.10021a60
cmp eax, dword [edx + 0x11c]
je 0x1002530c
mov edi, 0x8876086c
mov dword [ebp - 0x4c], edi
jmp 0x10025aa1
mov eax, dword [ebx + 0x34]
test edi, edi
je 0x10025524
cmp eax, 1
jb 0x10025322
cmp dword [ebx + 0x38], 1
jae 0x1002534f
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x4c]
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x10025653
cmp dword [ebx + 0x34], 1
jae 0x10025343
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x34], eax
cmp dword [ebx + 0x38], 1
jae 0x1002534f
mov eax, dword [ebp - 8]
mov dword [ebx + 0x38], eax
mov edx, dword [ebx + 0x3c]
lea eax, [edx - 0x15]
cmp eax, 4
ja 0x10025653
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 [0x100ac510]
call edi
test eax, eax
jns 0x1002539f
mov edi, 0x8876086c
mov dword [ebp - 0x4c], edi
jmp 0x10025aa1
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x60], eax
cmp ebx, dword [eax + 0x22c]
jne 0x100254cb
mov edx, dword [eax + 0x230]
mov ecx, eax
mov dword [ebp - 0x50], edx
test edx, edx
je 0x100253e2
mov eax, dword [edx]
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x100ac510]
mov ecx, dword [ebp - 0x50]
call edi
mov eax, dword [ebp - 0x60]
mov dword [eax + 0x230], 0
mov ecx, dword [ebx + 0xc]
mov eax, dword [eax + 0x228]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x10025411
mov eax, dword [eax]
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x100ac510]
mov ecx, dword [ebp - 0x50]
call edi
mov eax, dword [ebp - 0x60]
mov dword [eax + 0x228], 0
mov ecx, dword [ebx + 0xc]
cmp dword [ebx + 0x24], 0
je 0x10025448
mov ecx, dword [ebx + 0xc]
push 0
mov ecx, dword [ecx + 0x3c]
call fcn.1002d3f0
mov ebx, dword [ebx + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 0x1bc]
mov ecx, edi
call dword [0x100ac510]
mov ecx, ebx
call edi
mov ebx, dword [ebp - 0x6c]
mov ecx, ebx
call fcn.10024fb0
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x234]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x10025477
mov eax, dword [eax]
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x100ac510]
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.1001e8f0
test eax, eax
je 0x10025493
mov edi, 0x88760868
mov dword [ebp - 0x4c], edi
jmp 0x10025aa1
lea ecx, [ebp - 0x68]
call fcn.10026f10
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x208]
call fcn.100176d0
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
js 0x10025a9e
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 0x100254e5
cmp dword [ebp + 0xc], 0
jne 0x100254e5
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x208]
call fcn.1001e440
lea ecx, [ebp - 0x68]
call fcn.10026f10
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]
push dword [ebx + 0x40]
push dword [ebx + 0x3c]
push dword [ebx + 0x38]
push dword [ebx + 0x34]
call fcn.10024370
mov edi, eax
mov dword [ebp - 0x4c], edi
jmp 0x1002593c
push dword [ebx + 0x3c]
mov ecx, ebx
push dword [ebx + 0x60]
push dword [ebx + 0x38]
push eax
call fcn.10026cc0
mov edi, dword [ebx + 0xc]
mov edx, eax
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x60], edx
cmp eax, dword [edi + 0x114]
jne 0x1002557c
mov ecx, dword [ebx + 0x38]
cmp ecx, dword [edi + 0x118]
jne 0x1002557c
mov eax, dword [ebx + 0x3c]
cmp eax, dword [edi + 0x11c]
jne 0x1002557c
mov eax, edi
mov ecx, edi
mov dword [ebp - 0x4c], eax
test edx, edx
je 0x10025767
mov dword [ebp - 0x4c], edi
cmp edx, dword [edi + 0x124]
je 0x10025767
mov eax, dword [edi + 0x1f0]
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x23c]
shl ecx, 6
mov edx, dword [ecx + eax + 0x150]
mov eax, dword [ecx + eax + 0x14c]
mov ecx, dword [ebx + 0x3c]
mov dword [ebp - 0x70], edx
xor edx, edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], edx
call fcn.10021a60
mov ecx, dword [ebp - 0x4c]
xor edi, edi
mov dword [ebp - 0x50], eax
test ecx, ecx
je 0x10025617
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x4c]
add ecx, 0xc
mov esi, dword [ebp - 0x50]
mov edx, dword [ebx + 0x34]
lea ebx, [ebx]
cmp dword [ecx - 0xc], edx
jne 0x10025606
mov eax, dword [ecx - 8]
cmp eax, dword [ebx + 0x38]
jne 0x10025603
cmp dword [ecx], esi
jne 0x10025603
mov edx, dword [ebx + 0x60]
test edx, edx
je 0x1002560e
mov eax, dword [ecx - 4]
cmp edx, eax
je 0x1002560e
cmp dword [ebp - 0x54], eax
ja 0x10025600
cmp edx, eax
mov edx, dword [ebx + 0x34]
jbe 0x10025603
mov dword [ebp - 0x54], eax
jmp 0x10025603
mov edx, dword [ebx + 0x34]
mov eax, dword [ebp - 0x4c]
inc edi
add ecx, 0x10
cmp edi, eax
jb 0x100255d0
mov esi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x4c]
cmp edi, ecx
jne 0x10025622
test edx, edx
je 0x10025653
mov dword [ebx + 0x60], edx
mov ecx, dword [ebx + 0xc]
push 0
push dword [ebx + 0x3c]
mov eax, dword [ecx + 0x23c]
push dword [ebp - 0x50]
push dword [ecx + 0x238]
mov edi, dword [eax]
push dword [ecx + 0x1f0]
push eax
mov edi, dword [edi + 0x24]
mov ecx, edi
call dword [0x100ac510]
call edi
test eax, eax
jns 0x10025660
mov edi, 0x8876086c
mov dword [ebp - 0x4c], edi
jmp 0x10025aa1
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 0x100256c9
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push eax
call dword [sym.imp.dwmapi.dll_DwmIsCompositionEnabled]
cmp dword [ebp - 0x50], 0
je 0x100256c9
push dword [ebx + 0x1ac]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
je 0x100256c9
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 [0x100ac510]
call edi
cmp dword [ebp - 0x54], 0
je 0x100256f7
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 0x10025aa1
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x1f0]
mov edx, dword [ecx + 0x23c]
lea eax, [eax + eax*8]
shl eax, 6
cmp dword [ecx + 0x238], 3
mov ebx, dword [eax + edx + 0x258]
mov edi, dword [eax + edx + 0x254]
mov eax, dword [eax + edx + 0x154]
mov dword [ebp - 0x58], ebx
jne 0x10025743
mov edx, dword [edx + 0x3450]
jmp 0x10025745
xor edx, edx
push edi
push dword [ebp - 0x58]
add ecx, 0x40
push eax
call fcn.1001efd0
mov ebx, dword [ebp - 0x6c]
add esp, 0xc
mov dword [ebp - 0x54], 1
mov eax, dword [ebx + 0xc]
mov ecx, eax
mov dword [ebp - 0x4c], eax
mov edx, dword [eax + 0x230]
mov dword [ebp - 0x58], edx
test edx, edx
je 0x10025796
mov eax, dword [edx]
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x100ac510]
mov ecx, dword [ebp - 0x58]
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 - 0x58], eax
test eax, eax
je 0x100257c5
mov eax, dword [eax]
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x100ac510]
mov ecx, dword [ebp - 0x58]
call edi
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x228], 0
mov ecx, dword [ebx + 0xc]
cmp dword [ebx + 0x24], 0
je 0x100257fc
mov ecx, dword [ebx + 0xc]
push 0
mov ecx, dword [ecx + 0x3c]
call fcn.1002d3f0
mov ebx, dword [ebx + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 0x1bc]
mov ecx, edi
call dword [0x100ac510]
mov ecx, ebx
call edi
mov ebx, dword [ebp - 0x6c]
mov ecx, ebx
call fcn.10024fb0
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x234]
mov dword [ebp - 0x58], eax
test eax, eax
je 0x1002582b
mov eax, dword [eax]
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x100ac510]
mov ecx, dword [ebp - 0x58]
call edi
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x234], 0
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x208]
call fcn.1001e8f0
test eax, eax
je 0x10025847
mov edi, 0x88760868
mov dword [ebp - 0x4c], edi
jmp 0x10025aa1
lea ecx, [ebp - 0x68]
call fcn.10026f10
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x208]
call fcn.100176d0
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
js 0x10025a9e
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 0x10025893
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x208]
call fcn.1001e440
cmp dword [0x100a75a4], 0
je 0x100258b6
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.10016540
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]
push dword [ebx + 0x64]
push dword [ebx + 0x40]
push dword [ebx + 0x3c]
push dword [ebx + 0x38]
push dword [ebx + 0x34]
call fcn.10024700
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
js 0x10025906
cmp dword [ebx + 0x1b0], 0
je 0x100258ff
mov ecx, ebx
call fcn.10026c00
mov ecx, ebx
call fcn.10022740
mov ecx, dword [ebx + 0xc]
lea ecx, [ecx + 0x1d0]
call fcn.10020110
mov ecx, eax
call fcn.10029780
cmp dword [ebx + 0x1bc], 0
je 0x1002593c
test edi, edi
js 0x10025a9e
lea eax, [ebx + 0x1c0]
mov ecx, ebx
push eax
push 0
call fcn.100268c0
test edi, edi
js 0x10025a9e
push 0xa0
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
je 0x10025a7b
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 - 0x58], 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 0x10025a7d
mov eax, dword [edx + 0x23c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x100ac510]
call esi
cmp eax, 1
jbe 0x10025a76
mov edx, dword [ebp - 0x58]
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 [0x100ac510]
call esi
mov dword [ebp - 0x58], eax
test eax, eax
je 0x10025a76
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 0x28
call fcn.1001fcd0
mov esi, dword [0x100a75b4]
test esi, esi
je 0x10025a65
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
push dword [ebp - 0x58]
call dword [0x100ac510]
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 0x10025a7d
mov ecx, dword [ebp - 0x64]
jmp 0x10025a7d
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 0x10025aee
mov ecx, dword [esi + 0x90]
test ecx, ecx
je 0x10025ada
test dword [esi + 0x8c], 0x100
jne 0x10025ada
mov eax, dword [esi]
mov edi, dword [0x100a7504]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x58], ecx
mov ecx, edi
push eax
call dword [0x100ac510]
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.1009ebb0
mov esp, ebp
pop ebp
ret 8