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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x100a70b4]
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 0x100247e7
cmp eax, 4
jle 0x100247ca
cmp eax, 0x40000000
jne 0x100247e7
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x1002480d
cmp eax, 3
je 0x100247db
cmp eax, 4
jne 0x100247ff
cmp ecx, 1
jbe 0x100247ff
mov dword [edx + 0xc], 1
mov eax, 0x8876086c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009fbf0
mov esp, ebp
pop ebp
ret 8
cmp ecx, 3
jbe 0x10024814
mov dword [edx + 0xc], 3
jmp 0x100247e7
mov dword [edx + 0xc], 1
cmp eax, 1
je 0x1002481f
cmp dword [edx + 0x10], 0
jne 0x100247e7
cmp eax, 0x40000000
jne 0x1002482c
cmp dword [edx + 0x1c], 0
je 0x100247e7
mov edi, dword [edx + 0x10]
test edi, edi
je 0x10024866
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 [0x100ad4e8]
call esi
test eax, eax
js 0x100247e7
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 0x100248a2
cmp dword [edx + 0x1c], 0
je 0x1002489b
cmp dword [edx + 0xc], 1
jne 0x1002489b
mov dword [ebx + 0x48], 3
jmp 0x100248a2
mov dword [ebx + 0x48], 2
cmp dword [ebx + 0x4c], 0
mov esi, dword [ebx + 0xc]
jne 0x100248b4
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 0x100248ea
mov ecx, ebx
call fcn.10026190
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
js 0x10025122
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x208]
call fcn.10017cb0
test eax, eax
je 0x1002495a
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.10026670
lea ecx, [edx + 0x40]
mov edx, eax
call fcn.1001e670
mov eax, dword [ebx + 0xc]
add esp, 0xc
cmp dword [eax + 0x208], 0
jne 0x1002495a
mov edi, 0x88760868
mov dword [ebp - 0x4c], edi
jmp 0x10025122
cmp dword [ebx + 0x50], 0
je 0x1002498d
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0xc]
test ecx, ecx
jne 0x10024973
mov ecx, dword [edx + 0x11c]
mov dword [ebx + 0x3c], ecx
call fcn.10020ec0
cmp eax, dword [edx + 0x11c]
je 0x1002498d
mov edi, 0x8876086c
mov dword [ebp - 0x4c], edi
jmp 0x10025122
cmp dword [ebx + 0x50], 0
lea edi, [ebx + 0x38]
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x58], edi
je 0x10024bb2
cmp eax, 1
jb 0x100249aa
cmp dword [edi], 1
jae 0x100249db
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x4c]
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x10024ceb
cmp dword [ebx + 0x34], 1
jae 0x100249cb
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x34], eax
cmp dword [edi], 1
mov dword [ebp - 0x58], edi
jae 0x100249db
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 0x10024ceb
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 [0x100ad4e8]
call edi
test eax, eax
jns 0x10024a2b
mov edi, 0x8876086c
mov dword [ebp - 0x4c], edi
jmp 0x10025122
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x4c], eax
cmp ebx, dword [eax + 0x22c]
jne 0x10024b57
mov edx, dword [eax + 0x230]
mov ecx, eax
mov dword [ebp - 0x50], edx
test edx, edx
je 0x10024a6e
mov eax, dword [edx]
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x100ad4e8]
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 0x10024a9d
mov eax, dword [eax]
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x100ad4e8]
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 0x10024ad4
mov ecx, dword [ebx + 0xc]
push 0
mov ecx, dword [ecx + 0x3c]
call fcn.1002cf10
mov ebx, dword [ebx + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 0x1bc]
mov ecx, edi
call dword [0x100ad4e8]
mov ecx, ebx
call edi
mov ebx, dword [ebp - 0x6c]
mov ecx, ebx
call fcn.100245d0
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x234]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x10024b03
mov eax, dword [eax]
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x100ad4e8]
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.1001df70
test eax, eax
je 0x10024b1f
mov edi, 0x88760868
mov dword [ebp - 0x4c], edi
jmp 0x10025122
lea ecx, [ebp - 0x68]
call fcn.10026600
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x208]
call fcn.10016fc0
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
js 0x1002511f
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 0x10024b71
cmp dword [ebp + 0xc], 0
jne 0x10024b71
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x208]
call fcn.1001dae0
lea ecx, [ebp - 0x68]
call fcn.10026600
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.10023960
mov edi, eax
mov dword [ebp - 0x4c], edi
jmp 0x10024fbd
push dword [ebx + 0x3c]
mov ecx, ebx
push dword [ebx + 0x60]
push dword [edi]
push eax
call fcn.100263b0
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 0x10024c0f
mov ecx, dword [edi]
cmp ecx, dword [edx + 0x118]
jne 0x10024c0f
mov eax, dword [ebx + 0x3c]
cmp eax, dword [edx + 0x11c]
jne 0x10024c0f
mov edi, dword [ebp - 0x50]
mov eax, edx
mov dword [ebp - 0x4c], eax
mov ecx, edx
test edi, edi
je 0x10024dea
mov dword [ebp - 0x4c], edx
cmp edi, dword [edx + 0x124]
je 0x10024dea
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.10020ec0
mov ecx, dword [ebp - 0x4c]
xor edi, edi
mov dword [ebp - 0x50], eax
test ecx, ecx
je 0x10024caf
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 0x10024c98
mov eax, dword [ecx - 8]
cmp eax, dword [esi + 4]
jne 0x10024c95
mov eax, dword [ebp - 0x50]
cmp dword [ecx], eax
jne 0x10024c95
mov edx, dword [esi + 0x2c]
test edx, edx
je 0x10024ca0
mov eax, dword [ecx - 4]
cmp edx, eax
je 0x10024ca0
cmp ebx, eax
ja 0x10024c92
cmp edx, eax
mov edx, dword [ebp - 0x58]
jbe 0x10024c95
mov ebx, eax
jmp 0x10024c95
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
inc edi
add ecx, 0x10
cmp edi, eax
jb 0x10024c61
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 0x10024cbd
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x10024ceb
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 [0x100ad4e8]
call edi
test eax, eax
jns 0x10024cf8
mov edi, 0x8876086c
mov dword [ebp - 0x4c], edi
jmp 0x10025122
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 0x10024d61
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push eax
call dword [sym.imp.dwmapi.dll_DwmIsCompositionEnabled]
cmp dword [ebp - 0x50], 0
je 0x10024d61
push dword [ebx + 0x1ac]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
je 0x10024d61
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 [0x100ad4e8]
call edi
cmp dword [ebp - 0x54], 0
je 0x10024d8f
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 0x10025122
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.10026670
lea ecx, [edx + 0x40]
mov edx, eax
call fcn.1001e670
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 0x10024e19
mov eax, dword [edx]
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x100ad4e8]
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 0x10024e48
mov eax, dword [eax]
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x100ad4e8]
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 0x10024e7f
mov ecx, dword [ebx + 0xc]
push 0
mov ecx, dword [ecx + 0x3c]
call fcn.1002cf10
mov ebx, dword [ebx + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 0x1bc]
mov ecx, edi
call dword [0x100ad4e8]
mov ecx, ebx
call edi
mov ebx, dword [ebp - 0x6c]
mov ecx, ebx
call fcn.100245d0
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x234]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x10024eae
mov eax, dword [eax]
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x100ad4e8]
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.1001df70
test eax, eax
je 0x10024eca
mov edi, 0x88760868
mov dword [ebp - 0x4c], edi
jmp 0x10025122
lea ecx, [ebp - 0x68]
call fcn.10026600
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x208]
call fcn.10016fc0
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
js 0x1002511f
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 0x10024f16
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x208]
call fcn.1001dae0
cmp dword [0x100a8564], 0
je 0x10024f39
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.10015ea0
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.10023d20
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
js 0x10024f87
cmp dword [ebx + 0x1b0], 0
je 0x10024f80
mov ecx, ebx
call fcn.100262f0
mov ecx, ebx
call fcn.10021b50
mov ecx, dword [ebx + 0xc]
lea ecx, [ecx + 0x1d0]
call fcn.1001f610
mov ecx, eax
call fcn.10029050
cmp dword [ebx + 0x1bc], 0
je 0x10024fbd
test edi, edi
js 0x1002511f
lea eax, [ebx + 0x1c0]
mov ecx, ebx
push eax
push 0
call fcn.10025f80
test edi, edi
js 0x1002511f
push 0xa0
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
je 0x100250fc
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 0x100250fe
mov eax, dword [edx + 0x23c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x100ad4e8]
call esi
cmp eax, 1
jbe 0x100250f7
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 [0x100ad4e8]
call esi
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x100250f7
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 0x28
call fcn.1001f1d0
mov esi, dword [0x100a8574]
test esi, esi
je 0x100250e6
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
push dword [ebp - 0x5c]
call dword [0x100ad4e8]
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 0x100250fe
mov ecx, dword [ebp - 0x64]
jmp 0x100250fe
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 0x10025163
mov ecx, dword [esi + 0x90]
test ecx, ecx
je 0x1002514f
mov eax, dword [esi]
mov edi, dword [0x100a84e8]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x5c], ecx
mov ecx, edi
push eax
call dword [0x100ad4e8]
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.1009fbf0
mov esp, ebp
pop ebp
ret 8